1
0
Fork 0
mirror of synced 2024-08-04 21:01:17 +12:00
Commit graph

996 commits

Author SHA1 Message Date
Serene-Arc
9417e0cc04 Remove bad encapsulating try-except 2021-04-18 16:44:06 +03:00
Serene-Arc
4d91cf7c0f Shorten filenames that are too long 2021-04-18 16:44:06 +03:00
Serene-Arc
ba6cf42096 Add shortened Youtube links to downloader factory 2021-04-18 16:44:06 +03:00
Serene-Arc
ae0269e13b Add option to search for files pre-emptively 2021-04-18 16:44:06 +03:00
Serene-Arc
285d422c0e Add some more integration tests 2021-04-18 16:44:06 +03:00
Serene-Arc
af348a05dd Add some integration tests 2021-04-18 16:44:06 +03:00
Serene-Arc
2b9dc1b96c Allow subreddits and multireddits to fail individually 2021-04-18 16:44:06 +03:00
Serene-Arc
fc6e5872b2 Add log entry at end of program 2021-04-18 16:44:06 +03:00
Serene-Arc
6657f0803d Fix bug with users in un-authenticated sessions 2021-04-18 16:44:06 +03:00
Serene-Arc
3e18997652 Move logfiles into configuration directory on OS 2021-04-18 16:44:06 +03:00
Serene-Arc
6d6327a396 Add function to calculate all existing file hashes if wanted 2021-04-18 16:44:06 +03:00
Serene-Arc
f941161014 Add much more logging 2021-04-18 16:44:06 +03:00
Serene-Arc
312769cb66 Remove unused file 2021-04-18 16:44:06 +03:00
Serene-Arc
f7989ca518 Add method to sanitise subreddit inputs 2021-04-18 16:44:06 +03:00
Serene-Arc
d3c8897f6a Fix bug where file extension is never specified for text posts 2021-04-18 16:44:05 +03:00
Serene-Arc
945116063f Allow for ID or URL to be provided for submissions 2021-04-18 16:44:05 +03:00
Serene-Arc
3703d2b9b9 Load config from arguments first 2021-04-18 16:44:05 +03:00
Serene-Arc
50531c7b3e Switch from argparse to click 2021-04-18 16:44:05 +03:00
Serene-Arc
dd522c18d4 Add missing options to Configuration 2021-04-18 16:44:05 +03:00
Serene-Arc
f8347e2d31 Add function to process click contexts for config 2021-04-18 16:44:05 +03:00
Serene-Arc
27a8b497a8 Add click to requirements 2021-04-18 16:44:05 +03:00
Serene-Arc
271c0b989d Abstract configuration into class 2021-04-18 16:44:05 +03:00
Serene-Arc
92386000d8 Implement missed test 2021-04-18 16:44:05 +03:00
Serene-Arc
48233fad36 Update tests with new valid links 2021-04-18 16:44:05 +03:00
Serene-Arc
1046bcdf69 Add last few tests for RedditDownloader 2021-04-18 16:44:05 +03:00
Serene-Arc
d78c4ca78e Add indexing for multiple resources from one submission 2021-04-18 16:44:05 +03:00
Serene-Arc
eca5da7f46 Add test for resource 2021-04-18 16:44:05 +03:00
Serene-Arc
25f70463f3 Allow for single root folder 2021-04-18 16:44:05 +03:00
Serene-Arc
839b6f50a9 Update regex for finding extension 2021-04-18 16:44:05 +03:00
Serene-Arc
a471629287 Convert some strings to f-strings 2021-04-18 16:44:05 +03:00
Serene-Arc
09e42ff5f9 Add some more tests for downloader 2021-04-18 16:44:05 +03:00
Serene-Arc
d2cc3e8b6a Add authenticated Reddit instance fixture 2021-04-18 16:44:05 +03:00
Serene-Arc
f138b9210e Add another mark 2021-04-18 16:44:05 +03:00
Serene-Arc
14b63487bc Immediately write token to disk in case it is unused 2021-04-18 16:44:05 +03:00
Serene-Arc
cfd92a8d14 Add some logging output 2021-04-18 16:44:05 +03:00
Serene-Arc
1f62a7ccd6 Fix function return 2021-04-18 16:44:05 +03:00
Serene-Arc
d8a767e8da Fix option default 2021-04-18 16:44:05 +03:00
Serene-Arc
933be21392 Update tests 2021-04-18 16:44:05 +03:00
Serene-Arc
afe618916b Make sure refresh token is always written to file 2021-04-18 16:44:05 +03:00
Serene-Arc
326eb484cc Add file to gitignore 2021-04-18 16:44:05 +03:00
Serene-Arc
db6c64d0ab Fix some tests 2021-04-18 16:44:05 +03:00
Serene-Arc
7d30af3559 Add empty authenticator 2021-04-18 16:44:05 +03:00
Serene-Arc
735833503f Fix wrong if condition 2021-04-18 16:44:05 +03:00
Serene-Arc
862121cac6 Fix OAuth2 2021-04-18 16:44:05 +03:00
Serene-Arc
36f516e3f0 Re-implement OAuth2 2021-04-18 16:44:05 +03:00
Serene-Arc
95876b3400 Fix typing 2021-04-18 16:44:05 +03:00
Serene-Arc
7c2b7b0e83 Move scope regex parsing 2021-04-18 16:44:05 +03:00
Serene-Arc
dd1831b0ea Remove unimplemented test 2021-04-18 16:44:05 +03:00
Serene-Arc
33f4947456 Add default scopes to configuration file 2021-04-18 16:44:05 +03:00
Serene-Arc
cf1029de80 Fix error with verbose argument settings 2021-04-18 16:44:05 +03:00