mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[rtbf] fix extraction for python 3.2 and older
This commit is contained in:
parent
713afa705c
commit
18806e3b6b
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ def _real_extract(self, url):
|
||||||
http_url = data.get('url')
|
http_url = data.get('url')
|
||||||
if formats and http_url and re.search(height_re, http_url):
|
if formats and http_url and re.search(height_re, http_url):
|
||||||
http_url = fix_url(http_url)
|
http_url = fix_url(http_url)
|
||||||
for m3u8_f in formats.copy():
|
for m3u8_f in formats[:]:
|
||||||
height = m3u8_f.get('height')
|
height = m3u8_f.get('height')
|
||||||
if not height:
|
if not height:
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in a new issue