Commit Graph

172 Commits

Author SHA1 Message Date
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
2bbf1b644e Change logging message 2022-07-23 17:24:05 +10:00
Serene-Arc
f22a8aec4d Fix line length 2022-07-23 17:24:05 +10:00
Jacob Chapman
5d76fcd5aa Update downloader.py 2022-07-23 17:24:05 +10:00
Jacob Chapman
7eb2ab6d7d Update configuration.py 2022-07-23 17:24:05 +10:00
Jacob Chapman
9545407896 Update __main__.py 2022-07-23 17:24:05 +10:00
Jacob Chapman
4fc0d5dc1d Add score filtering 2022-07-23 17:24:05 +10:00
Serene-Arc
af3f98f59c Change logger message level 2022-07-22 15:45:38 +10:00
Serene-Arc
23e20e6ddc Rename variable 2022-07-22 15:45:09 +10:00
Serene-Arc
cb3415c62f Extract YAML function 2022-07-22 15:44:33 +10:00
Piotr Migdal
5f443fddff a better check for opts 2022-07-22 15:38:46 +10:00
Piotr Migdal
395bf9180a explicit warnings for non-exisitng args 2022-07-22 15:38:46 +10:00
Piotr Migdal
798ed728f5 yaml for options 2022-07-22 15:38:46 +10:00
Serene
8ab13b4480 Merge pull request #633 from chapmanjacobd/patch-3
fix: Redirect to /subreddits/search
2022-07-17 11:17:52 +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
8c59329ffa Add exclusion options to archiver 2022-07-15 15:18:28 +10:00
Serene-Arc
9f3dcece4d Strip any newline characters from names 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
e8d767050f Add file scheme naming for archiver 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
Serene-Arc
a620ae91a1 Add --subscribed option 2022-07-15 15:18:28 +10:00
Jacob Chapman
1ad2b68e03 fix: Redirect to /subreddits/search
```
  File "/home/xk/github/o/bulk-downloader-for-reddit/bdfr/connector.py", line 413, in check_subreddit_status
    assert subreddit.id
  File "/home/xk/.local/share/virtualenvs/bulk-downloader-for-reddit-dCAFmVJi/lib/python3.10/site-packages/praw/models/reddit/base.py", line 34, in __getattr__
    self._fetch()
  File "/home/xk/.local/share/virtualenvs/bulk-downloader-for-reddit-dCAFmVJi/lib/python3.10/site-packages/praw/models/reddit/subreddit.py", line 584, in _fetch
    data = self._fetch_data()
  File "/home/xk/.local/share/virtualenvs/bulk-downloader-for-reddit-dCAFmVJi/lib/python3.10/site-packages/praw/models/reddit/subreddit.py", line 581, in _fetch_data
    return self._reddit.request("GET", path, params)
  File "/home/xk/.local/share/virtualenvs/bulk-downloader-for-reddit-dCAFmVJi/lib/python3.10/site-packages/praw/reddit.py", line 885, in request
    return self._core.request(
  File "/home/xk/.local/share/virtualenvs/bulk-downloader-for-reddit-dCAFmVJi/lib/python3.10/site-packages/prawcore/sessions.py", line 330, in request
    return self._request_with_retries(
  File "/home/xk/.local/share/virtualenvs/bulk-downloader-for-reddit-dCAFmVJi/lib/python3.10/site-packages/prawcore/sessions.py", line 266, in _request_with_retries
    raise self.STATUS_EXCEPTIONS[response.status_code](response)
prawcore.exceptions.Redirect: Redirect to /subreddits/search
```
2022-04-28 19:44:17 -05: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
806bd76f87 Strip any newline characters from names 2022-03-25 10:50:52 +10:00
Serene-Arc
06988c40b3 Switch redgifs to dynamic file extensions 2022-02-20 15:48:02 +10:00
Serene-Arc
7645319510 Fix gfycat after redgifs changes 2022-02-18 12:49:46 +10:00
Serene-Arc
6e0c642652 Add file scheme naming for archiver 2022-02-18 12:30:38 +10:00
Serene-Arc
9deef63fdd Add support for Redgifs images and galleries 2022-02-18 12:04:37 +10:00
Serene-Arc
0177b434c2 Add --subscribed option 2022-02-18 10:21:52 +10: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
dbanon87
1530456cf7 Update downloader.py 2021-11-29 09:23:04 -05:00
dbanon87
9ccc9e6863 Update archiver.py 2021-11-29 09:22:21 -05:00
Serene-Arc
f670b347ae Add integration test for archiver option 2021-11-24 12:49:11 +10:00
Serene-Arc
d0d72c8229 Add integration test for downloader option 2021-11-24 12:49:11 +10:00
Jay R. Wren
2b50ee0724 add test. fix typos. 2021-11-24 12:49:11 +10:00
Jay R. Wren
dd8d74ee25 Add --ignore to ignore user 2021-11-24 12:49:11 +10:00
Serene-Arc
8925643331 Rename module to reflect backend change 2021-11-24 10:40:18 +10:00
Serene-Arc
2dd446a402 Fix max path length calculations 2021-11-22 14:37:21 +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
4be0f5ec19 Add more tests for file length checking 2021-11-15 11:57:54 +10:00