mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-09 09:19:45 +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 @@ def _real_extract(self, url):
|
|||||||
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