aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/vidlii.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/vidlii.py')
-rw-r--r--hypervideo_dl/extractor/vidlii.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/hypervideo_dl/extractor/vidlii.py b/hypervideo_dl/extractor/vidlii.py
index 5933783..44353b7 100644
--- a/hypervideo_dl/extractor/vidlii.py
+++ b/hypervideo_dl/extractor/vidlii.py
@@ -1,8 +1,8 @@
import re
from .common import InfoExtractor
+from ..networking import HEADRequest
from ..utils import (
- HEADRequest,
format_field,
float_or_none,
get_element_by_id,
@@ -70,6 +70,7 @@ class VidLiiIE(InfoExtractor):
r'src\s*:\s*(["\'])(?P<url>(?:https?://)?(?:(?!\1).)+)\1',
webpage) or []]
for source in sources:
+ source = urljoin(url, source)
height = int(self._search_regex(r'(\d+).mp4', source, 'height', default=360))
if self._request_webpage(HEADRequest(source), video_id, f'Checking {height}p url', errnote=False):
formats.append({