From dbedd602487ae26148477f8cd05475413f4e9a0e Mon Sep 17 00:00:00 2001 From: Paper <37962225+mrpapersonic@users.noreply.github.com> Date: Sat, 21 May 2022 16:24:34 -0400 Subject: [PATCH] Move source check back up to the if statement We don't need to check if the 360p source is there --- youtube_dl/extractor/vidlii.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/vidlii.py b/youtube_dl/extractor/vidlii.py index fc43d0794..390d7fe5c 100644 --- a/youtube_dl/extractor/vidlii.py +++ b/youtube_dl/extractor/vidlii.py @@ -87,10 +87,10 @@ class VidLiiIE(InfoExtractor): formats = [] if len(sources) > 1: add_format(sources[1][1]) + self._check_formats(formats, video_id) if len(sources) > 0: add_format(sources[0][1]) - self._check_formats(formats, video_id) self._sort_formats(formats) title = self._html_search_regex(