aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2018-06-18 19:08:54 +0100
committerRemita Amine <remitamine@gmail.com>2018-06-18 19:10:43 +0100
commit18806e3b6b95d03c773c89e465e1b28b2f12a618 (patch)
treee5da28336aa7b7a04dbc18728a9106b06dd2e492 /youtube_dl
parent713afa705c228c2caa6054fff19a7690ba19d64a (diff)
[rtbf] fix extraction for python 3.2 and older
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/rtbf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/rtbf.py b/youtube_dl/extractor/rtbf.py
index acff9766a..3b0f3080b 100644
--- a/youtube_dl/extractor/rtbf.py
+++ b/youtube_dl/extractor/rtbf.py
@@ -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