1
0
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-12-18 15:36:38 +00:00

Merge pull request #3924 from Dineshs91/googleplus-fix

Fix download error in GooglePlus
This commit is contained in:
Sergey M. 2014-10-12 00:48:58 +07:00
commit afe08e0d4a

View File

@ -64,7 +64,7 @@ class GooglePlusIE(InfoExtractor):
webpage = self._download_webpage(video_page, video_id, 'Downloading video page') webpage = self._download_webpage(video_page, video_id, 'Downloading video page')
# Extract video links all sizes # Extract video links all sizes
pattern = r'\d+,\d+,(\d+),"(http\://redirector\.googlevideo\.com.*?)"' pattern = r'\d+,\d+,(\d+),"(https\://redirector\.googlevideo\.com.*?)"'
mobj = re.findall(pattern, webpage) mobj = re.findall(pattern, webpage)
if len(mobj) == 0: if len(mobj) == 0:
raise ExtractorError('Unable to extract video links') raise ExtractorError('Unable to extract video links')