Browse Source

Revert "Fix GooglePlusIE: the video_page url has changed of place"

The old method is working again.

This reverts commit 449d5c910cefdbfdfc5aa13d682dc46988a5318e.
Jaime Marquínez Ferrándiz 12 years ago
parent
commit
5c67601931
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/InfoExtractors.py

+ 1 - 1
youtube_dl/InfoExtractors.py

@@ -3128,7 +3128,7 @@ class GooglePlusIE(InfoExtractor):
             webpage, 'title', default=u'NA')
             webpage, 'title', default=u'NA')
 
 
         # Step 2, Stimulate clicking the image box to launch video
         # 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, u'video page URL')
         webpage = self._download_webpage(video_page, video_id, u'Downloading video page')
         webpage = self._download_webpage(video_page, video_id, u'Downloading video page')