mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-24 00:01:54 +01:00
Compare commits
5 Commits
738e0f97c3
...
279ec5e833
Author | SHA1 | Date | |
---|---|---|---|
|
279ec5e833 | ||
|
4bce9e61ba | ||
|
f09bf69251 | ||
|
f1be31fa80 | ||
|
1a6fdcef9c |
|
@ -56,6 +56,7 @@ class WDRIE(InfoExtractor):
|
||||||
|
|
||||||
formats = []
|
formats = []
|
||||||
subtitles = {}
|
subtitles = {}
|
||||||
|
seen_manifest_urls = set()
|
||||||
|
|
||||||
# check if the metadata contains a direct URL to a file
|
# check if the metadata contains a direct URL to a file
|
||||||
for kind, media in media_resource.items():
|
for kind, media in media_resource.items():
|
||||||
|
@ -76,6 +77,10 @@ class WDRIE(InfoExtractor):
|
||||||
if tag_name not in ('videoURL', 'audioURL'):
|
if tag_name not in ('videoURL', 'audioURL'):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
if medium_url in seen_manifest_urls:
|
||||||
|
continue
|
||||||
|
seen_manifest_urls.add(medium_url)
|
||||||
|
|
||||||
ext = determine_ext(medium_url)
|
ext = determine_ext(medium_url)
|
||||||
if ext == 'm3u8':
|
if ext == 'm3u8':
|
||||||
formats.extend(self._extract_m3u8_formats(
|
formats.extend(self._extract_m3u8_formats(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user