1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-12-25 02:10:58 +01:00

Merge pull request #117 from nixxo/la7-proto-fix

[la7] fix missing protocol
This commit is contained in:
Tom-Oliver Heidel 2020-11-05 17:25:58 +01:00 committed by GitHub
commit 06a8be981b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,6 +36,9 @@ class LA7IE(InfoExtractor):
def _real_extract(self, url):
video_id = self._match_id(url)
if not url.startswith('http'):
url = '%s//%s' % (self.http_scheme(), url)
webpage = self._download_webpage(url, video_id)
player_data = self._search_regex(