Skip to content

A feature-rich command-line audio/video downloader

FacebookIE: Fix extraction of title as Facebook has changed stuff.

Rogério Brito99e207bab0f6
diff --git a/youtube-dl b/youtube-dl
index 4449e73019..579a33d0c9 100755
--- a/youtube-dl
+++ b/youtube-dl
@@ -2742,7 +2742,7 @@ class FacebookIE(InfoExtractor):
def _parse_page(self, video_webpage):
"""Extract video information from page"""
# General data
- data = {'title': r'class="video_title datawrap">(.*?)</',
+ data = {'title': r'\("video_title", "(.*?)"\)',
'description': r'<div class="datawrap">(.*?)</div>',
'owner': r'\("video_owner_name", "(.*?)"\)',
'upload_date': r'data-date="(.*?)"',