1
0
mirror of https://gitlab.com/ytdl-org/youtube-dl.git synced 2026-04-05 00:00:03 -04:00

[GooglePlus] fix video title extraction

This commit is contained in:
Petr Půlpán
2014-06-29 16:43:31 +02:00
parent 57bdc730e2
commit 41b610acab
+1 -2
View File
@@ -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/'