Commit Graph

466 Commits (d1358231371f20fa23020fa9176be3b56119873e)

Author SHA1 Message Date
sepro 3945677a75
[core] Prioritize AV1 (#11153)
Authored by: seproDev
3 weeks ago
bashonly d569a88452 [ie/youtube] Adjust OAuth refresh token handling (#11414)
Removes support for using '' as an empty password in netrc, e.g.:
machine youtube login oauth password ''

Double-quotes ("") are valid and must be used instead, e.g.:
machine youtube login oauth password ""

Authored by: bashonly
3 weeks ago
Simon Sawicki 67adeb7bab
[cleanup] Misc (#11216)
- Add Python 3.13 to CI, finalize 3.13 support
- Remove Python 3.8 from CI in preparation for removing 3.8 support
- Document that PyPy3.8 and PyPy3.9 are no longer supported
- Usual documentation fixes and code cleanup

Closes #8248, Closes #11146, Closes #11149, Closes #11211
Authored by: Grub4K, grqz, DTrombett, KarboniteKream, bashonly, mikkovedru, seproDev

Co-authored-by: N/Ame <173015200+grqz@users.noreply.github.com>
Co-authored-by: DTrombett <d@trombett.org>
Co-authored-by: =?UTF-8?q?Klemen=20Ko=C5=A1ir?= <klemen.kosir@kream.io>
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
Co-authored-by: Mikko Vedru <mikko.vedru@gmail.com>
Co-authored-by: sepro <sepro@sepr0.com>
1 month ago
coletdjnz b8635c1d47
[ie/youtube] Support logging in with OAuth (#11001)
See: https://github.com/yt-dlp/yt-dlp/wiki/Extractors#logging-in-with-oauth

Authored by: coletdjnz
1 month ago
bashonly fed53d70bd [ie/youtube] Remove broken `android_producer` client (#11297)
Authored by: bashonly
1 month ago
bashonly ec2f4bf082 [ie/youtube] Remove broken age-restriction workaround (#11297)
Closes #11296
Authored by: bashonly
1 month ago
bashonly 7af1ddaaf2
[ie/youtube] Fix `comment_count` extraction (#11274)
Authored by: bashonly
1 month ago
sepro de2062753a
[ie/youtube] Change default player clients to `ios,mweb` (#11190)
Closes #11165, Closes #11185
Authored by: seproDev
2 months ago
bashonly 1d84b780cf
[ie/youtube:clip] Prioritize `https` formats (#11102)
Closes #10856
Authored by: bashonly
2 months ago
bashonly fa2be9a7c6
[ie/youtube] Fix `format_note` (Bugfix for 3a3bd00037) (#11028)
Authored by: bashonly
2 months ago
sepro 9431777b4c
[ie/youtube:tab] Fix shorts tab extraction (#10938)
Closes #10936
Authored by: seproDev
2 months ago
sepro 3a3bd00037
[ie/youtube] Add `po_token`, `visitor_data`, `data_sync_id` extractor args (#10648)
Authored by:  seproDev, coletdjnz, bashonly
2 months ago
bashonly 49f3741a82
[ie/youtube] Support excluding `player_client`s in extractor-arg (#10710)
Closes #10699
Authored by: bashonly
3 months ago
bashonly 406f4c2e47
[ie/youtube] Change default player clients to `ios,web_creator` (#10674)
Closes #10660
Authored by: bashonly
4 months ago
sepro c86891eb94
[ie/youtube] Fix `n` function name extraction for player `b12cc44b` (#10668)
Authored by: seproDev
4 months ago
bashonly ffd7781d65
[cleanup] Misc (#10623)
Authored by: bashonly
4 months ago
sepro efb42763de
[ie/youtube] Change default player clients to `ios,tv` (#10457)
Closes #10046
Authored by: seproDev
4 months ago
bashonly d19fcb9342
[ie/youtube] Fix age-verification workaround (#10610)
Authored by: bashonly, Grub4K

Co-authored-by: Simon Sawicki <contact@grub4k.xyz>
4 months ago
bashonly 011b4a04db
[ie/youtube] Fix `n` function name extraction for player `20dfca59` (#10611)
Closes #10608
Authored by: bashonly
4 months ago
bashonly 0e539617a4
[ie/youtube] Player client maintenance (#10573)
- Add clients: android_producer, android_testsuite, android_vr, tv, web_safari
- Remove obsolete clients: android_embedded, ios_embedded, *_embedscreen

Authored by: bashonly
4 months ago
bashonly 713b4cd18f
[ie/youtube] Fix `n` function name extraction for player `3400486c` (#10542)
Authored by: bashonly
4 months ago
sepro b85eef0a61
[ie/youtube] Reduce android client priority (#10467)
Authored by: seproDev
4 months ago
sepro 16da8ef993
[ie/youtube] Fix initial player response usage (Bugfix for 8b8b442cb0) (#10464)
Authored by: seproDev
4 months ago
sepro 8b8b442cb0
[ie/youtube] Avoid poToken experiment player responses (#10456)
Closes #10397
Authored by: seproDev
4 months ago
bashonly 04e17ba20a
[ie/youtube] Invalidate nsig cache from < 2024.07.09 (#10401)
Versions after 297b0a3792 and before 7ead7332af may have cached incorrect nsig function data

Authored by: bashonly
5 months ago
sepro 7ead7332af
[ie/youtube] Remove broken `n` function extraction fallback (#10396)
Closes #10391
Authored by: pukkandan, seproDev

Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
5 months ago
bashonly 297b0a3792
[ie/youtube] Fix JS `n` function name extraction (#10390)
Fixes nsig decoding for player b22ef6e7

Closes #10391
Authored by: bashonly, seproDev

Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
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>
5 months ago
Marius Gedminas 24f3097ea9
[ie/youtube] Suppress "Unavailable videos are hidden" warning (#10159)
Authored by: mgedmin
5 months ago
bashonly 800ec085cc
[ie/youtube] Skip formats if nsig decoding fails (#10223)
Ref: https://github.com/ytdl-org/youtube-dl/issues/32815

Authored by: bashonly
5 months ago
Haxy 9bd8501993
[ie/youtube] Extract all formats from multi-language m3u8s (#9875)
Authored by: clienthax, bashonly

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
5 months ago
bashonly a0d9967f68
[ie/youtube:tab] Fix channel metadata extraction (#10071)
Closes #9893, Closes #10090
Authored by: bashonly, shoxie007

Co-authored-by: shoxie007 <74592022+shoxie007@users.noreply.github.com>
5 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>
6 months ago
coletdjnz 96a134dea6
[ie/youtube] Extract upload timestamp if available (#9856)
Closes #4962, Closes #9829
Authored by: coletdjnz
6 months ago
coletdjnz 12d8ea8246
[ie/youtube] Remove `android` from default clients (#9553)
Closes #9554
Authored by: coletdjnz, bashonly

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
6 months ago
Justin Keogh 8e15177b41
[ie/youtube] Fix comments extraction (#9775)
Closes #9358
Authored by: jakeogh, minamotorin, shoxie007, bbilly1

Co-authored-by: minamotorin <76122224+minamotorin@users.noreply.github.com>
Co-authored-by: shoxie007 <74592022+shoxie007@users.noreply.github.com>
Co-authored-by: Simon <35427372+bbilly1@users.noreply.github.com>
6 months ago
WyohKnott 85ec2a337a
[ie/googledrive] Fix formats extraction (#9908)
Closes #8281
Authored by: WyohKnott
7 months ago
Haxy cf212d0a33
[ie/youtube] Add `mediaconnect` client (#9546)
Authored by: clienthax
7 months ago
pukkandan c305a25c1b
[cleanup] Standardize `import datetime as dt` (#8978) 8 months ago
pukkandan a25a424323
[ie/youtube] Calculate more accurate `filesize`
YouTube provides slightly different duration for each format.
Calculating file-size based on this duration instead of the
video duration gives more accurate results.

Ref: https://github.com/yt-dlp/yt-dlp/issues/1400#issuecomment-2007441207
8 months ago
sepro 86e3b82261
[core] Fix `filesize_approx` calculation (#9560)
Reverts 22e4dfacb6

Despite being documented as `Kbit/s`, the extractors/manifests were returning bitrates in SI units of kilobits/sec.

Authored by: seproDev, pukkandan
8 months ago
pukkandan e7b17fce14
[ie/youtube] Update `android` params
Discovered by LuanRT - https://github.com/LuanRT/YouTube.js/pull/624

Closes #9554
8 months ago
Aron Buzinkay 17d248a587
[ie/youtube:search] Fix params for uncensored results (#9456)
Closes #9156
Authored by: alb, pukkandan
8 months ago
sepro 22e4dfacb6
[ie/youtube] Fix tbr calculation (#9489)
Authored by: pukkandan

Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
8 months ago
x11x 8828f4576b
[ie/youtube:tab] Fix `tags` extraction (#9413)
Closes #9412
Authored by: x11x
9 months ago
bashonly 7aad06541e
[ie/youtube] Further bump client versions (#9395)
Authored by: bashonly
9 months ago
bashonly 413d367580
[ie/youtube] Bump Android and iOS client versions (#9317)
Closes #9316
Authored by: bashonly
9 months ago
Simon Sawicki 5eedc208ec
[ie/youtube] Better error when all player responses are skipped (#9083)
Authored by: Grub4K, pukkandan

Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
9 months ago
Lev 104a7b5a46
[ie] Migrate commonly plural fields to lists (#8917)
Authored by: llistochek, pukkandan
Related: #3944
9 months ago
Simon Sawicki f9fb3ce86e
[cleanup] Misc (#8598)
Authored by: bashonly, pukkandan, seproDev, Grub4K

Co-authored-by: bashonly <bashonly@protonmail.com>
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
11 months ago