diff options
author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2016-03-10 15:17:04 +0100 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2016-03-10 15:17:04 +0100 |
commit | f6f6217a98adc07c41f7a45a9068aeaf706ad862 (patch) | |
tree | d4caaf5a8479c6e79d06690182cead2e3d972452 | |
parent | 31db8709bff7209d215c00eb93bdb2cf178d7f58 (diff) |
[facebook] Don't override variable in list comprehension
-rw-r--r-- | youtube_dl/extractor/facebook.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/facebook.py b/youtube_dl/extractor/facebook.py index 49231d3e9..5e8589479 100644 --- a/youtube_dl/extractor/facebook.py +++ b/youtube_dl/extractor/facebook.py @@ -290,8 +290,8 @@ class FacebookIE(InfoExtractor): if '/posts/' in url: entries = [ - self.url_result('facebook:%s' % video_id, FacebookIE.ie_key()) - for video_id in self._parse_json( + self.url_result('facebook:%s' % vid, FacebookIE.ie_key()) + for vid in self._parse_json( self._search_regex( r'(["\'])video_ids\1\s*:\s*(?P<ids>\[.+?\])', webpage, 'video ids', group='ids'), |