mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-08-15 07:04:14 +09:00
Move source check back up to the if statement
We don't need to check if the 360p source is there
This commit is contained in:
parent
b6b629f686
commit
dbedd60248
@ -87,10 +87,10 @@ class VidLiiIE(InfoExtractor):
|
|||||||
formats = []
|
formats = []
|
||||||
if len(sources) > 1:
|
if len(sources) > 1:
|
||||||
add_format(sources[1][1])
|
add_format(sources[1][1])
|
||||||
|
self._check_formats(formats, video_id)
|
||||||
if len(sources) > 0:
|
if len(sources) > 0:
|
||||||
add_format(sources[0][1])
|
add_format(sources[0][1])
|
||||||
|
|
||||||
self._check_formats(formats, video_id)
|
|
||||||
self._sort_formats(formats)
|
self._sort_formats(formats)
|
||||||
|
|
||||||
title = self._html_search_regex(
|
title = self._html_search_regex(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user