[rtbf] fix extraction for python 3.2 and older

pull/8/head
Remita Amine 2018-06-18 19:08:54 +01:00
rodzic 713afa705c
commit 18806e3b6b
1 zmienionych plików z 1 dodań i 1 usunięć
youtube_dl/extractor

Wyświetl plik

@ -99,7 +99,7 @@ class RTBFIE(InfoExtractor):
http_url = data.get('url')
if formats and http_url and re.search(height_re, http_url):
http_url = fix_url(http_url)
for m3u8_f in formats.copy():
for m3u8_f in formats[:]:
height = m3u8_f.get('height')
if not height:
continue