aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/regiotv.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/regiotv.py')
-rw-r--r--hypervideo_dl/extractor/regiotv.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/hypervideo_dl/extractor/regiotv.py b/hypervideo_dl/extractor/regiotv.py
index 6114841..edb6ae5 100644
--- a/hypervideo_dl/extractor/regiotv.py
+++ b/hypervideo_dl/extractor/regiotv.py
@@ -1,10 +1,6 @@
from .common import InfoExtractor
-
-from ..utils import (
- sanitized_Request,
- xpath_text,
- xpath_with_ns,
-)
+from ..networking import Request
+from ..utils import xpath_text, xpath_with_ns
class RegioTVIE(InfoExtractor):
@@ -33,7 +29,7 @@ class RegioTVIE(InfoExtractor):
SOAP_TEMPLATE = '<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><{0} xmlns="http://v.telvi.de/"><key xsi:type="xsd:string">{1}</key></{0}></soap:Body></soap:Envelope>'
- request = sanitized_Request(
+ request = Request(
'http://v.telvi.de/',
SOAP_TEMPLATE.format('GetHTML5VideoData', key).encode('utf-8'))
video_data = self._download_xml(request, video_id, 'Downloading video XML')