mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-17 14:54:31 +01:00
Merge pull request #3924 from Dineshs91/googleplus-fix
Fix download error in GooglePlus
This commit is contained in:
commit
afe08e0d4a
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user