فهرست منبع

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 سال پیش
والد
کامیت
5c67601931
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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')
 
         # 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')