logo

youtube-dl

[mirror] Download/Watch videos from video hostersgit clone https://hacktivis.me/git/mirror/youtube-dl.git
commit: 734dfbb4e3ad4ee4d98609dc902ac864b94033a4
parent ddc080a562cce984ac4a86969f511b1ae59421bf
Author: Seonghyeon Cho <seonghyeoncho96@gmail.com>
Date:   Wed, 13 Oct 2021 20:27:40 +0900

Remove redundant assigning `format_id`

Diffstat:

Myoutube_dl/extractor/uol.py1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/uol.py b/youtube_dl/extractor/uol.py @@ -95,7 +95,6 @@ class UOLIE(InfoExtractor): if v: query[k] = v f_url = update_url_query(f_url, query) - format_id = format_id if format_id == 'HLS': m3u8_formats = self._extract_m3u8_formats( f_url, media_id, 'mp4', 'm3u8_native',