Commit Graph

23 Commits

Author SHA1 Message Date
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
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
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
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
06988c40b3 Switch redgifs to dynamic file extensions 2022-02-20 15:48:02 +10:00
Serene-Arc
9deef63fdd Add support for Redgifs images and galleries 2022-02-18 12:04:37 +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
6efcf1ce7e Remove unused imports 2021-07-02 14:58:20 +10:00
Serene-Arc
760e59e1f7 Invert inheritance direction 2021-04-28 19:08:31 +10:00
Serene-Arc
3c6e9f6ccf Refactor class 2021-04-28 19:08:31 +10:00
Ali Parlakci
e1a4ac063c (bug) redgifs: fix could not read page source 2021-04-28 19:08:31 +10:00
Serene-Arc
7fcbf623a0 Catch additional errors in site downloaders 2021-04-28 15:20:02 +10:00
Serene-Arc
f5d11107a7 Remove unused imports 2021-04-28 12:03:28 +10:00
Serene-Arc
bd9f276acc Rename module 2021-04-18 16:44:52 +03:00