Commit Graph

209 Commits (c83c812a1e2c279fb14ec2020c7b616e7d9ff908)

Author SHA1 Message Date
Mike Fährmann c9e6693530
allow specifying a minimum/maximum for 'sleep-*' options (#1835)
3 years ago
Mike Fährmann 292fffc83c
add 'j' format string conversion
3 years ago
Mike Fährmann d3eab417ed
implement a 'path-strip' option
3 years ago
Mike Fährmann 2792ed6e4b
implement 'util.format_value()'
3 years ago
Mike Fährmann 13d4045a8a
add 'archive-prefix' option (#1711)
3 years ago
Mike Fährmann 9e42cd58ea
replace ChainPredicate class with 'functools.partial'
3 years ago
Mike Fährmann 1b2f9050fb
rename all instances of 'kwds' to 'kwdict'
3 years ago
Mike Fährmann 0179581340
add 'T' format string conversion (#1646)
3 years ago
Mike Fährmann befe635022
cache parsed Formatter functions
3 years ago
Mike Fährmann 79b7ee2712
use 'functools.partial' in '_build_cleanfunc' when possible
3 years ago
Mike Fährmann ceaf7fd989
optimize 'base-directory' initialization and usage
3 years ago
Mike Fährmann 2ca011dfa8
add 'kwdict' argument to PathFormat.build_filename()
3 years ago
Mike Fährmann fd00d47116
implement conditional directories (#1394)
3 years ago
Mike Fährmann def0148582
restructure code in PathFormat constructor
3 years ago
Mike Fährmann 84d2e64024
combine conditional filenames into `filename` option (#1394)
3 years ago
Mike Fährmann 4cf40434d7
initial support for conditional filenames (#1394)
3 years ago
Mike Fährmann 0abad8bc12
implement 'compile_expression()'
3 years ago
Mike Fährmann 8fd8126117
fix ISO 639-1 code for Japanese
3 years ago
Mike Fährmann c5ca7905ce
add 'noop()' and 'identity()' functions
3 years ago
Mike Fährmann bff71cde80
implement 'util.unique_squence()'
4 years ago
Mike Fährmann 92071d02f4
fix crash when 'base-directory' is an empty string (#1339)
4 years ago
Mike Fährmann 970fc2b2b5
allow setting 'filename' & '(base-)directory' to default
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 79501a356f
fix crash when 'path-restrict' is an object/dict
4 years ago
Mike Fährmann 5d4494b15f
add "ascii" as a special 'path-restrict' value
4 years ago
Mike Fährmann 5818c928c4
refactor 'path-restrict' parsing
4 years ago
Mike Fährmann aac00a2024
add 'd' conversion for format strings
4 years ago
Mike Fährmann 511d8d3fa3
increase SQLite connection timeouts (#1173)
4 years ago
Mike Fährmann 9b1bd09454
change 'extension-map' default
4 years ago
Mike Fährmann e3480bc8de
implement 'extension-map' option (#318)
4 years ago
Mike Fährmann c3f01dc4e6
implement 'util.unique()'
4 years ago
Mike Fährmann de4a1e45c9
improve 'generate_csrf_token()'
4 years ago
Mike Fährmann ec61696316
add 't' format string conversion (closes #1065)
4 years ago
Mike Fährmann 1b1cf01d0d
add a general 'generate_csrf_token()' function
4 years ago
Mike Fährmann d5fa716d89
fix crash when using 'skip=false' and archive (fixes #1023)
4 years ago
Mike Fährmann 65744a7a31
use alternative for all falsey values in format strings
4 years ago
Mike Fährmann b5243297ff
write skipped files to archive (closes #550)
4 years ago
Mike Fährmann 4d8b3e4f70
defer directory creation (fixes #722)
4 years ago
Mike Fährmann 1ae1df0d27
update '--write-pages' (#737)
4 years ago
Mike Fährmann 1fcf938f9c
implement a general 'delete_items()' function
4 years ago
Mike Fährmann ddc253cf9a
implement a 'path-replace' option (#662, #755)
4 years ago
Mike Fährmann 15c3d29062
move dump_response() into a separate function (#737)
4 years ago
Mike Fährmann bc53302ad6
extend 'path-restrict' option
4 years ago
Mike Fährmann 3201fe3521
add global SENTINEL object
4 years ago
Mike Fährmann c8787647ed
add global WINDOWS bool
4 years ago
Mike Fährmann ece73b5b2a
make 'path' and 'keywords' available in logging messages
4 years ago
Mike Fährmann abbd8fbbd9
reset filenames on empty file extensions (#733)
4 years ago
Mike Fährmann 38bc6430d3
[downloader:http] don't overwrite existing '_mtime' fields
5 years ago
Mike Fährmann 9159cb8fb3
remove trailing dots and spaces from directory names (#647)
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
Mike Fährmann 7d1da614d9
[formatter] implement field name alternatives (#525)
5 years ago
Mike Fährmann 56f1c96168
implement 'parent-directory' option (#551)
5 years ago
Mike Fährmann 2a9be48511
improve util.load/save_cookiestxt() and add tests
5 years ago
Mike Fährmann c1a6862863
implement functions to load/save cookies.txt files (closes #586)
5 years ago
Mike Fährmann 760b9b4db4
add remove_file() and remove_directory() helpers
5 years ago
Mike Fährmann b2d542ad40
improve PathFormat._enum_file()
5 years ago
Mike Fährmann 025f6e3398
add fallback for missing WITHOUT ROWID support (#553)
5 years ago
Mike Fährmann 58391d492d
cache archive keys generated in __contains__() (#524)
5 years ago
Mike Fährmann 0f1538af78
split filename formatting into its own function
5 years ago
Mike Fährmann 3fc1e12949
[postprocessor:metadata] filter private entries
5 years ago
Mike Fährmann d5e3910270
adjust 'util.raises()'
5 years ago
Mike Fährmann c887493a80
overhaul exception stuff
5 years ago
Mike Fährmann 776e9e073f
close archive on job completion (#417)
5 years ago
Mike Fährmann 0ce98169b8
improve path generation
5 years ago
Mike Fährmann 3284c62f22
ensure PathFormat.directory ends with a path separator
5 years ago
Mike Fährmann e77a656437
optimize directory path generation
5 years ago
Mike Fährmann 454bf1ebf9
preserve enumeration index after 'set_extension()' (#306)
5 years ago
Mike Fährmann f5039b897f
replace DownloadArchive.check() with __contains__()
5 years ago
Mike Fährmann 5a210991b6
Remove control characters from filesystem paths
5 years ago
Mike Fährmann 0bb873757a
update PathFormat class
5 years ago
Mike Fährmann 8dc42bb178
implement 'enumerate' for 'extractor.skip' (#306)
5 years ago
Mike Fährmann b1bea8aaeb
add 'restrict-filenames' option (#348)
5 years ago
Mike Fährmann 7b77ecc35a
fix paths for files without extension (#220)
5 years ago
Mike Fährmann 16c582aaf9
implement 'mtime' post-processor (#332)
5 years ago
Mike Fährmann 40da44b17f
Merge branch 'v1.9.0'
5 years ago
Mike Fährmann 95b1e4c3c0
implement R<old>/<new>/ format option (#318)
5 years ago
Mike Fährmann f4ba98771d
use Last-Modified header to set file modification time
5 years ago
Mike Fährmann 523ebc9b0b
Fix serialization of 'datetime' objects in '--write-metadata'
5 years ago
Mike Fährmann 23baecb29e
fix 'CONVERSIONS' variable name
6 years ago
Mike Fährmann 105097ddcf
add 'S' conversion options for format string fields
6 years ago
Mike Fährmann 148b8f15d0
update tests for util.py
6 years ago
Mike Fährmann ae353ed3b0
provide "extractor" and "job" keys for logging output
6 years ago
Mike Fährmann 79c01ec7ae
implement J<separator>/ format option
6 years ago
Mike Fährmann c5d4f558c9
allow missing field access keys in format strings (#136)
6 years ago
Mike Fährmann d3d7f01543
add 'prepare()' step for post-processors
6 years ago
Mike Fährmann 6ed629f2b6
allow specifying number of skips before abort/exit (closes #115)
6 years ago
Mike Fährmann 48a8717a7c
add 'output.num-to-str' option
6 years ago
Mike Fährmann 0514d6a0ae
make --filter and --range config-file options
6 years ago
Mike Fährmann 590c0b3ad5
re-implement and improve filename formatter
6 years ago
Mike Fährmann c83fc62abc
prioritize archive over disk access (#87)
6 years ago
Mike Fährmann e0dd8dff5f
implement L<maxlen>/<replacement>/ format option
6 years ago
Mike Fährmann 8fe9056b16
implement string slicing for format strings
6 years ago
Mike Fährmann a9e276bc37
reset delete-flag
6 years ago
Mike Fährmann baccf8a958
improve postprocessor handling
6 years ago
Mike Fährmann 7646bdbcfd
improve postprocessor initialization code
6 years ago
Mike Fährmann 821535b458
adjust PathFormat class
6 years ago
Mike Fährmann 6a31ada9e3
re-implement OAuth1.0 code
6 years ago
Mike Fährmann 69a5e6ddb3
Merge branch 'master' into 1.4-dev
6 years ago