Revert "Fix GooglePlusIE: the video_page url has changed of place"
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Thu, 20 Jun 2013 11:52:15 +0000 (13:52 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Thu, 20 Jun 2013 11:53:04 +0000 (13:53 +0200)
The old method is working again.

This reverts commit 449d5c910cefdbfdfc5aa13d682dc46988a5318e.

youtube_dl/InfoExtractors.py

index 76f39b09efb626a30168916fb9b65b5d2ffad9f3..59f65aca37108945ac8e1c9aca0dbe9db227225b 100755 (executable)
@@ -3128,7 +3128,7 @@ class GooglePlusIE(InfoExtractor):
             webpage, 'title', default=u'NA')
 
         # Step 2, Stimulate clicking the image box to launch video
-        video_page = self._search_regex('href="(https\://plus\.google\.com/photos/.*?)"',
+        video_page = self._search_regex('"(https\://plus\.google\.com/photos/.*?)",,"image/jpeg","video"\]',
             webpage, u'video page URL')
         webpage = self._download_webpage(video_page, video_id, u'Downloading video page')