mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-19 09:25:43 +00:00
FacebookIE: Fix extraction of title as Facebook has changed stuff.
This commit is contained in:
parent
0067bbe7a7
commit
99e207bab0
@ -2742,7 +2742,7 @@ class FacebookIE(InfoExtractor):
|
|||||||
def _parse_page(self, video_webpage):
|
def _parse_page(self, video_webpage):
|
||||||
"""Extract video information from page"""
|
"""Extract video information from page"""
|
||||||
# General data
|
# General data
|
||||||
data = {'title': r'class="video_title datawrap">(.*?)</',
|
data = {'title': r'\("video_title", "(.*?)"\)',
|
||||||
'description': r'<div class="datawrap">(.*?)</div>',
|
'description': r'<div class="datawrap">(.*?)</div>',
|
||||||
'owner': r'\("video_owner_name", "(.*?)"\)',
|
'owner': r'\("video_owner_name", "(.*?)"\)',
|
||||||
'upload_date': r'data-date="(.*?)"',
|
'upload_date': r'data-date="(.*?)"',
|
||||||
|
Loading…
Reference in New Issue
Block a user