aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorPetr Půlpán <Pulpan3@gmail.com>2014-06-29 16:43:31 +0200
committerPetr Půlpán <Pulpan3@gmail.com>2014-06-29 16:43:31 +0200
commit41b610acab43c03f71fb64ae55c0912352143ae7 (patch)
tree1ab477dab156cba7162fd630a6197c6bc81a64bb /youtube_dl/extractor
parent57bdc730e264ffbc93be55fe1541ca40fce48c49 (diff)
[GooglePlus] fix video title extraction
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/googleplus.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube_dl/extractor/googleplus.py b/youtube_dl/extractor/googleplus.py
index cc29a7e5d..07d994b44 100644
--- 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/'