1
0
Fork 0
mirror of synced 2024-10-02 01:57:20 +13:00
Commit graph

13 commits

Author SHA1 Message Date
OMEGARAZER
a3b9e78f53
Update tests
Seems the thumbs subdomain was changed for these cases.
2023-02-17 15:17:25 -05:00
Serene
0051877e01
Merge pull request #769 from OMEGARAZER/gfycat-api 2023-02-12 11:45:25 +10:00
Serene
e5b184ef9a
Merge pull request #762 from OMEGARAZER/pyupgrade-lint 2023-02-12 11:45:00 +10:00
OMEGARAZER
0e28c7ed7c
Gfycat API
Moves Gfycat to use API via site access key.

Adds cachetools as dependency to reuse API keys for Gfycat/Redgifs at 95% of their TTL. Include tests to verify caching.

Updates versions of requests/yt-dlp/black/isort/pytest.

Added default timeout to requests calls.

Adds validate-pyproject and blacken-docs to pre-commit as well as updates versions.
2023-02-11 15:23:08 -05:00
Soulsuck24
0e23dcb8ad
Gfycat/Redgifs coverage
Coverage for direct gfycat links that redirect to redgifs. The redirect through the sites themselves are broken but this fixes that.

Coverage for o.imgur links and incorrect capitalisation of domains in download_factory.

Changed tests for direct as gfycat is handled by the gfycat downloader.

fix pornhub test as the previous video was removed.
2023-01-30 14:52:08 -05:00
OMEGARAZER
247ea5ddd0
UP009 2023-01-28 23:56:23 -05:00
OMEGARAZER
83f45e7f60
Standardize shebang and coding declaration
Standardizes shebang and coding declarations.

Coding matches what's used by install tools such as pip(x).

Removes a few init files that were not needed.
2022-12-19 18:32:37 -05:00
Serene-Arc
0873a4a2b2 Format according to the black standard 2022-12-03 15:11:17 +10:00
Serene-Arc
7645319510 Fix gfycat after redgifs changes 2022-02-18 12:49:46 +10:00
Serene-Arc
3cdae99490 Implement callbacks for downloading 2021-07-27 13:39:49 +10:00
Serene-Arc
44453b1707 Update tests 2021-07-27 13:12:50 +10:00
alpbetgam
ef37712115 Fix error with old gfycat/redgifs urls 2021-05-16 19:15:36 +10:00
Ali Parlakci
1c4cfbb580 tests: move outside of the package 2021-04-21 08:29:14 +10:00
Renamed from bdfr/tests/site_downloaders/test_gfycat.py (Browse further)