diff options
author | Remita Amine <remitamine@gmail.com> | 2019-11-10 17:02:47 +0100 |
---|---|---|
committer | Remita Amine <remitamine@gmail.com> | 2019-11-10 17:02:47 +0100 |
commit | 433e0710585e2414697cff6d444204e1db950bd7 (patch) | |
tree | 5b810d871e76ef9be20efd72cc1a3e7df59f86d7 /youtube_dl | |
parent | 9e46d1f8aadd38f6de7c2b921b294e67ed2267eb (diff) |
[facebook] fix posts video data extraction(closes #22473)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/facebook.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/facebook.py b/youtube_dl/extractor/facebook.py index c723726b7..ce64e2683 100644 --- a/youtube_dl/extractor/facebook.py +++ b/youtube_dl/extractor/facebook.py @@ -334,7 +334,7 @@ class FacebookIE(InfoExtractor): if not video_data: server_js_data = self._parse_json( self._search_regex( - r'bigPipe\.onPageletArrive\(({.+?})\)\s*;\s*}\s*\)\s*,\s*["\']onPageletArrive\s+(?:stream_pagelet|pagelet_group_mall|permalink_video_pagelet)', + r'bigPipe\.onPageletArrive\(({.+?})\)\s*;\s*}\s*\)\s*,\s*["\']onPageletArrive\s+(?:pagelet_group_mall|permalink_video_pagelet|hyperfeed_story_id_\d+)', webpage, 'js data', default='{}'), video_id, transform_source=js_to_json, fatal=False) video_data = extract_from_jsmods_instances(server_js_data) |