aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRogério Brito <rbrito@ime.usp.br>2011-10-20 20:27:48 -0200
committerRogério Brito <rbrito@ime.usp.br>2011-10-20 20:27:48 -0200
commit99e207bab0f6e3c2e70fc5e4ba2154ca536de0eb (patch)
treed3b9a02e1d4be2b55cfd708c5d3ad3793ac22a05
parent0067bbe7a7c7211b3addf120f48ddda611da127e (diff)
downloadyoutube-dl-99e207bab0f6e3c2e70fc5e4ba2154ca536de0eb.tar.xz
FacebookIE: Fix extraction of title as Facebook has changed stuff.
-rwxr-xr-xyoutube-dl2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube-dl b/youtube-dl
index 4449e7301..579a33d0c 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="(.*?)"',