yt-dlp 2025.12.1.10606.dev0__py3-none-any.whl → 2025.12.1.233105.dev0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2628,29 +2628,18 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
2628
2628
  def _get_checkok_params():
2629
2629
  return {'contentCheckOk': True, 'racyCheckOk': True}
2630
2630
 
2631
- def _generate_player_context(self, sts=None):
2631
+ @classmethod
2632
+ def _generate_player_context(cls, sts=None):
2632
2633
  context = {
2633
2634
  'html5Preference': 'HTML5_PREF_WANTS',
2634
2635
  }
2635
2636
  if sts is not None:
2636
2637
  context['signatureTimestamp'] = sts
2637
-
2638
- playback_context = {
2639
- 'contentPlaybackContext': context,
2640
- }
2641
-
2642
- # The 'adPlaybackContext'/'request_no_ads' workaround results in a loss of premium formats.
2643
- # Only default to 'true' if the user is unauthenticated, since we can't reliably detect all
2644
- # types of premium accounts (e.g. YTMusic Premium), and since premium users don't have ads.
2645
- default_arg_value = 'false' if self.is_authenticated else 'true'
2646
- if self._configuration_arg('request_no_ads', [default_arg_value])[0] != 'false':
2647
- playback_context['adPlaybackContext'] = {
2648
- 'pyv': True,
2649
- }
2650
-
2651
2638
  return {
2652
- 'playbackContext': playback_context,
2653
- **self._get_checkok_params(),
2639
+ 'playbackContext': {
2640
+ 'contentPlaybackContext': context,
2641
+ },
2642
+ **cls._get_checkok_params(),
2654
2643
  }
2655
2644
 
2656
2645
  def _get_config_po_token(self, client: str, context: _PoTokenContext):
yt_dlp/version.py CHANGED
@@ -1,8 +1,8 @@
1
1
  # Autogenerated by devscripts/update-version.py
2
2
 
3
- __version__ = '2025.12.01.010606'
3
+ __version__ = '2025.12.01.233105'
4
4
 
5
- RELEASE_GIT_HEAD = '56ea3a00eabb45d926a6b993708acf1b9951e23a'
5
+ RELEASE_GIT_HEAD = '017d76edcf05186df2073bdb5b8351a87f596f4c'
6
6
 
7
7
  VARIANT = 'pip'
8
8
 
@@ -12,4 +12,4 @@ CHANNEL = 'nightly'
12
12
 
13
13
  ORIGIN = 'yt-dlp/yt-dlp-nightly-builds'
14
14
 
15
- _pkg_version = '2025.12.01.010606dev'
15
+ _pkg_version = '2025.12.01.233105dev'
@@ -2377,11 +2377,6 @@ youtube
2377
2377
  for the given context)
2378
2378
  - jsc_trace: Enable debug logging for JS Challenge fetching. Either
2379
2379
  true or false (default)
2380
- - request_no_ads: Skip preroll ads to eliminate the mandatory wait
2381
- period before download. Either true (the default if unauthenticated)
2382
- or false. The default is false when logged-in cookies have been
2383
- passed to yt-dlp, since true will result in a loss of premium
2384
- formats
2385
2380
 
2386
2381
  youtube-ejs
2387
2382
 
@@ -2820,13 +2820,6 @@ client requires one for the given context)
2820
2820
  .IP \[bu] 2
2821
2821
  \f[V]jsc_trace\f[R]: Enable debug logging for JS Challenge fetching.
2822
2822
  Either \f[V]true\f[R] or \f[V]false\f[R] (default)
2823
- .IP \[bu] 2
2824
- \f[V]request_no_ads\f[R]: Skip preroll ads to eliminate the mandatory
2825
- wait period before download.
2826
- Either \f[V]true\f[R] (the default if unauthenticated) or
2827
- \f[V]false\f[R].
2828
- The default is \f[V]false\f[R] when logged-in cookies have been passed
2829
- to yt-dlp, since \f[V]true\f[R] will result in a loss of premium formats
2830
2823
  .SS youtube-ejs
2831
2824
  .IP \[bu] 2
2832
2825
  \f[V]jitless\f[R]: Run suported Javascript engines in JIT-less mode.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: yt-dlp
3
- Version: 2025.12.1.10606.dev0
3
+ Version: 2025.12.1.233105.dev0
4
4
  Summary: A feature-rich command-line audio/video downloader
5
5
  Project-URL: Documentation, https://github.com/yt-dlp/yt-dlp#readme
6
6
  Project-URL: Repository, https://github.com/yt-dlp/yt-dlp
