bashonly
9dd8574b68
Merge branch 'master' into yt-live-from-start-range
2024-10-09 11:23:14 -05:00
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>
2024-09-27 22:46:22 +00:00
bashonly
66a6e0a686
Merge branch 'yt-dlp:master' into pr/live-sections
2024-07-08 00:18:09 -05:00
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>
2024-07-01 22:51:27 +00:00
bashonly
ca8885edd9
[fd/hls] Apply extra_param_to_key_url
from info dict
...
Authored by: bashonly
2024-06-15 18:38:02 -05:00
bashonly
6208f7be9c
Merge branch 'master' into yt-live-from-start-range
2024-06-12 01:29:53 -05:00
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>
2024-06-12 01:09:58 +02:00
bashonly
cf96b24de6
Merge branch 'master' into yt-live-from-start-range
2024-04-16 11:01:17 -05:00
Simon Sawicki
9590cc6b47
Add new option --progress-delta
( #9082 )
...
Authored by: Grub4K
2024-04-08 22:47:38 +02:00
bashonly
9c42b7eef5
[fd/ffmpeg] Accept output args from info dict ( #9278 )
...
Authored by: bashonly
2024-03-29 23:16:46 +00:00
bashonly
50c943e8a0
Merge branch 'yt-dlp:master' into pr/yt-live-from-start-range
2024-03-19 15:18:22 -05:00
Peter Hosey
2d91b98456
[fd/http] Reset resume length to handle FileNotFoundError
( #8399 )
...
Closes #4521
Authored by: boredzo
2024-03-10 15:35:20 +00:00
bashonly
6fc6349ef0
Merge branch 'master' into yt-live-from-start-range
2024-02-29 04:58:30 -06:00
sepro
f24e44e8cb
[webvtt] Don't parse single fragment files ( #9034 )
...
Partially addresses #5804
Authored by: seproDev
2024-01-20 06:08:55 +01:00
bashonly
5156a16cf9
Merge branch 'master' into yt-live-from-start-range
2024-01-19 17:05:19 -06:00
coletdjnz
ccfd70f4c2
[rh:websockets] Migrate websockets to networking framework ( #7720 )
...
* Adds a basic WebSocket framework
* Introduces new minimum `websockets` version of 12.0
* Deprecates `WebSocketsWrapper`
Fixes https://github.com/yt-dlp/yt-dlp/issues/8439
Authored by: coletdjnz
2023-11-20 08:04:04 +00:00
bashonly
2622c804d1
[fd/dash] Force native downloader for --live-from-start
( #8339 )
...
Closes #8212
Authored by: bashonly
2023-11-07 21:28:34 +00:00
CrendKing
21b25281c5
[fd/aria2c] Remove duplicate --file-allocation=none
( #8332 )
...
Authored by: CrendKing
2023-11-07 17:18:19 +01:00
Elyse
2741b5827d
Merge remote-tracking branch 'origin' into yt-live-from-start-range
2023-10-08 00:24:29 -06:00
Simon Sawicki
1c51c520f7
[fd/fragment] Improve progress calculation ( #8241 )
...
This uses the download speed from all threads and also adds smoothing to speed and eta
Authored by: Grub4K
2023-10-08 02:01:01 +02:00
pukkandan
62b5c94cad
[cleanup] Misc fixes
...
Closes #7528
2023-07-22 09:09:52 +05:30
bashonly
e57eb98222
[fd/external] Fix ffmpeg input from stdin ( #7655 )
...
Bugfix for 1ceb657bdd
Authored by: bashonly
2023-07-22 02:32:49 +00:00
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
2023-07-15 15:25:51 -05:00
bashonly
6c5211cebe
[core] Fix HTTP headers and cookie handling
...
- Remove `Cookie` header from `http_headers` immediately after loading into cookiejar
- Restore compat for `--load-info-json` cookies
- Add more tests
- Fix improper passing of Cookie header by `MailRu` extractor
Closes #7558
Authored by: bashonly, pukkandan
2023-07-15 15:25:45 -05:00
coletdjnz
3d2623a898
[compat, networking] Deprecate old functions ( #2861 )
...
Authored by: coletdjnz, pukkandan
2023-07-15 16:18:35 +05:30
coletdjnz
227bf1a33b
[networking] Rewrite architecture ( #2861 )
...
New networking interface consists of a `RequestDirector` that directs
each `Request` to appropriate `RequestHandler` and returns the
`Response` or raises `RequestError`. The handlers define adapters to
transform its internal Request/Response/Errors to our interfaces.
User-facing changes:
- Fix issues with per request proxies on redirects for urllib
- Support for `ALL_PROXY` environment variable for proxy setting
- Support for `socks5h` proxy
- Closes https://github.com/yt-dlp/yt-dlp/issues/6325 , https://github.com/ytdl-org/youtube-dl/issues/22618 , https://github.com/ytdl-org/youtube-dl/pull/28093
- Raise error when using `https` proxy instead of silently converting it to `http`
Authored by: coletdjnz
2023-07-15 16:18:35 +05:30
Simon Sawicki
3121512228
[core] Change how Cookie
headers are handled
...
Cookies are now saved and loaded under `cookies` key in the info dict
instead of `http_headers.Cookie`. Cookies passed in headers are
auto-scoped to the input URLs with a warning.
Ref: https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-v8mc-9377-rwjj
Authored by: Grub4K
2023-07-06 23:14:39 +05:30
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
2023-07-06 23:14:38 +05:30
pukkandan
bc344cd456
[core] Allow extractors to mark formats as potentially DRM ( #7396 )
...
This is useful for HLS where detecting whether the format is
actually DRM requires the child manifest to be downloaded.
Makes the error message when using `--test` inconsistent,
but doesn't really matter.
2023-07-06 21:40:01 +05:30
pukkandan
337734d4a8
[cleanup] Misc
2023-07-06 21:39:55 +05:30
pukkandan
662ef1e910
[downloader/http] Avoid infinite loop when no data is received
...
Closes #7504
2023-07-06 20:22:00 +05:30
pukkandan
8a8af356e3
[downloader/aria2c] Add --no-conf
...
Closes #7404
2023-06-26 16:13:31 +05:30
Elyse
99e6074c5d
Merge remote-tracking branch 'origin' into yt-live-from-start-range
2023-06-24 14:30:12 -06:00
pukkandan
ad54c9130e
[cleanup] Misc
...
Closes #6288 , Closes #7197 , Closes #7265 , Closes #7353 , Closes #5773
Authored by: mikf, freezboltz, pukkandan
2023-06-21 09:21:20 +05:30
pukkandan
424f3bf033
[downloader/fragment] Do not sleep between fragments
...
Closes #6599
2023-06-21 06:10:39 +05:30
Elyse
1f7974690e
Merge remote-tracking branch 'origin' into yt-live-from-start-range
2023-06-03 14:39:32 -06:00
Lesmiscore
f8f9250fe2
[extractor/niconico:live] Add extractor ( #5764 )
...
Authored by: Lesmiscore
2023-05-29 18:35:10 +09:00
Simon Sawicki
edbe5b589d
Bugfixes for 4823ec9f46
...
Hotfix for fragmented downloads
Authored by: bashonly
2023-05-25 22:52:44 +02:00
Simon Sawicki
8417f26b8a
[core] Implement --color
flag ( #6904 )
...
Authored by: Grub4K
2023-05-24 20:35:07 +02:00
pukkandan
4823ec9f46
Update to ytdl-commit-d1c6c5
...
[YouTube] [core] Improve platform debug log, based on yt-dlp
d1c6c5c4d6
Except:
* 6ed34338285f722d0da312ce0af3a15a077a3e2a [jsinterp] Add short-cut evaluation for common expression
* There was no performance improvement when tested with https://github.com/ytdl-org/youtube-dl/issues/30641
* e8de54bce50f6f77a4d7e8e80675f7003d5bf630 [core] Handle `/../` sequences in HTTP URLs
* We plan to implement this differently
2023-05-24 23:30:43 +05:30
pukkandan
46f1370e9a
[devscripts/cli_to_api] Add script
2023-05-24 23:29:30 +05:30
coletdjnz
955c89584b
[core] Deprecate internal Youtubedl-no-compression
header ( #6876 )
...
Authored by: coletdjnz
2023-05-20 22:55:09 +00:00
pukkandan
c376b95f95
[downloader/curl] Fix progress reporting
...
Bug in 8c53322cda
Closes #6490
2023-03-11 19:51:13 -06:00
Elyse
fba1c397b1
[youtube] Support --download-sections for YT Livestream from start
2023-03-09 17:32:19 -06:00
pukkandan
66aeaac9aa
[downloader/curl] Fix progress reporting
...
Bug in 8c53322cda
Closes #6490
2023-03-09 21:58:07 +05:30
pukkandan
5b28cef72d
[cleanup] Misc
2023-02-28 23:51:06 +05:30
pukkandan
f34804b2f9
[extractor/youtube] Fix 5038f6d713
...
* [fragment] Fix `request_data`
* [youtube] Don't use POST for now. It may be easier to break in future
Authored by: bashonly, coletdjnz
2023-02-28 23:34:43 +05:30
pukkandan
65f6e80780
[dependencies] Simplify Cryptodome
...
Closes #6292 , closes #6272 , closes #6338
2023-02-28 23:15:13 +05:30
Felix Yan
65e5c021e7
[utils] Don't use Content-length with encoding ( #6176 )
...
Authored by: felixonmars
Closes #3772 , #6178
2023-02-17 08:38:45 +05:30
Simon Sawicki
6839ae1f6d
[utils] traverse_obj
: Fix more bugs
...
and cleanup uses of `default=[]`
Continued from b1bde57bef
2023-02-10 19:36:55 +05:30