1
0
Fork 0
mirror of synced 2024-07-04 05:50:34 +12:00
Commit graph

81 commits

Author SHA1 Message Date
Soulsuck24 15a9d25a9d
Imgur webp coverage
update regex to catch _d in webp links from imgur.
2022-12-11 14:20:04 -05:00
Serene-Arc c4f636c388 Fix import formatting 2022-12-03 15:33:13 +10:00
Serene-Arc 0873a4a2b2 Format according to the black standard 2022-12-03 15:11:17 +10:00
OMEGARAZER 831f49daa6
Refurb linting
Lint with [refurb](https://github.com/dosisod/refurb) using `--disable 126 --python-version 3.9`
2022-11-30 17:19:02 -05:00
Soulsuck24 48c96beba2
Redgifs improvements
Add check to verify token was received.
Update headers sent to content API.

Add availability check for videos to resolve last part of #472 where only SD version is available.
2022-11-27 18:07:43 -05:00
OMEGARAZER dfc21295e3
Add Delay for Reddit support
Adds support for delayforreddit.com non-direct links.
2022-11-05 10:51:33 -04:00
Soulsuck24 0e90a2e900
Switch Redgifs to temporary tokens
Initial switch to temporary tokens for Redgifs. Gets a new auth token for every API request.
2022-10-24 12:45:26 -04:00
Soulsuck24 df30a3a3ac
Temp fix for Redgifs
TEMPORARY FIX.

I can't stress enough this is is temporary and will likely stop working at some point. It works for now though.
2022-10-18 15:38:53 -04:00
OMEGARAZER 02b6e66941
Imgur edge case coverage
Covers edge case of additional arguments on extension.

Also removed duplicate or redundant tests.
2022-09-28 00:55:10 -04:00
Serene-Arc 1dff7500e7 Remove duplicate entries 2022-09-20 17:33:44 +10:00
Serene 06816098dc
Merge branch 'development' into imgur 2022-09-20 17:28:48 +10:00
SoulSuck24 106d7596b1 Imgur updates
Update Imgur logic to cover malformed links that cause a redirect leading to the html of the page being saved as an image.
2022-09-18 23:27:17 -04:00
SoulSuck24 7bd957aafa Redo edge case coverage for Redgifs
Cover edge cases that shouldn't ever happen but probably will sometime.
2022-09-18 14:32:12 -04:00
SoulSuck24 d4f7deaa68 Revert "Edge case coverage"
This reverts commit 2f2b5b749c.
2022-09-18 14:30:43 -04:00
SoulSuck24 2f2b5b749c Edge case coverage
Cover edge cases that shouldn't ever happen but probably will sometime.

Also included Imgur changes to cover similar situations of malformed/redirected links.
2022-09-18 13:24:42 -04:00
SoulSuck24 95749584ec Redgifs fixed?
If this doesn't work then I give up...
2022-09-16 20:41:17 -04:00
SoulSuck24 0a9ecac410 Redgif image fixes 2022-09-16 14:47:55 -04:00
SoulSuck24 e0a36f4eab Re-fix Redgifs
API seems to return incorrect signature value when sending header. Other fixes seems to have worked temporarily but have stopped working so they're removed.
2022-09-12 22:26:02 -04:00
Serene-Arc d60b4e7fdd Fix Redgifs module 2022-09-01 11:19:07 +10:00
Serene-Arc 9277903308 Base VReddit class off of Youtube class 2022-07-15 15:18:28 +10:00
Serene-Arc 7d4eb47643 Rename class 2022-07-15 15:18:28 +10:00
Serene-Arc 12982c00cd Switch redgifs to dynamic file extensions 2022-07-15 15:18:28 +10:00
Serene-Arc f49a1d7a2d Fix gfycat after redgifs changes 2022-07-15 15:18:28 +10:00
Serene-Arc 90a2eac90d Add support for Redgifs images and galleries 2022-07-15 15:18:28 +10:00
BlipRanger d64acc25f5 Add tests, fix style. 2022-04-25 12:53:59 -04:00
BlipRanger dbd0c6cd42 Add support for v.reddit links. 2022-04-25 12:09:09 -04:00
Serene-Arc af0a545c16 Catch additional error in Gallery 2021-12-20 20:43:09 +10:00
Serene-Arc 36ff95de6b Add Patreon image support 2021-12-19 13:44:24 +10:00
Serene-Arc 8925643331 Rename module to reflect backend change 2021-11-24 10:40:18 +10:00
Serene-Arc 17939fe47c Fix bug with youtube class and children 2021-11-22 14:37:21 +10:00
Serene-Arc 53562f4873 Fix regex 2021-11-16 17:05:46 +03:00
OMEGARAZER f05e909008 Stop videos from being downloaded as images
Erroneous .gifv extensions such as .giff or .gift resolve to a static image and are downloaded by the direct downloader. (ex: https://i.imgur.com/OGeVuAe.giff  )
2021-11-16 17:05:46 +03:00
Serene-Arc 801784c46d Fix a crash when downloading a disabled pornhub video 2021-11-05 13:23:55 +10:00
Serene-Arc c6c6002ab2 Update Erome module 2021-10-02 17:50:20 +10:00
Serene-Arc eeb2054606 Switch to yt-dlp 2021-10-02 17:50:20 +10:00
Serene e004ccd148
Merge pull request #521 from Serene-Arc/bug_fix_518
Fix bug with different Vidble links
2021-09-14 13:48:26 +10:00
Serene-Arc 80baab8de7 Fix bug with different Vidble links 2021-09-14 13:47:46 +10:00
Eli Lipsitz 33312687ac imgur: download videos as mp4 instead of gif
Some imgur URLS have the extension ".gifv" and show up as a gif,
even though they're actually supposed to be mp4 videos. Imgur
serves all videos/gifs as both .gif and .mp4. The image dict has
a key "prefer_video" to distinguish the two. This commit
overrides the .gif extension if "prefer_video" is true to ensure
we download the submission as originally intended.
2021-09-12 17:30:25 -05:00
Serene-Arc aee6f4add9 Add Vidble to download factory 2021-09-11 12:15:35 +10:00
Serene-Arc 940d646d30 Add Vidble module 2021-09-11 12:13:21 +10:00
Serene-Arc 7bca303b1b Add in downloader parameters 2021-07-29 19:10:10 +10:00
Serene-Arc dbe8733fd4 Refactor method to remove max wait time 2021-07-27 14:02:30 +10:00
Serene-Arc 3cdae99490 Implement callbacks for downloading 2021-07-27 13:39:49 +10:00
Serene-Arc 77aaee96f3 Fix bug with deleted galleries 2021-07-19 18:44:54 +10:00
Serene-Arc d5ef991b3a Catch additional error in galleries 2021-07-02 15:11:09 +10:00
Serene-Arc aa55a92791 Remove unused local variables 2021-07-02 14:58:56 +10:00
Serene-Arc 6efcf1ce7e Remove unused imports 2021-07-02 14:58:20 +10:00
Serene-Arc 1319eeb6da Fix error with crossposted Reddit galleries 2021-07-02 14:53:02 +10:00
Serene-Arc d53b3b7274 Update gallery code to work with NSFW galleries 2021-06-25 17:52:11 +10:00
Serene-Arc e8998da2f0 Catch some Imgur errors with weird links 2021-06-25 17:52:11 +10:00