mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-18 15:11:45 +00:00
parent
8f122fa070
commit
bc8ab44ea0
@ -117,7 +117,7 @@ class ITVIE(InfoExtractor):
|
|||||||
# See: https://github.com/yt-dlp/yt-dlp/issues/986
|
# See: https://github.com/yt-dlp/yt-dlp/issues/986
|
||||||
platform_tag_subs, featureset_subs = next(
|
platform_tag_subs, featureset_subs = next(
|
||||||
((platform_tag, featureset)
|
((platform_tag, featureset)
|
||||||
for platform_tag, featuresets in reversed(variants.items()) for featureset in featuresets
|
for platform_tag, featuresets in reversed(list(variants.items())) for featureset in featuresets
|
||||||
if try_get(featureset, lambda x: x[2]) == 'outband-webvtt'),
|
if try_get(featureset, lambda x: x[2]) == 'outband-webvtt'),
|
||||||
(None, None))
|
(None, None))
|
||||||
|
|
||||||
@ -146,7 +146,7 @@ class ITVIE(InfoExtractor):
|
|||||||
# See: https://github.com/yt-dlp/yt-dlp/issues/986
|
# See: https://github.com/yt-dlp/yt-dlp/issues/986
|
||||||
platform_tag_video, featureset_video = next(
|
platform_tag_video, featureset_video = next(
|
||||||
((platform_tag, featureset)
|
((platform_tag, featureset)
|
||||||
for platform_tag, featuresets in reversed(variants.items()) for featureset in featuresets
|
for platform_tag, featuresets in reversed(list(variants.items())) for featureset in featuresets
|
||||||
if try_get(featureset, lambda x: x[:2]) == ['hls', 'aes']),
|
if try_get(featureset, lambda x: x[:2]) == ['hls', 'aes']),
|
||||||
(None, None))
|
(None, None))
|
||||||
if not platform_tag_video or not featureset_video:
|
if not platform_tag_video or not featureset_video:
|
||||||
|
Loading…
Reference in New Issue
Block a user