aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/sandia.py
diff options
context:
space:
mode:
authorremitamine <remitamine@gmail.com>2015-12-03 20:33:22 +0100
committerremitamine <remitamine@gmail.com>2015-12-03 20:33:22 +0100
commit78653a33aa00ba5205940c2baac5d9f019795b88 (patch)
tree246fd038effd402bc66de4c8afb36e6c318efcaa /youtube_dl/extractor/sandia.py
parent77302fe5c989b9cafcb675c0a03642b80fa557ff (diff)
parent24dc1ed715239f85eb3d5f71a707da1dd2bc7773 (diff)
Merge remote-tracking branch 'upstream/master' into bliptv
Diffstat (limited to 'youtube_dl/extractor/sandia.py')
-rw-r--r--youtube_dl/extractor/sandia.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/youtube_dl/extractor/sandia.py b/youtube_dl/extractor/sandia.py
index 9c88167f0..759898a49 100644
--- a/youtube_dl/extractor/sandia.py
+++ b/youtube_dl/extractor/sandia.py
@@ -6,14 +6,12 @@ import json
import re
from .common import InfoExtractor
-from ..compat import (
- compat_urllib_request,
- compat_urlparse,
-)
+from ..compat import compat_urlparse
from ..utils import (
int_or_none,
js_to_json,
mimetype2ext,
+ sanitized_Request,
unified_strdate,
)
@@ -37,7 +35,7 @@ class SandiaIE(InfoExtractor):
def _real_extract(self, url):
video_id = self._match_id(url)
- req = compat_urllib_request.Request(url)
+ req = sanitized_Request(url)
req.add_header('Cookie', 'MediasitePlayerCaps=ClientPlugins=4')
webpage = self._download_webpage(req, video_id)