s0u1h
eeb2a770f3
[utils] `format_decimal_suffix`: Fix for very large numbers ( #3109 )
...
Authored by: s0u1h
3 years ago
pukkandan
592b748582
[cleanup] Minor cleanup
...
Closes #3006
3 years ago
pukkandan
76aa991374
Fix case of `http_headers`
...
Bug in 8b7539d27c
Fixes https://github.com/yt-dlp/yt-dlp/issues/1346#issuecomment-1064527765
3 years ago
pukkandan
e491d06d34
[utils] ExtractorError: Fix for older python versions
...
Closes #2993
3 years ago
pukkandan
ff91cf7483
[utils] Add `get_first`
3 years ago
pukkandan
d1b5f70bc9
[cleanup] Refactor `__init__.py` ( #2570 )
...
* Split `__init__` code into multiple functions
* Clean up validation code by grouping similar types of options
* Expose `parse_options` to third parties
3 years ago
pukkandan
08d30158ec
[cleanup, docs] Misc cleanup
...
Closes #2828 , closes #2734 , closes #2802 , closes #2937
3 years ago
coletdev
4390d5ec12
Add brotli content-encoding support ( #2433 )
...
Authored by: coletdjnz
3 years ago
pukkandan
497d2fab6c
[utils] Better traceback for `ExtractorError`
3 years ago
Lesmiscore
1ed7953a74
[utils] render_table: Fix character calculation for removing extra gap
...
without this fix, the column next to delimiter will lack leading spaces on terminal (see https://github.com/yt-dlp/yt-dlp/pull/920#issuecomment-1059914615 for the situation)
3 years ago
Zenon Mousmoulas
27231526ae
[ant1newsgr] Add extractor ( #1982 )
...
Authored by: zmousm
3 years ago
pukkandan
8b7539d27c
Implement `--add-header` without modifying `std_headers`
...
Closes #2526 , #1614
3 years ago
pukkandan
4c3f8c3fb6
Handle negative duration from extractor
...
Closes #2921
3 years ago
pukkandan
7265a2190c
Fix doubling of `video_id` in `ExtractorError`
3 years ago
pukkandan
747c0bd127
[utils] Improve file locking
...
* Implement non-blocking locks for windows
* Don't raise error when closing a closed file
3 years ago
Justin Keogh
acea8d7cfb
[utils] Fix file locking for AOSP ( #2714 )
...
Closes #2080 , #2670
Authored by: jakeogh
3 years ago
pukkandan
f1d130902b
[utils] OnDemandPagedList: Do not download pages after error
3 years ago
Lesmiscore (Naoya Ozaki)
93c8410d33
[downloader/fragment] Fix bugs around resuming with Range ( #2901 )
...
Authored by: Lesmiscore
3 years ago
Lesmiscore (Naoya Ozaki)
15dfb3929c
[fc2:live] Add extractor ( #2418 )
...
Authored by: Lesmiscore
3 years ago
Lesmiscore (Naoya Ozaki)
3e9b66d761
[AbemaTV] Add extractors ( #1688 )
...
Authored by: Lesmiscore
3 years ago
pukkandan
09b49e1f68
Add pre-processor stage `after_filter`
...
* Move `_match_entry` and `post_extract` to `process_video_result`. It is also left in `process_info` for API compat
* `--list-...` options and `--force-write-archive` now obey filtering options
* Move `SponsorBlockPP` to `after_filter`. Closes https://github.com/yt-dlp/yt-dlp/issues/2536
* Reverts 4ec82a72bb
since this commit addresses the issue it was solving
3 years ago
Bepis
febff4c119
[tubitv] Fix/improve TV series extraction ( #2829 )
...
Authored by: bbepis
3 years ago
Lesmiscore (Naoya Ozaki)
da42679b87
[utils] WebSockets wrapper for non-async functions ( #2417 )
...
Authored by: Lesmiscore
3 years ago
pukkandan
d49f8db39f
[utils] Validate `DateRange` input
...
Closes #2641
3 years ago
Justin Keogh
a3125791c7
[utils] Use `locked_file` for `sanitize_open` ( #1066 )
...
Authored by: jakeogh
3 years ago
pukkandan
455a15e2dc
[cleanup,docs] Minor fixes
...
Closes #2541 , #2484
3 years ago
pukkandan
4918522735
[utils] Strip double spaces in `clean_html`
...
Closes #2497
Authored by: dirkf
3 years ago
pukkandan
65662dffb1
Make nested --config-locations relative to parent file
...
* and allow environment variables in it so that you can use `$PWD`/`%cd%`
to specify paths relative to current directory
3 years ago
pukkandan
d16df59db5
Fix `--compat-options list-formats`
...
Closes #2481
3 years ago
pukkandan
d37707bda4
Fix/improve `InAdvancePagedList`
3 years ago
pukkandan
e0ddbd02bd
[cleanup] Use format_field where applicable
3 years ago
xtkoba
f81c62a6a4
Add option --legacy-server-connect ( #778 )
...
to allow HTTPS connection to servers that do not support RFC 5746 secure renegotiation
Authored by: xtkoba
3 years ago
pukkandan
b1156c1e59
Fix d14cbdd92d
3 years ago
coletdjnz
396a76f7bf
[youtube] Enforce UTC ( #2402 )
...
and [utils] use `utcnow` in `datetime_from_str`
Related: #2223
Authored by: coletdjnz
3 years ago
pukkandan
d14cbdd92d
[utils] Add `Sec-Fetch-Mode` to `std_headers`
...
Closes #2187
3 years ago
pukkandan
19b4c74d40
Revert d6579d532b
...
Closes #2396 , Reopens #2187
3 years ago
pukkandan
8bd1c00bf3
[utils] Handle `ss:xxx` in `parse_duration`
...
Closes #2388
3 years ago
pukkandan
3b603dbdf1
Add option `--concat-playlist`
...
Closes #1855 , related: #382
3 years ago
pukkandan
d6579d532b
[utils] Partially revert d76d15a669
...
Closes #2187
3 years ago
Zenon Mousmoulas
0254f16274
[utils] Improve `get_elements_text_and_html_by_attribute` regex ( #2280 )
...
Authored by: zmousm, pukkandan
3 years ago
Zenon Mousmoulas
6f32a0b5b7
[utils] Improve parsing for nested HTML elements ( #2129 )
...
and add functions to return the HTML of elements
Authored by: zmousm
3 years ago
pukkandan
9e907ebddf
[cleanup] Misc cleanup
3 years ago
pukkandan
06e57990f7
Allow multiple and nested configuration files
3 years ago
pukkandan
ebed8b3732
Add more post-processing stages
...
playlist = After entire playlist
after_video = After downloading all formats of a video
3 years ago
pukkandan
1e43a6f733
Allow `--exec` to be run at any post-processing stage
...
Deprecates `--exec-before-download`
3 years ago
pukkandan
1797b073ed
[utils] Use key `None` in `traverse_obj` to return as-is
3 years ago
Felix S
4afa3ec4b6
[extractor] Detect more subtitle codecs in MPD manifests ( #2174 )
...
Authored by: fstirlitz
3 years ago
pukkandan
abbeeebc4c
[outtmpl] Alternate form for `D` and fix suffix's case
...
Fixes: https://github.com/yt-dlp/yt-dlp/issues/2085#issuecomment-1002247689 , https://github.com/yt-dlp/yt-dlp/pull/2132/files#r775729811
3 years ago
pukkandan
45d86abeb4
Allow unicode characters in `info.json`
...
Closes #2139
3 years ago
Pierre Mdawar
f02d24d8d2
[utils] Fix `format_bytes` output for Bytes ( #2132 )
...
Authored by: pukkandan, mdawar
3 years ago