commit 41b610acab43c03f71fb64ae55c0912352143ae7 parent 57bdc730e264ffbc93be55fe1541ca40fce48c49 Author: Petr Půlpán <Pulpan3@gmail.com> Date: Sun, 29 Jun 2014 16:43:31 +0200 [GooglePlus] fix video title extraction Diffstat:
M | youtube_dl/extractor/googleplus.py | | | 3 | +-- |
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git 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/'