mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-13 14:37:43 +01:00
[facebook] Don't override variable in list comprehension
This commit is contained in:
parent
31db8709bf
commit
f6f6217a98
@ -290,8 +290,8 @@ def _real_extract(self, url):
|
|||||||
|
|
||||||
if '/posts/' in url:
|
if '/posts/' in url:
|
||||||
entries = [
|
entries = [
|
||||||
self.url_result('facebook:%s' % video_id, FacebookIE.ie_key())
|
self.url_result('facebook:%s' % vid, FacebookIE.ie_key())
|
||||||
for video_id in self._parse_json(
|
for vid in self._parse_json(
|
||||||
self._search_regex(
|
self._search_regex(
|
||||||
r'(["\'])video_ids\1\s*:\s*(?P<ids>\[.+?\])',
|
r'(["\'])video_ids\1\s*:\s*(?P<ids>\[.+?\])',
|
||||||
webpage, 'video ids', group='ids'),
|
webpage, 'video ids', group='ids'),
|
||||||
|
Loading…
Reference in New Issue
Block a user