projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0067bbe
)
FacebookIE: Fix extraction of title as Facebook has changed stuff.
author
Rogério Brito
<rbrito@ime.usp.br>
Thu, 20 Oct 2011 22:27:48 +0000
(20:27 -0200)
committer
Rogério Brito
<rbrito@ime.usp.br>
Thu, 20 Oct 2011 22:27:48 +0000
(20:27 -0200)
youtube-dl
patch
|
blob
|
history
diff --git
a/youtube-dl
b/youtube-dl
index 4449e73019a4c5da70b5c6c0c9043f13a5219625..579a33d0c9fa3e23c9c7c7ab239fa58068220af3 100755
(executable)
--- 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="(.*?)"',