projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57bdc73
)
[GooglePlus] fix video title extraction
author
Petr Půlpán
<Pulpan3@gmail.com>
Sun, 29 Jun 2014 14:43:31 +0000
(16:43 +0200)
committer
Petr Půlpán
<Pulpan3@gmail.com>
Sun, 29 Jun 2014 14:43:31 +0000
(16:43 +0200)
youtube_dl/extractor/googleplus.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/googleplus.py
b/youtube_dl/extractor/googleplus.py
index cc29a7e5df2059096afe89ecf7175f317a755e94..07d994b448040fb80912593b9cdae4ac66e63bbb 100644
(file)
--- a/
youtube_dl/extractor/googleplus.py
+++ b/
youtube_dl/extractor/googleplus.py
@@
-52,8
+52,7
@@
class GooglePlusIE(InfoExtractor):
# Extract title
# Get the first line for title
- video_title = self._html_search_regex(r'<meta name\=\"Description\" content\=\"(.*?)[\n<"]',
- webpage, 'title', default='NA')
+ video_title = self._og_search_description(webpage).splitlines()[0]
# Step 2, Simulate clicking the image box to launch video
DOMAIN = 'https://plus.google.com/'