1
0
Fork 0
mirror of synced 2024-09-30 09:06:54 +13:00
Commit graph

98 commits

Author SHA1 Message Date
BlipRanger
c9c864b71b Update regex to be more concise, add test for m.youtube. 2021-04-18 16:44:51 +03:00
Serene
32c9d6184c Archiver is smarter for comments (#242)
* Add comment name generation to file name formatter

* Refactor to reduce duplication

* Refactor archive entry classes

* Refactor archiver class a bit

* Refactor method

* Fix comment retrieval

* Add comment-downloading to archiver

* Update test

* Update test
2021-04-18 16:44:51 +03:00
Ali Parlakci
75d74a5362 test_download_factory: remove outdated marks 2021-04-18 16:44:51 +03:00
Ali Parlakci
ab9dea0347 test_download_factory.py: hardcode submission links 2021-04-18 16:44:51 +03:00
Serene-Arc
7d69c9a7af Fix typos 2021-04-18 16:44:51 +03:00
Serene-Arc
a170356738 Use slice to shorten name 2021-04-18 16:44:51 +03:00
Ali Parlakci
0fe28deee9 file_name_formatter: added tests (#227) 2021-04-18 16:44:51 +03:00
Serene
3d2e11dc1d Add warning for non-unique file name schemes (#233)
* Add warning for non-unique file name schemes

* Update README with warning
2021-04-18 16:44:51 +03:00
Serene
44889d5264 Tweak regex to fix incorrect match (#237) 2021-04-18 16:44:51 +03:00
Serene-Arc
5d86c2d400 Update out-of-date tests 2021-04-18 16:44:51 +03:00
Ali Parlakçı
265505efc7 Fix missing links in self post footer (#235) 2021-04-18 16:44:51 +03:00
Serene-Arc
cbcbf400bb Add test for nonexistent key 2021-04-18 16:44:51 +03:00
Serene-Arc
8753fa0e45 Add additional test 2021-04-18 16:44:51 +03:00
Ali Parlakci
49b0fac7c7 Add necessary tests 2021-04-18 16:44:51 +03:00
Ali Parlakci
58150570a3 Tests added 2021-04-18 16:44:51 +03:00
Serene
f2946c0a87 Strip emojis from filenames on Windows (#222) 2021-04-18 16:44:51 +03:00
Serene
21e8f0f8b9 Add option to exclude submission IDs (#220)
* Add option to exclude submission IDs

* Update README

* Update logging message
2021-04-18 16:44:51 +03:00
Serene-Arc
56347da07e Fix test creating unwanted folders 2021-04-18 16:44:51 +03:00
Serene-Arc
3cb51e638b Preserve appended ID when shortening file names 2021-04-18 16:44:51 +03:00
Serene-Arc
1cb8240eb6 Remove incorrect test marks 2021-04-18 16:44:51 +03:00
Serene-Arc
79105f9f84 Fix typo 2021-04-18 16:44:51 +03:00
Serene-Arc
0007912ad5 Scrub windows paths for invalid characters 2021-04-18 16:44:51 +03:00
Serene-Arc
c13f2806fa Fix case where Gfycat fails after redirect 2021-04-18 16:44:51 +03:00
Serene-Arc
ba2ab25c2c Rename options 2021-04-18 16:44:34 +03:00
Serene-Arc
2b885451e7 Add ability to make hard links for duplicates 2021-04-18 16:44:34 +03:00
Serene-Arc
902f796178 Refactor Erome class 2021-04-18 16:44:34 +03:00
Serene-Arc
540b237da6 Fix Erome downloader 2021-04-18 16:44:34 +03:00
Serene-Arc
0929469bef Fix Gallery 2021-04-18 16:44:34 +03:00
Serene-Arc
a9028434c4 Generalise test 2021-04-18 16:44:34 +03:00
Serene-Arc
a54a1c6dfa Update GifDeliveryNetwork tests 2021-04-18 16:44:34 +03:00
Serene-Arc
423155a846 Add some more Gallery tests 2021-04-18 16:44:34 +03:00
Serene-Arc
ed26907e0d Refactor Gallery downloader 2021-04-18 16:44:34 +03:00
Serene-Arc
3e9a846e2e Refactor Reddit Gallery tests 2021-04-18 16:44:34 +03:00
Serene-Arc
29441e7244 Change Erome tests to valid links 2021-04-18 16:44:34 +03:00
Serene-Arc
3a093d0844 Add shortcut in download for certain errors 2021-04-18 16:44:34 +03:00
Serene-Arc
6aab009204 Update RedditDownloader tests 2021-04-18 16:44:34 +03:00
Serene-Arc
28b7deb6d3 Rename function 2021-04-18 16:44:34 +03:00
Serene-Arc
e042d985b5 Load default config from package directory 2021-04-18 16:44:34 +03:00
Serene-Arc
06261cc5cd Add some more integration tests 2021-04-18 16:44:34 +03:00
Serene-Arc
b08c31a1db Add integration tests for archiver 2021-04-18 16:44:20 +03:00
Serene-Arc
c2d3cfd50f Add more tests for file name formatter 2021-04-18 16:44:20 +03:00
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
b8faffaf1f Add a couple more integration tests 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
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