mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-19 09:25:43 +00:00
parent
ac7409eec5
commit
4cb18ab1b9
@ -41,7 +41,7 @@ def _extract(self, content_tree_url, video_id, domain='example.org', supportedfo
|
|||||||
for stream in cur_auth_data['streams']:
|
for stream in cur_auth_data['streams']:
|
||||||
s_url = base64.b64decode(
|
s_url = base64.b64decode(
|
||||||
stream['url']['data'].encode('ascii')).decode('utf-8')
|
stream['url']['data'].encode('ascii')).decode('utf-8')
|
||||||
if s_url in urls:
|
if not s_url or s_url in urls:
|
||||||
continue
|
continue
|
||||||
urls.append(s_url)
|
urls.append(s_url)
|
||||||
ext = determine_ext(s_url, None)
|
ext = determine_ext(s_url, None)
|
||||||
|
Loading…
Reference in New Issue
Block a user