Simon Sawicki
6839ae1f6d
[utils] `traverse_obj`: Fix more bugs
...
and cleanup uses of `default=[]`
Continued from b1bde57bef
2 years ago
bashonly
7e68567e50
[downloader/hls] Allow extractors to provide AES key ( #6158 )
...
and related cleanup
Authored by: bashonly, Grub4K
Co-authored-by: Simon Sawicki <contact@grub4k.xyz>
2 years ago
pukkandan
f6a765ceb5
[dependencies] Standardize `Cryptodome` imports
2 years ago
pukkandan
ad68b16a1e
[downloader/aria2c] Disable native progress
...
Closes #5931 , closes #5928 , Re-opens #2038
2 years ago
Lesmiscore
8c53322cda
[downloader/aria2c] Native progress for aria2c via RPC ( #3724 )
...
Authored by: Lesmiscore, pukkandan
Closes #2038
2 years ago
bashonly
3cf50fa8e9
[downloader/ffmpeg] Fix headers for video+audio formats ( #5659 )
...
Authored by: bashonly, Grub4K
2 years ago
pukkandan
71df9b7fd5
[cleanup] Misc
2 years ago
bashonly
3b021eacef
[extractor/generic] Add `fragment_query` extractor arg for DASH and HLS ( #5528 )
...
* `fragment_query`: passthrough any query in generic mpd/m3u8 manifest URLs to their fragments
* Add support for `extra_param_to_segment_url` to DASH downloader
Authored by: bashonly, pukkandan
2 years ago
pukkandan
64c464a144
[utils] Move `FileDownloader.parse_bytes` into utils
2 years ago
pukkandan
d5d1df8afd
[cleanup Misc
...
Closes #5162
2 years ago
pukkandan
814bba3933
[downloader/fragment] HLS download can continue without first fragment
...
Closes #5274
2 years ago
pukkandan
a057779d5e
[cleanup] Minor fixes
...
Closes #5129 , Closes #4982
2 years ago
std-move
af7a5eef2f
[downloader/aria2c] Fix filename containing leading whitespace ( #5099 )
...
Similar to eb55bad5a0
, but for fragmented downloads
Authored by: std-move
2 years ago
nixxo
81b6102d20
[downloader/ism] Support ec-3 codec ( #5004 )
...
Closes #296
Authored by: nixxo
2 years ago
pukkandan
deae7c1711
[cleanup] Misc
2 years ago
pukkandan
da4db748fa
[utils] Add `deprecation_warning`
...
See https://github.com/yt-dlp/yt-dlp/pull/2173#issuecomment-1097021515
2 years ago
pukkandan
e1eabd7beb
[downloader/external] Smarter detection of executable
...
Closes #4778
2 years ago
Lesmiscore
62b58c0936
[docs] Consistent use of `e.g.` ( #4643 )
...
Authored by: Lesmiscore
2 years ago
pukkandan
be5c1ae862
Standardize retry mechanism ( #1649 )
...
* [utils] Create `RetryManager`
* Migrate all retries to use the manager
* [extractor] Add wrapper methods for convenience
* Standardize console messages for retries
* Add `--retry-sleep` for extractors
2 years ago
pukkandan
3df4f81dfe
[downloader] Add average speed to final progress line
...
Fixes: https://github.com/ytdl-org/youtube-dl/issues/31122
2 years ago
pukkandan
b4daacb4ec
[mhtml, cleanup] Use imghdr
2 years ago
pukkandan
6929b41a21
Remove Python 3.6 support
...
Closes #3764
2 years ago
pukkandan
f5ea47488a
[cleanup] Minor fixes
2 years ago
pukkandan
6d645b5577
[http] Ensure the file handle is always closed
...
Closes #4323
2 years ago
pukkandan
ae61d108dd
[cleanup] Misc cleanup
2 years ago
pukkandan
bbae437723
[hls] Warn user when trying to download live HLS
...
We do not automatically switch to ffmpeg because the detection is not 100% accurate
2 years ago
pukkandan
14f25df2b6
[compat] Remove deprecated functions from core code
2 years ago
pukkandan
54007a45f1
[cleanup] Consistent style for file heads
2 years ago
pukkandan
ac66811112
[compat] Remove more functions
...
Removing any more will require changes to a large number of extractors
2 years ago
pukkandan
998a3cae0c
[cleanup] Misc fixes
2 years ago
pukkandan
95032f302c
[f4m] Bugfix
2 years ago
pukkandan
f0c9fb9682
[utils] `Popen`: Refactor to use contextmanager
...
Fixes https://github.com/yt-dlp/yt-dlp/issues/3531#issuecomment-1156223597
2 years ago
pukkandan
64fa820ccf
[cleanup] Misc fixes (see desc)
...
* [tvver] Fix bug in 6837633a4a
- Closes #4054
* [rumble] Fix tests - Closes #3976
* [make] Remove `cat` abuse - Closes #3989
* [make] Revert #3684 - Closes #3814
* [utils] Improve `get_elements_by_class` - Closes #3993
* [utils] Inherit `Namespace` from `types.SimpleNamespace`
* [utils] Use `re.fullmatch` for matching filters
* [jsinterp] Handle quotes in `_separate`
* [make_readme] Allow overshooting last line
Authored by: pukkandan, kwconder, MrRawes, Lesmiscore
2 years ago
MMM
36195c4461
[dash] Show fragment count with `--live-from-start` ( #3493 )
...
Authored by: flashdagger
3 years ago
pukkandan
5ec1b6b716
Add option `--download-sections` to download video partially
...
Closes #52 , Closes #3932
3 years ago
pukkandan
1890fc6389
[cleanup] Misc fixes
...
Cherry-picks from: #3498 , #3947
Related: #3949 , https://github.com/yt-dlp/yt-dlp/issues/1839#issuecomment-1140313836
Authored by: pukkandan, flashdagger, gamer191
3 years ago
pukkandan
8a7f6d7a15
Do not print progress to `stderr` with `-q`
...
It is arguable how this "should" behave, but since progress is always
written to stdout in older yt-dl/p, we should keep it as-is
Bug in cf4f42cb97
Closes #3844
3 years ago
pukkandan
8a82af3511
[cleanup] Misc fixes and cleanup
...
Closes #3780 , Closes #3853 , Closes #3850
3 years ago
pukkandan
11233f2afd
[downloader, cleanup] Refactor `report_progress`
...
Closes #3790
3 years ago
pukkandan
c487cf0010
[cleanup] Misc
3 years ago
pukkandan
1a8cc83735
Bugfix for 3a408f9d19
3 years ago
pukkandan
2762dbb17e
[compat] Add `functools.cached_property`
3 years ago
pukkandan
666c36d58d
Bugfix for 23326151c4
3 years ago
pukkandan
23326151c4
Add option --retry-sleep ( #3059 )
...
Closes #2852
3 years ago
pukkandan
7896214c42
Bugfix for 591bb9d355
...
Closes #3769
3 years ago
pukkandan
591bb9d355
Fix color in `-q -F`
...
and convert `ydl._out_files`/`ydl._allow_colors` to `Namespace`
Closes #3761
3 years ago
coletdjnz
5faf6528fb
[http] Fix bug in retrying on read timeout in py < 3.10
...
socket.timeout is not an alias of TimeoutError in py < 3.10
Fixes bug in a2e77303e3
Authored-by: coletdjnz
3 years ago
pukkandan
3a408f9d19
Show name of downloader in verbose log
...
Closes #3703
3 years ago
pukkandan
0f06bcd759
[cleanup] Minor fixes (See desc)
...
* [youtube] Fix `--youtube-skip-dash-manifest`
* [build] Use `$()` in `Makefile`. Closes #3684
* Fix bug in 385ffb467b
* Fix bug in 43d7f5a5d0
* [cleanup] Remove unnecessary `utf-8` from `str.encode`/`bytes.decode`
* [utils] LazyList: Expose unnecessarily "protected" attributes
and other minor cleanup
3 years ago
felix
e4fa34a13e
[hls] Fix unapplied byte_range for EXT-X-MAP fragment
...
Cherry-picked from #3302
Authored by: fstirlitz
3 years ago