Commit Graph

833 Commits (b8e7be225cf196d278e10f565f82fa759027731e)

Author SHA1 Message Date
Mike Fährmann 833dce141f
[fantia] add 'content_count' and 'content_num' metadata fields (#4627)
11 months ago
Mike Fährmann 2d41702762
[deviantart] implement '"group": "skip"' (#4630)
11 months ago
Mike Fährmann a9c3442d4e
[deviantart] add a couple 'deactivated account' test URLs
11 months ago
Mike Fährmann 2974b8e3c8
[moebooru] add 'metadata' option (#4646)
11 months ago
Mike Fährmann 67ba4ee842
[pp:exec] support more replacement fields for '--exec' (#4633)
12 months ago
Mike Fährmann 9a008523ac
[hentaifoundry] fix '.swf' file downloads (#4641)
12 months ago
Mike Fährmann 15f940819b
[newgrounds] support 'art-image' files (#4642)
12 months ago
Mike Fährmann efaab4fbfa
[twitter] fix crash due to missing 'source' (#4620)
12 months ago
Mike Fährmann 84fbbd96aa
[shimmie2] remove 'meme.museum'
12 months ago
Mike Fährmann 0b150d45db
[tests] add 'msg' arguments to assert statements
12 months ago
Mike Fährmann 27da3f2958
[tests] re-implement filtering by basecategory
12 months ago
Mike Fährmann c7bd9925d9
[tests] use fallback URLs for content tests (#3163)
12 months ago
Mike Fährmann b92645cd37
[bunkr] fix extraction (#4514, #4532, #4529, #4540)
12 months ago
Mike Fährmann bd3f7a5bbc
[tests] support one regex per URL for #pattern
12 months ago
Mike Fährmann 0c5d8b1505
[deviantart] re-add 'quality' option and 'intermediary' transform
1 year ago
Mike Fährmann dbd820d7c5
[tests] allow checking for exact URL results
1 year ago
Mike Fährmann 642998504d
[tests] support 'range()' for #count and metadata checks
1 year ago
Mike Fährmann 1e31fce37b
[pillowfort] support '/tagged/' URLs (#4570)
1 year ago
Mike Fährmann 1d2fd0b831
[pillowfort] extract 'b2_lg_url' media (#4570)
1 year ago
Mike Fährmann 50e2ebaff0
[danbooru] support 'donmai.moe' URLs
1 year ago
Mike Fährmann 918ba4f847
[redgifs] match gfycat image URLs (#4558)
1 year ago
Mike Fährmann 2cd801232b
fix --range causing crashes (#4557)
1 year ago
Mike Fährmann 27ec653991
fix bug in test_init and update example URLs
1 year ago
Mike Fährmann 24a1d46391
[mastodon] support '/@USER/following' URLs
1 year ago
Mike Fährmann ac00d47a16
update test/test_results.py
1 year ago
Mike Fährmann 65b6011cc5
update test/test_extractor.py
1 year ago
Mike Fährmann a833c244c8
add exported extractor results
1 year ago
Mike Fährmann 93a7a89cf6
[formatter] use value of last alternative (#4492)
1 year ago
Mike Fährmann f2de70f254
[gfycat] remove module
1 year ago
Mike Fährmann d319777a24
[tests] skip 'test_init_ytdl' on Python<3.6
1 year ago
Mike Fährmann 0ef1fcab20
[postprocessor] update 'finalize' events
1 year ago
Mike Fährmann d50c312ff0
prevent test failure when there's no 'ytdl' module (#4364)
1 year ago
Mike Fährmann 48ef062867
fix issues with 'Extractor.finalize()'
1 year ago
Mike Fährmann 255d08b79e
add test for 'Extractor.initialize()' (#4359)
1 year ago
Mike Fährmann a383eca7f6
decouple extractor initialization
1 year ago
Mike Fährmann f0203b7559
[postprocessor:python] add tests
1 year ago
Mike Fährmann d97b8c2fba
consistent cookie-related names
1 year ago
Mike Fährmann c5565f79f7
merge #4096: [danbooru] add support for booru.borvar.art instance
1 year ago
Mike Fährmann 63326e3168
[danbooru] add tests for booruvar
1 year ago
Mike Fährmann 5171d8975c
[E621] support 'e6ai.net' (#4320)
1 year ago
Mike Fährmann 7444fc125b
[gfycat] implement login support (#3770, #4271)
1 year ago
Mike Fährmann 25c5a6ffcb
no f-strings
1 year ago
Mike Fährmann ec64cbefeb
[postprocessor:exec] add tests
1 year ago
Mike Fährmann ce93c460a6
[formatter] implement 'H' conversion (#4164)
1 year ago
Mike Fährmann deff3b434d
[vipergirls] implement login support (#4166)
1 year ago
Mike Fährmann 69865dcc05
[formatter] implement slicing strings as bytes (#4087)
1 year ago
Mike Fährmann df11214281
[ytdl] improve --xff/--geo-bypass detection (#3989)
1 year ago
Mike Fährmann aa731c4298
[ytdl] run yt-dlp tests with latest code from master (#3989)
1 year ago
Mike Fährmann 43f4bd9faa
[ytdl] fix tests
1 year ago
Mike Fährmann 61a65d5bb9
[ytdl] fix crash due to --geo-bypass deprecation (#3975)
1 year ago
Mike Fährmann a96745368e
"fix" tests on Python 3.4 and 3.5
1 year ago
Mike Fährmann 3905f05f00
[postprocessor:metadata] support putting keys in quotes
1 year ago
Mike Fährmann 7459e4abce
[postprocessor:metadata] fix traversing more than 1 level deep
1 year ago
Mike Fährmann 2edcdee32f
[downloader:http] add MIME type and signature for .heic files
1 year ago
Mike Fährmann 082d55de16
fix circular reference detection for -K
2 years ago
Mike Fährmann 2ab66ad899
update -K output to include quotes around keys
2 years ago
Mike Fährmann fe41a2b159
[formatter] support putting keys in quotes
2 years ago
Mike Fährmann 46fdf46f21
[formatter] support loading an f-string from a template file
2 years ago
Mike Fährmann 1a4d4a799b
[formatter] support filesystem paths for \fM
2 years ago
Mike Fährmann 00f0233b28
[postprocessor:metadata] add 'skip' option (#3786)
2 years ago
Mike Fährmann 8f8b4de0e8
[ytdl] fix '--parse-metadata' (#3663)
2 years ago
Mike Fährmann 7610d9cf82
merge #3675: [pixiv] fix --write-tags for '"tags": "original"'
2 years ago
Mike Fährmann 83e7a25b6b
extend OAuth tests
2 years ago
Mike Fährmann d788e6c60c
implement 'globals' option
2 years ago
Mike Fährmann 56039d2456
add 'hash_md5' and 'hash_sha1' functions (#3679)
2 years ago
Mike Fährmann e1df7f73b1
[deviantart] add 'search' extractor
2 years ago
Gray Manley 38a6389e2c Fix lint.
2 years ago
Gray Manley 56cbae92ec Use more pythony naming.
2 years ago
Gray Manley 8e2ba4f32e Add test.
2 years ago
Mike Fährmann dd884b02ee
replace json.loads with direct calls to JSONDecoder.decode
2 years ago
Mike Fährmann b7337d810e
[postprocessor:metadata] add 'sort' and 'separators' options
2 years ago
Mike Fährmann 3436c6b117
[postprocessor:metadata] speed up JSON encoding
2 years ago
Mike Fährmann 925b467496
split e621 from danbooru module (#3425)
2 years ago
Mike Fährmann c2bc70593e
implement ability to load external extractor classes
2 years ago
ClosedPort22 b6706b373a
[downloader:http] add signature checks for some formats
2 years ago
Mike Fährmann 71d3143c35
fix bug in test_extractors.py
2 years ago
Mike Fährmann fa144f38ed
[ytdl} fix dfe4f00c for legacy yt-dlp
2 years ago
Mike Fährmann dfe4f00ca2
[ytdl] update for yt-dlp changes
2 years ago
Mike Fährmann d651d45239
implement specifying ranges in slice notation (#918, #2865)
2 years ago
Mike Fährmann 3616adfc75
implement '--range' with Python ranges
2 years ago
Mike Fährmann 1800bd7d14
allow '*-filter' options to be a list of expressions
2 years ago
Mike Fährmann 43c211f1a7
extend and rename util.CustomNone
2 years ago
Mike Fährmann 42481aed59
[formatter] implement 'S' format specifier (#3266)
2 years ago
Mike Fährmann 6e08ad26f7
update downloader tests
2 years ago
Mike Fährmann 05255f5be0
add 'default' argument to 'text.extr()'
2 years ago
Mike Fährmann 8124c16a50
split 'build_path' from 'set_filename' and 'set_extension'
2 years ago
Mike Fährmann eb33e6cf2d
add 'text.extr()'
2 years ago
Mike Fährmann 460095adca
update downloader tests
2 years ago
Mike Fährmann f037429fa4
attempt to improve '-K' output for lists
2 years ago
thatfuckingbird 062ef238a6
add support for aibooru (using danbooru extractor) (#3075)
2 years ago
Mike Fährmann b57015cf0a
[postprocessor:metadata] assume 'mode: custom' when format is set
2 years ago
enduser420 f7ba19a1c0
[nana] add 'nana' extractors (#2967)
2 years ago
Mike Fährmann b36125333f
[postprocessor:zip] implement 'files' option (#2872)
2 years ago
Mike Fährmann 67bad04dda
[formatter] add 'g' conversion to sluGify a string (#2410)
2 years ago
Mike Fährmann 6990ad0ba8
[formatter] do NOT apply :J to strings (#2833)
2 years ago
Mike Fährmann c0051d7d4c
fix test
2 years ago
Mike Fährmann dd3a6a9fd1
make 'enumerate_reversed()' work with generators (#2795)
2 years ago
Mike Fährmann 0c73914848
[postprocessor:metadata] implement 'mode: modify' (#2640)
2 years ago
Mike Fährmann f3de6b7a87
[postprocessor:metadata] implement 'mode: delete' (#2640)
2 years ago
Mike Fährmann 9704c04172
[postprocessor:zip] ensure target directory exists (#2758)
2 years ago
Mike Fährmann 74865adae5
implement 'format-separator' option (#2737)
2 years ago
bradenhilton 117eeefda0
[postprocessor:mtime] add 'value' option (#2739)
2 years ago
Mike Fährmann 90ae48c40c
[formatter] implement 'O' format specifier (#2736)
2 years ago
Mike Fährmann 04bed1eba3
[formatter] allow for custom "format" functions (#2721)
2 years ago
Mike Fährmann 54525d2e21
[formatter] implement slice operator as format specifier
2 years ago
Mike Fährmann 241e82e18d
[horne] add support for horne.red (#2700)
2 years ago
Mike Fährmann 42525cfe8d
fix '{…!j}' for otherwise non-serializable types (##2624)
2 years ago
Mike Fährmann 5b43faffed
[postprocessor:metadata] write to stdout by setting filename to "-"
2 years ago
Mike Fährmann 6ad39f2b68
add ytdl tests
2 years ago
Mike Fährmann 688d6553b4
replace calls to print() with stdout_write() (#2529)
2 years ago
Mike Fährmann f3408a9d92
implement string literals in replacement fields
2 years ago
Mike Fährmann c4b9f7bab8
update functions working with cookies.txt files
2 years ago
Mike Fährmann ca3a364db7
fix build_duration_func() (#2533)
2 years ago
Mike Fährmann 7fe54bab2a
attempt to fix some issues with 'contains()' (#2446)
2 years ago
Mike Fährmann d78a2c7163
re.escape() arguments for 'contains()' (#2446)
2 years ago
Mike Fährmann 413b77757b
implement 'contains()' (#2446)
3 years ago
Mike Fährmann e7b30866d0
[postprocessor:mtime] fix timestamps from datetime objects (#2307)
3 years ago
Mike Fährmann 29db716a63
implement 'datetime_to_timestamp()'
3 years ago
Mike Fährmann 8295bc6d97
fix loading/storing cookies without domain
3 years ago
Mike Fährmann 500a479026
fix a third(!) bug in _check_cookies() (#2372)
3 years ago
Mike Fährmann cf44aba333
[formatter] allow evaluating f-string literals
3 years ago
Mike Fährmann 94452761ed
fix cookies tests
3 years ago
Mike Fährmann bddcec49f1
implement 'text.root_from_url()'
3 years ago
Mike Fährmann f5b2b9333f
fix another bug in _check:cookies (#2160)
3 years ago
Mike Fährmann 563bd0ecf4
[danbooru] inherit from BaseExtractor
3 years ago
Mike Fährmann b5b4f5a168
use 'build_extractor_filter' in test_results.py
3 years ago
Mike Fährmann 64cf26eaf4
allow specifying sleep-* options as string
3 years ago
Mike Fährmann 010d65dcec
extend blacklist/whitelist syntax (#2025)
3 years ago
Mike Fährmann af6424f398
allow testing metadata in list elements
3 years ago
Mike Fährmann 3842cdcd8f
[formatter] implement 'D' format specifier
3 years ago
Mike Fährmann 2ab190ce08
add tests for special format strings
3 years ago
Mike Fährmann 46e17c5e61
support accessing the current local datetime in format strings
3 years ago
Mike Fährmann 38193dba46
support accessing environment variables in format strings (#1968)
3 years ago
Mike Fährmann f2d6b3e6b4
run tests without using 'nose'
3 years ago
Mike Fährmann 12fc646c53
fix filename formatting tests
3 years ago
Mike Fährmann e0bdacd932
[fappic] add 'image' extractor (closes #1898)
3 years ago
Mike Fährmann c22ff97743
remove 'unit' argument from 'util.format_value()'
3 years ago
Mike Fährmann cad85640de
move 'util.PathFormat' into its own 'path' module
3 years ago
Mike Fährmann 74145467dd
move 'util.Formatter' into its own 'formatter' module
3 years ago
Mike Fährmann 9377543162
[mastodon] add 'following' extractor (#1891)
3 years ago
Mike Fährmann bd845303ad
implement a way to shorten filenames with east-asian characters
3 years ago
Mike Fährmann 292fffc83c
add 'j' format string conversion
3 years ago
Mike Fährmann bb6a130942
automatically set required DDoS-GUARD cookies (#1779)
3 years ago
Mike Fährmann 2792ed6e4b
implement 'util.format_value()'
3 years ago
Mike Fährmann 9e42cd58ea
replace ChainPredicate class with 'functools.partial'
3 years ago
Mike Fährmann 36ac2197db
[ytdl] add extractor for sites supported by youtube-dl
3 years ago
Mike Fährmann 64240c8d42
[imagevenue] fix extraction
3 years ago
Mike Fährmann 0179581340
add 'T' format string conversion (#1646)
3 years ago
Mike Fährmann f74cf52e2b
[seisoparty] add 'user' and 'post' extractors (#1635)
3 years ago
Mike Fährmann 759735fb02
[kemonoparty] fix 'username' extraction (fixes #1652)
3 years ago
Mike Fährmann 07c8adbd8b
[mangadex] implement login with username & password (#1535)
3 years ago
Mike Fährmann 4a747a31a3
[postprocessor:metadata] handle dicts in mode;tags (fixes #1598)
3 years ago
Mike Fährmann 3cbbefd4ed
support 'filter' option for post processors (#1460)
3 years ago
Mike Fährmann 0abad8bc12
implement 'compile_expression()'
3 years ago
Mike Fährmann da6806a161
fix job tests for Python 3.4 and 3.5
3 years ago
Mike Fährmann 8fd8126117
fix ISO 639-1 code for Japanese
3 years ago
Mike Fährmann af9dba4684
add DataJob tests
3 years ago
Mike Fährmann adf4d661b3
use '_extractor' info in UrlJobs
3 years ago
Mike Fährmann 1eabfa5c7a
[pillowfort] implement login with username & password (#846)
3 years ago
Mike Fährmann 559462789d
add some tests for job.py
3 years ago
Mike Fährmann c5ca7905ce
add 'noop()' and 'identity()' functions
3 years ago
Mike Fährmann bc868e7bb8
consider apparently long extensions as part of the filename
3 years ago
Mike Fährmann bdfcc9c4b1
update extractor test results
3 years ago
Mike Fährmann 387fe415d5
unescape items in text.split_html()
4 years ago
Mike Fährmann 78fd63b8f0
remove 'text.clean_xml()'
4 years ago
Mike Fährmann 8553b218d9
replace calls to 'os.path.splitext()' with 'str.rpartition()'
4 years ago
Mike Fährmann bff71cde80
implement 'util.unique_squence()'
4 years ago
Mike Fährmann 5f1a6ff6fa
remove unneeded 'TRAVIS_SKIP' from test_results.py
4 years ago
Mike Fährmann 8821dceb79
use __import__() to dynamically load modules
4 years ago
Mike Fährmann 36bf76fa44
update 'oauth:mastodon:<instance>' code
4 years ago
Mike Fährmann 91308140ec
make 'generate_token()' compatible with Python 3.4
4 years ago
Mike Fährmann 780b6adb91
rename 'generate_csrf_token()' to just 'generate_token()'
4 years ago
Mike Fährmann 0fdaea00a3
[postprocessor:metadata] sanitize filenames
4 years ago
Mike Fährmann aac00a2024
add 'd' conversion for format strings
4 years ago
Mike Fährmann 912eea29bc
update extractor test results
4 years ago
Mike Fährmann 1f9121fecb
release version 1.16.0
4 years ago
Mike Fährmann b2c55f0a72
[sankaku] remove login support
4 years ago
Mike Fährmann 547107307e
fix 'Metadata' messages in result tests
4 years ago
Mike Fährmann 578dcf805c
[mangapanda] don't force https://
4 years ago
Mike Fährmann ca59bd691c
[postprocessor:metadata] add 'event' and 'filename' options
4 years ago
Mike Fährmann 9fffa9c343
rework post processor callbacks
4 years ago
Mike Fährmann 1e3dd7330e
merge SharedConfigMixin functionality into Extractor
4 years ago
Mike Fährmann e5438b8a29
release version 1.15.3
4 years ago
Mike Fährmann b9bfa4c675
update extractor test results
4 years ago
Mike Fährmann c3f01dc4e6
implement 'util.unique()'
4 years ago
Mike Fährmann d83b95fd28
[postprocessor:metadata] accept a string-list for 'content-format'
4 years ago
Mike Fährmann 350b1afe1c
speed up _list_classes() after iterating over all modules once
4 years ago
Mike Fährmann 18213dc5ba
release version 1.15.2
4 years ago
Mike Fährmann ec61696316
add 't' format string conversion (closes #1065)
4 years ago
Mike Fährmann 07432d6262
[seiga] fix flake8 and cookie test (#1063)
4 years ago
Mike Fährmann b8daabc3ca
[pinterest] implement login support (closes #1055)
4 years ago
kurumigi 7e0e872f4f
[seiga] Add metadata for single image downloads (#1063)
4 years ago
Mike Fährmann 844793847c
update extractor test results
4 years ago
Mike Fährmann c874071f5a
[kissmanga] remove module
4 years ago
Mike Fährmann 844502cad5
update extractor test results
4 years ago
Mike Fährmann 7cd383c0f9
update extractor test results
4 years ago
Mike Fährmann 65744a7a31
use alternative for all falsey values in format strings
4 years ago
Mike Fährmann f5b7ae01c1
update extractor test results
4 years ago
Mike Fährmann 392d022b04
implement 'config.accumulate()' (#994)
4 years ago
Mike Fährmann 3108e85b89
[worldthree] remove extractors
4 years ago
Mike Fährmann 3918b69677
remove 'extractor.blacklist' context manager
4 years ago
Mike Fährmann ac3036ef56
add 'filesize-min' and 'filesize-max' options (closes #780)
4 years ago
Mike Fährmann fd0685d9b5
[postprocessor:zip] defer zip file creation (fixes #968)
4 years ago
Mike Fährmann d50f3b333a
update extractor test results
4 years ago
Mike Fährmann e33293fdd8
[hentaihand] update to new site layout
4 years ago
Mike Fährmann 69e4871005
update extractor test results
4 years ago
Mike Fährmann 688bd046fc
release version 1.14.4
4 years ago
Mike Fährmann 422e69f187
skip external OAuth tests (closes #908)
4 years ago
Mike Fährmann 8dbf827649
[bobx] remove module
4 years ago
Mike Fährmann 87202b8d74
[inkbunny] add 'user' and 'post' extractors (#283)
4 years ago
Mike Fährmann 2ecf1efb16
update extractor test results
4 years ago
Mike Fährmann e62ebb4643
update CHANGELOG before building sdist and wheel packages
4 years ago
Mike Fährmann 0cac14c3bd
update extractor test results
4 years ago
Mike Fährmann 53cc498d9c
improve config lookup when there are multiple possible locations
4 years ago
Mike Fährmann d81a8e6544
[twitter] update tests
4 years ago
Mike Fährmann 37d71f6e09
strip microseconds in text.parse_datetime()
4 years ago
Mike Fährmann 6db7ed90cb
release version 1.14.1
4 years ago
Mike Fährmann 087e3184dc
use a non-twitter URL when testing snap creation
4 years ago
Mike Fährmann 7daef6ee70
update extractor test results
4 years ago
Mike Fährmann 3bad1579ee
update extractor test results
4 years ago
Mike Fährmann 45baa13615
update extractor test results
4 years ago
Mike Fährmann dfcf2a2c91
write OAuth token to cache by default (#616)
4 years ago
Mike Fährmann 6294e2c540
add 'text.ensure_http_scheme()'
4 years ago
Mike Fährmann ece73b5b2a
make 'path' and 'keywords' available in logging messages
4 years ago
Mike Fährmann 4b606b68e4
skip OAuth tests when server is unreachable
4 years ago
Mike Fährmann 8b60bd6a91
mock 'time()' in cache tests
4 years ago
Mike Fährmann 8f2c1da041
skip example config tests if files are not available (#730)
4 years ago
Mike Fährmann 5df8f2959b
insert local directory into PYTHONPATH when running tests
4 years ago
Mike Fährmann ff47641b13
test whether default/example config files contain valid JSON
4 years ago
Mike Fährmann d6facdee7b
[mastodon] add tests (#701)
4 years ago
Mike Fährmann fd438f0d78
update extractor test results
5 years ago
Mike Fährmann a0f4c295c0
add optional 'utcoffset' argument to 'parse_datetime()'
5 years ago
Mike Fährmann 406449b0d6
ensure keys for mastodon instances are available during tests
5 years ago
Mike Fährmann 9e7dfc0cfc
[myportfolio] fix extraction of galleries without title
5 years ago
Mike Fährmann 3b50c4f49d
add tests for "Extractors" in oauth.py (#670)
5 years ago
Mike Fährmann 04bd0472de
add tests for Extractor.wait()
5 years ago
Mike Fährmann 7499d71d02
[simplyhentai] ignore certificate errors in video test
5 years ago
Mike Fährmann 4203dc0bdc
[mangapark] fix metadata extraction
5 years ago
Mike Fährmann 77fda8190c
[35photo] simplify/remove tests for the 'genre' extractor
5 years ago
Mike Fährmann 32e36d8f02
[sexcom] replace tests
5 years ago
Mike Fährmann e0b0e8d62a
release version 1.13.2
5 years ago
Mike Fährmann a63a376ad2
[mangoxo] fix login
5 years ago
Mike Fährmann ebc70e87ce
[e621] update to new interface / API endpoints (closes #635)
5 years ago
Mike Fährmann 72122eb9b3
release version 1.13.1
5 years ago
Mike Fährmann ce5e2a58fe
[imgbb] update test results
5 years ago
Mike Fährmann 1d4a369ea2
update extractor test results
5 years ago
Mike Fährmann ec85bf90de
use context managers in cache.py & add tests
5 years ago
Mike Fährmann 4e361b3008
add tests for specific datetime values
5 years ago
Mike Fährmann 90e4c645ba
[formatter] allow multiple "special" format specifiers (#595)
5 years ago
Mike Fährmann 219c4cc78c
[formatter] allow for numeric list and string indices
5 years ago