aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/eitb.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/eitb.py')
-rw-r--r--hypervideo_dl/extractor/eitb.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/hypervideo_dl/extractor/eitb.py b/hypervideo_dl/extractor/eitb.py
index bd027da..66afbb6 100644
--- a/hypervideo_dl/extractor/eitb.py
+++ b/hypervideo_dl/extractor/eitb.py
@@ -1,10 +1,6 @@
from .common import InfoExtractor
-from ..utils import (
- float_or_none,
- int_or_none,
- parse_iso8601,
- sanitized_Request,
-)
+from ..networking import Request
+from ..utils import float_or_none, int_or_none, parse_iso8601
class EitbIE(InfoExtractor):
@@ -54,7 +50,7 @@ class EitbIE(InfoExtractor):
hls_url = media.get('HLS_SURL')
if hls_url:
- request = sanitized_Request(
+ request = Request(
'http://mam.eitb.eus/mam/REST/ServiceMultiweb/DomainRestrictedSecurity/TokenAuth/',
headers={'Referer': url})
token_data = self._download_json(