Commit Graph

  • af348a05dd Add some integration tests Serene-Arc 2021-03-11 17:21:05 +10:00
  • 2b9dc1b96c Allow subreddits and multireddits to fail individually Serene-Arc 2021-03-11 17:18:21 +10:00
  • fc6e5872b2 Add log entry at end of program Serene-Arc 2021-03-11 15:40:46 +10:00
  • 6657f0803d Fix bug with users in un-authenticated sessions Serene-Arc 2021-03-11 15:39:52 +10:00
  • 3e18997652 Move logfiles into configuration directory on OS Serene-Arc 2021-03-11 15:25:44 +10:00
  • 6d6327a396 Add function to calculate all existing file hashes if wanted Serene-Arc 2021-03-11 14:18:48 +10:00
  • f941161014 Add much more logging Serene-Arc 2021-03-11 13:20:39 +10:00
  • 312769cb66 Remove unused file Serene-Arc 2021-03-11 13:14:36 +10:00
  • f7989ca518 Add method to sanitise subreddit inputs Serene-Arc 2021-03-11 12:25:21 +10:00
  • d3c8897f6a Fix bug where file extension is never specified for text posts Serene-Arc 2021-03-11 11:38:21 +10:00
  • 945116063f Allow for ID or URL to be provided for submissions Serene-Arc 2021-03-11 11:26:10 +10:00
  • 3703d2b9b9 Load config from arguments first Serene-Arc 2021-03-11 11:21:50 +10:00
  • 50531c7b3e Switch from argparse to click Serene-Arc 2021-03-11 11:20:59 +10:00
  • dd522c18d4 Add missing options to Configuration Serene-Arc 2021-03-11 11:20:21 +10:00
  • f8347e2d31 Add function to process click contexts for config Serene-Arc 2021-03-11 10:43:26 +10:00
  • 27a8b497a8 Add click to requirements Serene-Arc 2021-03-10 22:26:38 +10:00
  • 271c0b989d Abstract configuration into class Serene-Arc 2021-03-10 21:47:57 +10:00
  • 92386000d8 Implement missed test Serene-Arc 2021-03-10 21:47:46 +10:00
  • 48233fad36 Update tests with new valid links Serene-Arc 2021-03-10 21:10:20 +10:00
  • 1046bcdf69 Add last few tests for RedditDownloader Serene-Arc 2021-03-10 16:50:19 +10:00
  • d78c4ca78e Add indexing for multiple resources from one submission Serene-Arc 2021-03-10 14:39:01 +10:00
  • eca5da7f46 Add test for resource Serene-Arc 2021-03-10 14:09:27 +10:00
  • 25f70463f3 Allow for single root folder Serene-Arc 2021-03-10 14:08:42 +10:00
  • 839b6f50a9 Update regex for finding extension Serene-Arc 2021-03-10 14:07:59 +10:00
  • a471629287 Convert some strings to f-strings Serene-Arc 2021-03-10 11:08:24 +10:00
  • 09e42ff5f9 Add some more tests for downloader Serene-Arc 2021-03-10 11:06:50 +10:00
  • d2cc3e8b6a Add authenticated Reddit instance fixture Serene-Arc 2021-03-10 09:41:46 +10:00
  • f138b9210e Add another mark Serene-Arc 2021-03-10 08:43:15 +10:00
  • 14b63487bc Immediately write token to disk in case it is unused Serene-Arc 2021-03-09 19:51:48 +10:00
  • cfd92a8d14 Add some logging output Serene-Arc 2021-03-09 19:45:26 +10:00
  • 1f62a7ccd6 Fix function return Serene-Arc 2021-03-09 19:36:32 +10:00
  • d8a767e8da Fix option default Serene-Arc 2021-03-09 19:36:12 +10:00
  • 933be21392 Update tests Serene-Arc 2021-03-09 19:32:51 +10:00
  • afe618916b Make sure refresh token is always written to file Serene-Arc 2021-03-09 19:20:15 +10:00
  • 326eb484cc Add file to gitignore Serene-Arc 2021-03-09 19:19:14 +10:00
  • db6c64d0ab Fix some tests Serene-Arc 2021-03-09 16:05:09 +10:00
  • 7d30af3559 Add empty authenticator Serene-Arc 2021-03-09 15:51:06 +10:00
  • 735833503f Fix wrong if condition Serene-Arc 2021-03-08 12:52:53 +10:00
  • 862121cac6 Fix OAuth2 Serene-Arc 2021-03-08 12:46:32 +10:00
  • 36f516e3f0 Re-implement OAuth2 Serene-Arc 2021-03-08 12:35:34 +10:00
  • 95876b3400 Fix typing Serene-Arc 2021-03-08 12:34:52 +10:00
  • 7c2b7b0e83 Move scope regex parsing Serene-Arc 2021-03-08 12:34:03 +10:00
  • dd1831b0ea Remove unimplemented test Serene-Arc 2021-03-08 12:33:11 +10:00
  • 33f4947456 Add default scopes to configuration file Serene-Arc 2021-03-08 12:32:30 +10:00
  • cf1029de80 Fix error with verbose argument settings Serene-Arc 2021-03-08 12:32:08 +10:00
  • 1422591bf4 Change quotes Serene-Arc 2021-03-08 12:09:39 +10:00
  • 5a2e045c77 Add OAuth2 class Serene-Arc 2021-03-08 11:37:01 +10:00
  • aeb9afdc66 Rename file with custom exceptions Serene-Arc 2021-03-05 13:32:24 +10:00
  • b705c31630 Add some more tests for RedditDownloader Serene-Arc 2021-03-05 13:31:40 +10:00
  • 6f86dbd552 Add error Serene-Arc 2021-03-05 13:30:17 +10:00
  • 5e914b5234 Re-add missing argument Serene-Arc 2021-03-05 13:29:57 +10:00
  • ac08a639ba Tighten exception block Serene-Arc 2021-03-04 09:14:43 +10:00
  • 9e6ec9f1ca Add some tests for RedditDownloader Serene-Arc 2021-03-03 12:53:53 +10:00
  • ea42471932 Add function to validate formatting strings Serene-Arc 2021-03-02 14:06:21 +10:00
  • c01fc39671 Update arguments Serene-Arc 2021-03-01 16:41:31 +10:00
  • 7b33ec07fd Add test for Vreddit Serene-Arc 2021-03-01 14:53:07 +10:00
  • 2dce3108a1 Base Vreddit class on Youtube downloader Serene-Arc 2021-03-01 14:51:18 +10:00
  • ad3aeece07 Refactor Youtube downloader Serene-Arc 2021-03-01 14:50:31 +10:00
  • 62d99a9cad Add rest of tests for DownloadFactory Serene-Arc 2021-03-01 14:05:20 +10:00
  • d096580da7 Add some tests for DownloadFactory Serene-Arc 2021-03-01 09:51:44 +10:00
  • 62e104653d Add ffmpeg to requirements Serene-Arc 2021-02-28 21:54:45 +10:00
  • caefb591dd Add tests for Youtube Serene-Arc 2021-02-28 14:52:20 +10:00
  • be68d4eb1c Add tests for SelfPost Serene-Arc 2021-02-28 09:40:42 +10:00
  • b699639b5c Add tests for Imgur Serene-Arc 2021-02-27 16:22:42 +10:00
  • 125b78a348 Add tests for downloader Erome Serene-Arc 2021-02-27 10:35:43 +10:00
  • 2a0dd4f6ac Add slow mark for tests Serene-Arc 2021-02-27 09:26:02 +10:00
  • d1c0a7ece2 Add test for downloader Direct Serene-Arc 2021-02-27 08:30:52 +10:00
  • 06e7e81de0 Add tests for Redgifs Serene-Arc 2021-02-27 08:26:42 +10:00
  • 4146f181c7 Add tests for GifDeliveryNetwork and Gfycat Serene-Arc 2021-02-26 19:45:03 +10:00
  • a55f35c025 Replace urllib with requests Serene-Arc 2021-02-26 19:38:29 +10:00
  • 37a91aa4df Add test for Resource Serene-Arc 2021-02-26 19:23:45 +10:00
  • 0c6a8e46a2 Add reddit flag for pytest Serene-Arc 2021-02-26 19:19:12 +10:00
  • 0652f53b50 Mark online tests Serene-Arc 2021-02-26 19:09:25 +10:00
  • 6fd7aca981 Add a test for Resource Serene-Arc 2021-02-26 19:05:19 +10:00
  • 0973e1e451 Rename file and class Serene-Arc 2021-02-26 18:57:05 +10:00
  • 3bc305c037 Implement changes in downloader Serene-Arc 2021-02-26 18:56:21 +10:00
  • 228cd5f687 Change Resource model Serene-Arc 2021-02-26 18:56:05 +10:00
  • 28f5ea69c3 Add authenticator module Serene-Arc 2021-02-26 18:55:48 +10:00
  • e0d321c785 Integrate new base_downloader class Serene-Arc 2021-02-25 20:40:08 +10:00
  • a75e94e43e Restructure test fixtures Serene-Arc 2021-02-15 19:16:51 +10:00
  • ae5ed75226 Re-implement --link option Serene-Arc 2021-02-15 18:05:04 +10:00
  • bb85fb8934 Add test for site downloader gallery Serene-Arc 2021-02-15 17:45:41 +10:00
  • 1b40b16970 Add logging message Serene-Arc 2021-02-15 17:45:10 +10:00
  • efffc3ee3f Simplify errors Serene-Arc 2021-02-15 16:30:39 +10:00
  • dd2804eb97 Remove unused class Serene-Arc 2021-02-15 16:27:57 +10:00
  • 714b6c5b72 Remove unused parameter Serene-Arc 2021-02-15 15:12:27 +10:00
  • f71a3c5326 Fix wrong logic Serene-Arc 2021-02-15 13:56:14 +10:00
  • 289f7e7447 Fix bug with logging Serene-Arc 2021-02-15 13:56:02 +10:00
  • 8e54986357 Re-implement --limit option Serene-Arc 2021-02-15 13:55:33 +10:00
  • 866d94f37e Add gallery to factory Serene-Arc 2021-02-15 13:53:21 +10:00
  • 4bbe41a2f8 Re-implement --no-dupes flag Serene-Arc 2021-02-14 19:22:31 +10:00
  • eac2381a0a Re-implement --no-download flag Serene-Arc 2021-02-14 19:09:18 +10:00
  • 70a992d299 Move args to instance variable Serene-Arc 2021-02-14 19:04:20 +10:00
  • e646ae4a84 Add existence checking Serene-Arc 2021-02-14 18:52:04 +10:00
  • 722e6cb73a Add logging to file Serene-Arc 2021-02-14 15:52:11 +10:00
  • 64bc10f6aa Add ARCHITECTURE file Serene-Arc 2021-02-11 16:31:38 +10:00
  • 91ae9924c3 Add search functionality Serene-Arc 2021-02-11 16:31:28 +10:00
  • a7f1db14e5 Move to different program structure Serene-Arc 2021-02-11 09:10:40 +10:00
  • a72abd6603 Update requirements with appdirs Serene-Arc 2021-02-11 09:10:13 +10:00
  • c20fab2594 Add resource class Serene-Arc 2021-02-11 09:09:49 +10:00