projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0bfaa2
)
[facebook] Improve title regex (Closes #5816)
author
Sergey M․
<dstftw@gmail.com>
Wed, 27 May 2015 15:25:07 +0000
(21:25 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 27 May 2015 15:25:07 +0000
(21:25 +0600)
youtube_dl/extractor/facebook.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/facebook.py
b/youtube_dl/extractor/facebook.py
index e8d6827165f2b7c40b51c084f128c0992b7e49cf..82dc27bc6ff3ed2edd3b318f3ed3d14e360ef22d 100644
(file)
--- a/
youtube_dl/extractor/facebook.py
+++ b/
youtube_dl/extractor/facebook.py
@@
-152,7
+152,7
@@
class FacebookIE(InfoExtractor):
raise ExtractorError('Cannot find video formats')
video_title = self._html_search_regex(
- r'<h2
class="uiHeaderTitle"
>([^<]*)</h2>', webpage, 'title',
+ r'<h2
\s+[^>]*class="uiHeaderTitle"[^>]*
>([^<]*)</h2>', webpage, 'title',
default=None)
if not video_title:
video_title = self._html_search_regex(