Skip to content

Commit 8ab5522

Browse files
[CI] auto update yt_dlp to upstream commit 1e0c77ddcce335a1875ecc17d93ed6ff3fabd975
1 parent 327c0ae commit 8ab5522

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

lib/yt_dlp/extractor/youtube/_base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,12 +309,12 @@ class SubsPoTokenPolicy(BasePoTokenPolicy):
309309
'client': {
310310
'clientName': 'TVHTML5',
311311
'clientVersion': '7.20250312.16.00',
312-
# See: https://github.com/youtube/cobalt/blob/main/cobalt/browser/user_agent/user_agent_platform_info.cc#L506
313-
'userAgent': 'Mozilla/5.0 (ChromiumStylePlatform) Cobalt/25.lts.30.1034943-gold (unlike Gecko), Unknown_TV_Unknown_0/Unknown (Unknown, Unknown)',
312+
'userAgent': 'Mozilla/5.0 (ChromiumStylePlatform) Cobalt/Version',
314313
},
315314
},
316315
'INNERTUBE_CONTEXT_CLIENT_NAME': 7,
317316
'SUPPORTS_COOKIES': True,
317+
'PLAYER_PARAMS': '8AEB',
318318
},
319319
'tv_simply': {
320320
'INNERTUBE_CONTEXT': {

lib/yt_dlp/postprocessor/xattrpp.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ def run(self, info):
5454
if infoname == 'upload_date':
5555
value = hyphenate_date(value)
5656
elif xattrname == 'com.apple.metadata:kMDItemWhereFroms':
57+
# NTFS ADS doesn't support colons in names
58+
if os.name == 'nt':
59+
continue
5760
value = self.APPLE_PLIST_TEMPLATE % value
5861
write_xattr(info['filepath'], xattrname, value.encode())
5962

lib/yt_dlp_version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
f799a4b4728e54dbe0d35e604a15238c13648600
1+
1e0c77ddcce335a1875ecc17d93ed6ff3fabd975

0 commit comments

Comments
 (0)