@@ -1940,7 +1940,6 @@ The following extractors use this feature:
1940
1940
  * `pot_trace`: Enable debug logging for PO Token fetching. Either `true` or `false` (default)
1941
1941
  * `fetch_pot`: Policy to use for fetching a PO Token from providers. One of `always` (always try fetch a PO Token regardless if the client requires one for the given context), `never` (never fetch a PO Token), or `auto` (default; only fetch a PO Token if the client requires one for the given context)
1942
1942
  * `jsc_trace`: Enable debug logging for JS Challenge fetching. Either `true` or `false` (default)
1943
- * `request_no_ads`: Skip preroll ads to eliminate the mandatory wait period before download. Either `true` (the default if unauthenticated) or `false`. The default is `false` when logged-in cookies have been passed to yt-dlp, since `true` will result in a loss of premium formats
1944
1943
 
1945
1944
  #### youtube-ejs
1946
1945
  * `jitless`: Run suported Javascript engines in JIT-less mode. Supported runtimes are `deno`, `node` and `bun`. Provides better security at the cost of performance/speed. Do note that `node` and `bun` are still considered unsecure. Either `true` or `false` (default)
@@ -11,7 +11,7 @@ yt_dlp/options.py,sha256=Icc0JRiKOzITWoMujE_ihEmkCS-uCcie42XhIh8LvS4,100388
11
11
  yt_dlp/plugins.py,sha256=EGmR0ydaahNspGrgszTNX4-YjHe93WOOhcw1gf6PZSs,8215
12
12
  yt_dlp/socks.py,sha256=oAuAfWM6jxI8A5hHDLEKq2U2-k9NyMB_z6nrKzNE9fg,8936
13
13
  yt_dlp/update.py,sha256=sY7gNFBQorzs7sEjRrqL5QOsTBNmGGa_FnpTtbxY1vA,25280
14
- yt_dlp/version.py,sha256=gRQ7MhWbDgmeRbfdUEVJyE03EyVUxAYDO2eD1QFfQMc,360
14
+ yt_dlp/version.py,sha256=JSzd_8lrqfcXKM05eO6acxz8-EEONE31PTh9xim7cfg,360
15
15
  yt_dlp/webvtt.py,sha256=ONkXaaNCZcX8pQhJn3iwIKyaQ34BtVDrMEdG6wRNZwM,11451
16
16
  yt_dlp/__pyinstaller/__init__.py,sha256=-c4Zo8nQGKAm8wc_LDscxMtK7zr_YhZwRnC9CMruUBE,72
17
17
  yt_dlp/__pyinstaller/hook-yt_dlp.py,sha256=5Rd0zV2pDskjY1KtT0wsjxv4hStx67sLCjUexsFvFus,1339
@@ -1066,7 +1066,7 @@ yt_dlp/extractor/youtube/_notifications.py,sha256=1nhavzW0e2QWFAWHkfbTU4sSXNp4vU
1066
1066
  yt_dlp/extractor/youtube/_redirect.py,sha256=WWWnGEkfSGBXpZFi_bWY4XcHZ8PDeK7UsndDaTYYhQg,9005
1067
1067
  yt_dlp/extractor/youtube/_search.py,sha256=E9raTPGjUD6mm81WBpT4AsaxyiTBHdNssgzeHwVeNOE,6552
1068
1068
  yt_dlp/extractor/youtube/_tab.py,sha256=NcbpPvJ4XiTDDNBtaLtCZQBKyo2HuNcq_V-AalY8zj8,115736
1069
- yt_dlp/extractor/youtube/_video.py,sha256=YxJyPO--Mi87mROriz2ivHOvShaEuc0dvcdxS_sAjG8,209898
1069
+ yt_dlp/extractor/youtube/_video.py,sha256=6XuGJoXMZiP9ni3xKamfL9QkRmsiMCbisFHbCFDP19k,209315
1070
1070
  yt_dlp/extractor/youtube/jsc/__init__.py,sha256=HaVFP8ikrLaE-ClAh39-S28WCF4S2KTRaSu7QvA28E8,289
1071
1071
  yt_dlp/extractor/youtube/jsc/_director.py,sha256=92pB-KVSs6plmE5R8gpjkZL9aeoWNR0XTnGOBXMy9go,13167
1072
1072
  yt_dlp/extractor/youtube/jsc/_registry.py,sha256=Vg9GkHKHKKPeRfUQ-XSw01mfx_2Xyodh0SJpwjawYCA,102
@@ -1122,13 +1122,13 @@ yt_dlp/utils/progress.py,sha256=t9kVvJ0oWuEqRzo9fdFbIhHUBtO_8mg348QwZ1faqLo,3261
1122
1122
  yt_dlp/utils/traversal.py,sha256=64E3RcZ56iSX50RI_HbKdDNftkETMLBaEPX791_b7yQ,18265
