mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-04-13 20:29:57 +00:00
Update yt_dlp/extractor/youtube.py
Co-authored-by: Simon Sawicki <accounts@grub4k.xyz>
This commit is contained in:
parent
5c50a25ae7
commit
6c6e1e9548
@ -741,7 +741,9 @@ class YoutubeBaseInfoExtractor(InfoExtractor):
|
||||
if not data_sync_id:
|
||||
return None, None
|
||||
first, _, second = data_sync_id.partition('||')
|
||||
return first if second else None, second if second else first
|
||||
if second:
|
||||
return first, second
|
||||
return None, first
|
||||
|
||||
def _extract_delegated_session_id(self, *args):
|
||||
"""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user