Commit Graph

506 Commits

Author SHA1 Message Date
Serene-Arc
1bf1db707c Add XML and YAML to archiver 2021-04-18 16:44:20 +03:00
Serene-Arc
959b55a939 Add beginning of archiver 2021-04-18 16:44:20 +03:00
Serene-Arc
a93813ca45 Fix some wrong pytest marks 2021-04-18 16:44:20 +03:00
Serene-Arc
8e3e5a62d9 Start rewrite of README 2021-04-18 16:44:20 +03:00
Serene-Arc
1b191e7a0e Add logging entry 2021-04-18 16:44:06 +03:00
Serene-Arc
b8faffaf1f Add a couple more integration tests 2021-04-18 16:44:06 +03:00
Serene-Arc
56966ea6b4 Fix bug where user is deleted 2021-04-18 16:44:06 +03:00
Serene-Arc
36b6aafbc1 Limit name byte length 2021-04-18 16:44:06 +03:00
Serene-Arc
f9809caa42 Fix typo 2021-04-18 16:44:06 +03:00
Serene-Arc
d977595bde Add error catch for youtube and site downloaders 2021-04-18 16:44:06 +03:00
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