1123
1123
  yt_dlp/utils/jslib/__init__.py,sha256=CbdJiRA7Eh5PnjF2V4lDTcg0J0XjBMaaq0H4pCfq9Tk,87
1124
1124
  yt_dlp/utils/jslib/devalue.py,sha256=7DCGK_zUN0ZeV5hwPT06zaRMUxX_hyUyFWqs79rxw24,5621
1125
- yt_dlp-2025.12.1.10606.dev0.data/data/share/bash-completion/completions/yt-dlp,sha256=b0pb9GLseKD27CjnLE6LlhVxhfmQjmyqV6r_CRbd6ko,5989
1126
- yt_dlp-2025.12.1.10606.dev0.data/data/share/doc/yt_dlp/README.txt,sha256=K2YvExtahn7ZnFDmKGGIAeak6EwnNJUqtR8JxfvjISo,164777
1127
- yt_dlp-2025.12.1.10606.dev0.data/data/share/fish/vendor_completions.d/yt-dlp.fish,sha256=hLa6lZnm7keENpNCjml9A88hbvefdsdoOpAiaNCVyHo,51488
1128
- yt_dlp-2025.12.1.10606.dev0.data/data/share/man/man1/yt-dlp.1,sha256=p4fIebSfwPwI_Y5nVa5Emw2vJ6EI2G2rvHWn-iiICvs,159262
1129
- yt_dlp-2025.12.1.10606.dev0.data/data/share/zsh/site-functions/_yt-dlp,sha256=pNhu8tT4ZKrksLRI2mXLqarzGGhnOlm_hkCBVhSxLzg,5985
1130
- yt_dlp-2025.12.1.10606.dev0.dist-info/METADATA,sha256=GdHw-AOlr1gIwKpUAwCCxKzxLr1pSxkAoKeiESqwMS0,180161
1131
- yt_dlp-2025.12.1.10606.dev0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
1132
- yt_dlp-2025.12.1.10606.dev0.dist-info/entry_points.txt,sha256=vWfetvzYgZIwDfMW6BjCe0Cy4pmTZEXRNzxAkfYlRJA,103
1133
- yt_dlp-2025.12.1.10606.dev0.dist-info/licenses/LICENSE,sha256=fhLl30uuEsshWBuhV87SDhmGoFCN0Q0Oikq5pM-U6Fw,1211
1134
- yt_dlp-2025.12.1.10606.dev0.dist-info/RECORD,,
1125
+ yt_dlp-2025.12.1.233105.dev0.data/data/share/bash-completion/completions/yt-dlp,sha256=b0pb9GLseKD27CjnLE6LlhVxhfmQjmyqV6r_CRbd6ko,5989
1126
+ yt_dlp-2025.12.1.233105.dev0.data/data/share/doc/yt_dlp/README.txt,sha256=aO1yTJrp0tKhrdUa5fWmMnVxkrpUi0u3FoYo2uE2rVo,164489
1127
+ yt_dlp-2025.12.1.233105.dev0.data/data/share/fish/vendor_completions.d/yt-dlp.fish,sha256=hLa6lZnm7keENpNCjml9A88hbvefdsdoOpAiaNCVyHo,51488
1128
+ yt_dlp-2025.12.1.233105.dev0.data/data/share/man/man1/yt-dlp.1,sha256=YyGTf0wqbKUSsZigQ_6pOsAvxMyXNv_pd-6KmDBOrIY,158932
1129
+ yt_dlp-2025.12.1.233105.dev0.data/data/share/zsh/site-functions/_yt-dlp,sha256=pNhu8tT4ZKrksLRI2mXLqarzGGhnOlm_hkCBVhSxLzg,5985
1130
+ yt_dlp-2025.12.1.233105.dev0.dist-info/METADATA,sha256=nXmoKce4sHvNV2IiWcD9rj0P91uFyh-mvoNiKXBOEug,179882
1131
+ yt_dlp-2025.12.1.233105.dev0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
1132
+ yt_dlp-2025.12.1.233105.dev0.dist-info/entry_points.txt,sha256=vWfetvzYgZIwDfMW6BjCe0Cy4pmTZEXRNzxAkfYlRJA,103
1133
+ yt_dlp-2025.12.1.233105.dev0.dist-info/licenses/LICENSE,sha256=fhLl30uuEsshWBuhV87SDhmGoFCN0Q0Oikq5pM-U6Fw,1211
1134
+ yt_dlp-2025.12.1.233105.dev0.dist-info/RECORD,,