tcely
087cb24bb2
Honor continuedl with aria2c
...
--remove-control-file[=true|false]
Remove control file before download.
Using with --allow-overwrite=true,
download always starts from scratch.
2 months ago
tcely
208ab98aa7
aria2c should overwrite the output when resuming fails
...
Moved renaming and overwrite arguments up with the rest.
Both cases need these arguments.
Save the control file every 10 seconds.
Resume using the control file, or overwrite if not possible.
Remove the control file when the download is completed.
Print to stderr instead, just as curl does.
3 months ago
tcely
0b382a7d72
Remove continue from aria2c
...
This doesn't actually work, or make sense, without configuring the stream selector to use `inorder` instead of `default` for the algorithm.
Ideally, `aria2c` would write the needed information for resuming downloads in its own file before exiting.
Otherwise, it's more reliable to download everything again.
3 months ago
sepro
f95a92b3d0
[cleanup] Deprecate more compat functions ( #11439 )
...
Authored by: seproDev
3 months ago
bashonly
c6387abc1a
[cleanup] Misc ( #10807 )
...
Closes #10751 , Closes #10769 , Closes #10791
Authored by: bashonly, Codenade, pzhlkj6612, seproDev, coletdjnz, grqz, Grub4K
Co-authored-by: Codenade <amadeus.dorian04@gmail.com>
Co-authored-by: Mozi <29089388+pzhlkj6612@users.noreply.github.com>
Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
Co-authored-by: coletdjnz <coletdjnz@protonmail.com>
Co-authored-by: N/Ame <173015200+grqz@users.noreply.github.com>
Co-authored-by: Simon Sawicki <contact@grub4k.xyz>
5 months ago
bashonly
6aaf96a3d6
[cleanup] Misc ( #10075 )
...
Closes #10303
Authored by: bashonly, seproDev, jucor, c-basalt
Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
Co-authored-by: Julien Cornebise <julien@cornebise.com>
Co-authored-by: c-basalt <117849907+c-basalt@users.noreply.github.com>
8 months ago
bashonly
ca8885edd9
[fd/hls] Apply `extra_param_to_key_url` from info dict
...
Authored by: bashonly
8 months ago
sepro
add96eb9f8
[cleanup] Add more ruff rules ( #10149 )
...
Authored by: seproDev
Reviewed-by: bashonly <88596187+bashonly@users.noreply.github.com>
Reviewed-by: Simon Sawicki <contact@grub4k.xyz>
8 months ago
bashonly
9c42b7eef5
[fd/ffmpeg] Accept output args from info dict ( #9278 )
...
Authored by: bashonly
11 months ago
CrendKing
21b25281c5
[fd/aria2c] Remove duplicate `--file-allocation=none` ( #8332 )
...
Authored by: CrendKing
1 year ago
pukkandan
62b5c94cad
[cleanup] Misc fixes
...
Closes #7528
2 years ago
bashonly
e57eb98222
[fd/external] Fix ffmpeg input from stdin ( #7655 )
...
Bugfix for 1ceb657bdd
Authored by: bashonly
2 years ago
bashonly
42ded0a429
[fd/external] Fixes to cookie handling
...
- Fix bug in `axel` Cookie header arg
- Pass cookies to `curl` as strings
- Write session cookies for `aria2c` and `wget`
Closes #7539
Authored by: bashonly
2 years ago
coletdjnz
3d2623a898
[compat, networking] Deprecate old functions ( #2861 )
...
Authored by: coletdjnz, pukkandan
2 years ago
bashonly
1ceb657bdd
[fd/external] Scope cookies
...
- ffmpeg: Calculate cookies from cookiejar and pass with `-cookies` arg instead of `-headers`
- aria2c, curl, wget: Write cookiejar to file and use external FD built-in cookiejar support
- httpie: Calculate cookies from cookiejar instead of `http_headers`
- axel: Calculate cookies from cookiejar and disable http redirection if cookies are passed
- May break redirects, but axel simply don't have proper cookie support
Ref: https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-v8mc-9377-rwjj
Authored by: bashonly, coletdjnz
2 years ago
pukkandan
8a8af356e3
[downloader/aria2c] Add `--no-conf`
...
Closes #7404
2 years ago
coletdjnz
955c89584b
[core] Deprecate internal `Youtubedl-no-compression` header ( #6876 )
...
Authored by: coletdjnz
2 years ago
pukkandan
66aeaac9aa
[downloader/curl] Fix progress reporting
...
Bug in 8c53322cda
Closes #6490
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
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
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
pukkandan
e1eabd7beb
[downloader/external] Smarter detection of executable
...
Closes #4778
3 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
3 years ago
pukkandan
14f25df2b6
[compat] Remove deprecated functions from core code
3 years ago
pukkandan
ac66811112
[compat] Remove more functions
...
Removing any more will require changes to a large number of extractors
3 years ago
pukkandan
f0c9fb9682
[utils] `Popen`: Refactor to use contextmanager
...
Fixes https://github.com/yt-dlp/yt-dlp/issues/3531#issuecomment-1156223597
3 years ago
pukkandan
5ec1b6b716
Add option `--download-sections` to download video partially
...
Closes #52 , Closes #3932
3 years ago
pukkandan
c487cf0010
[cleanup] Misc
3 years ago
pukkandan
2762dbb17e
[compat] Add `functools.cached_property`
3 years ago
pukkandan
23326151c4
Add option --retry-sleep ( #3059 )
...
Closes #2852
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
pukkandan
1d485a1a79
[cleanup] Misc fixes
...
Closes #3565 , https://github.com/yt-dlp/yt-dlp/issues/3514#issuecomment-1105944364
3 years ago
pukkandan
0a5a191a2a
Improve `--clean-infojson`
...
It should not removes fields that may be needed for `--load-infojson`.
Eg: `_ffmpeg_args`, `_has_drm`
3 years ago
Elyse
00828e2c93
[downloader/ffmpeg] Specify headers for each URL ( #3553 )
...
Closes #2696
Authored by: elyse0
3 years ago
pukkandan
f82711587c
[cleanup] Sort imports
...
Using https://github.com/PyCQA/isort
isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
3 years ago
pukkandan
86e5f3ed2e
[cleanup] Upgrade syntax
...
Using https://github.com/asottile/pyupgrade
1. `__future__` imports and `coding: utf-8` were removed
2. Files were rewritten with `pyupgrade --py36-plus --keep-percent-format`
3. f-strings were cherry-picked from `pyupgrade --py36-plus`
Extractors are left untouched (except removing header) to avoid unnecessary merge conflicts
3 years ago
pukkandan
28787f16c6
[downloader] Fix invocation of `HttpieFD`
...
Closes #3154
3 years ago
coletdev
af14914baa
Remove `Accept-Encoding` header from `std_headers` ( #3153 )
...
This should be set by each downloader to what it supports.
Fixes https://github.com/yt-dlp/yt-dlp/issues/3142
Authored-by: coletdjnz
3 years ago
coletdev
8a23db9519
[wget] Fix proxy ( #3152 )
...
Upstream PR: https://github.com/ytdl-org/youtube-dl/pull/29343
Authored-by: kikuyan, coletdjnz
3 years ago
Emanuel Hoogeveen
45806d44a7
[downloader] Obey `--file-access-retries` when deleting/renaming ( #2224 )
...
Authored by: ehoogeveen-medweb
3 years ago
pukkandan
dcd55f766d
[aria2c] Add `--http-accept-gzip=true`
...
Closes #1936 , #1236
3 years ago
pukkandan
af6793f804
[downloader/ffmpeg] Handle unknown formats better
3 years ago
pukkandan
d57576b9d9
[httpie] Fix `available` method
...
Closes #2330
3 years ago
pukkandan
f44afb54ef
[aria2c] Don't show progress when `--no-progress`
3 years ago
Emanuel Hoogeveen
205a0654c0
Add option `--file-access-retries` ( #2066 )
...
Closes #517
Authored by: ehoogeveen-medweb
3 years ago
pukkandan
234416e4bf
[downloader/ffmpeg] Fix for direct videos inside mpd manifests
...
Closes #1751
3 years ago
pukkandan
8913ef74d7
[ffmpeg] Detect libavformat version for `aac_adtstoasc`
...
and print available features in verbose head
Based on https://github.com/ytdl-org/youtube-dl/pull/29581
3 years ago
pukkandan
d3c93ec2b7
Don't create console for subprocesses on Windows ( #1261 )
...
Closes #1251
3 years ago