Commit Graph

569 Commits (0dc7d954cb1492834cb07706624b497de4420e23)

Author SHA1 Message Date
mk-pmb be008e657d [core] Fix format string injection for metadata JSON filename message. 11 months ago
dirkf abef53466d [utils] Rework URL path munging for ., .. components
* move processing to YoutubeDLHandler
* also process `Location` header for redirect
* use tests from https://github.com/yt-dlp/yt-dlp/pull/7662
1 year ago
dirkf a25e9f3c84 [compat] Use `compat_open()` 1 year ago
Simon Sawicki 8334ec961b [core] Process header cookies on loading 1 year ago
dirkf d5ef405c5d [core] Align error reporting methods with yt-dlp 1 year ago
dirkf b6dff4073d [core] Revert version display from b8a86dc 1 year ago
dirkf f24bc9272e [Misc] Fixes for 2.6 compatibility 1 year ago
dirkf b8a86dcf1a [core] Revise 1f7c6f8 to help downstream merger (possibly) 1 year ago
dirkf 1f7c6f8b2b [core] Further improve platform debug log
* see d1c6c5c
1 year ago
dirkf d1c6c5c4d6 [core] Improve platform debug log, based on yt-dlp 1 year ago
Gabriel Nagy 735e87adfc
[core] Sanitize info dict before dumping JSON (fixes fe7e130) (#32032)
* follow up to fe7e130 which didn't fix everything.

Co-authored-by: dirkf <fieldhouse@gmx.net>
2 years ago
dirkf fe7e13066c [core] Add and use sanitize_info() method from yt-dlp 2 years ago
dirkf 213d1d91bf [core] No longer importing copy 2 years ago
dirkf f8253a5289 [core] Avoid deepcopy of ctx dict (fix f35b757) (Pt 2) 2 years ago
dirkf d6ae3b77cd [core] Avoid deepcopy of ctx dict (fix f35b757)
* may now contain `LazyList`s
* resolves #31999
2 years ago
dirkf e8de54bce5 [core] Handle `/../` sequences in HTTP URLs
* use Python's RFC implementation for embedded sequences
* hack: strip unbalanced leading `../` from path, like eg Firefox

See https://github.com/yt-dlp/yt-dlp/issues/3355
2 years ago
dirkf 66e58dccc2 [core] Avoid processing empty format list after removing bad formats
* also ensure compat encoding of error strings
2 years ago
dirkf e6a836d54c [core] Make `--max-downloads ...` stop immediately on reaching the limit
Based on and closes #26638.
2 years ago
pukkandan 0700fde640 [utils, etc] Kill child processes when yt-dl is killed
* derived from PR #26592, closes #26592

Authored by: Unrud
2 years ago
dirkf 49c5293014 Ignore --external-downloader-args if --external-downloader was rejected
... and generate warning
3 years ago
df 6508688e88 Make default upload_/release_date a compat_str
Ensures download tests pass in Python 2 as well as 3; also
add YoutubeDL tests for timestamp -> upload_date etc.
3 years ago
Jacob Chapman b797c1cc75
[YoutubeDL] Improve extract_info doc (#28946)
Co-authored-by: Sergey M. <dstftw@gmail.com>
4 years ago
Sergey M․ 477bff6906
Introduce release_timestamp meta field (refs #28386) 4 years ago
Sergey M․ 142c584063
Introduce --output-na-placeholder (closes #27896) 4 years ago
Sergey M․ 9c9b458145
[YoutubeDL] Protect from infinite recursion due to recursively nested playlists (closes #27833) 4 years ago
Aaron Zeng 8e5477d036
[YoutubeDL] Ignore failure to create existing directory (#27811) 4 years ago
Sergey M․ d81a213cfb
[YoutubeDL] Raise syntax error for format selection expressions with multiple + operators (closes #27803) 4 years ago
Remita Amine 9c1e164e0c [YoutubeDL] Allow format filtering using audio language(#16209) 4 years ago
compujo 4b9051cf39
[YoutubeDL] Improve thumbnails' filenames deducing (closes #26010) (#27244) 4 years ago
Sergey M․ 9585b376db
[YoutubeDL] Write static debug to stderr and respect quiet for dynamic debug (closes #14579, closes #22593)
TODO: logging and verbosity needs major refactoring (refs #10894)
4 years ago
Sergey M․ ab0eda99e1
[YoutubeDL] Fix --ignore-errors for playlists with generator-based entries of url_transparent (closes #27064) 4 years ago
Sergey M․ fca6dba8b8
[YoutubeDL] Force redirect URL to unicode on python 2 5 years ago
jxu de1121d749
[YoutubeDL] Fix playlist entry indexing with --playlist-items (closes #10591, closes #10622) 5 years ago
Sergey M․ 824fa51165
[utils] Improve subtitles_filename (closes #22753) 5 years ago
Sergey M․ d06daf23da
[YoutubeDL] Honour all --get-* options with --flat-playlist (closes #22493) 5 years ago
Remita Amine ffddb11264 [YoutubeDL] check annotations availabilty(closes #18582) 5 years ago
Sergey M․ 3089bc748c
Fix W504 and disable W503 (closes #20863) 6 years ago
Sergey M․ c0b7d11713
[YoutubeDL] Add ffmpeg_location to post processor options (closes #20532) 6 years ago
Sergey M․ 067aa17edf
Start moving to ytdl-org 6 years ago
Sergey M․ 1211bb6dac
[YoutubeDL] Improve _make_archive_id (closes #19149) 6 years ago
Sergey M․ e9fef7ee4e
[YoutubeDL] Fallback to ie_key of matching extractor while making download archive id when no explicit ie_key is provided (#19022) 6 years ago
Sergey M․ e118a8794f
[YoutubeDL] Fix typo in string negation implementation and add more tests (closes #18961) 6 years ago
Sergey M․ 2cc779f497
[YoutubeDL] Add negation support for string comparisons in format selection expressions (closes #18600, closes #18805) 6 years ago
Sergey M․ 1bab343704
[YoutubeDL] Introduce YoutubeDLCookieJar and clarify the rationale behind session cookies (closes #12929) 6 years ago
aegamesi 1d88b3e6e6
[YoutubeDL] Recognize expires=0 as session cookies and send session cookies with requests 6 years ago
Sergey M․ d4a24f4091
Prefer ffmpeg over avconv by default (closes #8622) 6 years ago
Sergey M․ 504f20dd30
Remove experimental mark for some options 7 years ago
Sergey M․ 05108a496a
[YoutubeDL] Ensure ext exists for automatic captions 7 years ago
Sergey M․ 5f95927a62
Improve geo bypass mechanism
* Introduce geo bypass context
* Add ability to bypass based on IP blocks in CIDR notation
* Introduce --geo-bypass-ip-block
7 years ago
Douglas Su 5a19d231ca [YoutubeDL] Fix typo in media extension compatibility checker 7 years ago