diff options
author | nixxo <c.nixxo@gmail.com> | 2020-11-04 18:14:02 +0100 |
---|---|---|
committer | nixxo <c.nixxo@gmail.com> | 2020-11-04 18:14:02 +0100 |
commit | ab36800b1fc7c17ab587bfe8015a0260db635efb (patch) | |
tree | 72d31ecce9284f64a373cc551ea431b641853bd3 | |
parent | 764876a01f2f9c1eb59691678c5629fe283a39ce (diff) | |
download | hypervideo-pre-ab36800b1fc7c17ab587bfe8015a0260db635efb.tar.lz hypervideo-pre-ab36800b1fc7c17ab587bfe8015a0260db635efb.tar.xz hypervideo-pre-ab36800b1fc7c17ab587bfe8015a0260db635efb.zip |
[la7] fix missing protocol
-rw-r--r-- | youtube_dlc/extractor/la7.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/youtube_dlc/extractor/la7.py b/youtube_dlc/extractor/la7.py index f5d4564fa..74b006fb5 100644 --- a/youtube_dlc/extractor/la7.py +++ b/youtube_dlc/extractor/la7.py @@ -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( |