diff options
Diffstat (limited to 'youtube_dl/extractor/streamcloud.py')
| -rw-r--r-- | youtube_dl/extractor/streamcloud.py | 8 | 
1 files changed, 3 insertions, 5 deletions
| diff --git a/youtube_dl/extractor/streamcloud.py b/youtube_dl/extractor/streamcloud.py index d4e134015..77841b946 100644 --- a/youtube_dl/extractor/streamcloud.py +++ b/youtube_dl/extractor/streamcloud.py @@ -4,10 +4,8 @@ from __future__ import unicode_literals  import re  from .common import InfoExtractor -from ..compat import ( -    compat_urllib_parse, -    compat_urllib_request, -) +from ..compat import compat_urllib_parse +from ..utils import sanitized_Request  class StreamcloudIE(InfoExtractor): @@ -43,7 +41,7 @@ class StreamcloudIE(InfoExtractor):          headers = {              b'Content-Type': b'application/x-www-form-urlencoded',          } -        req = compat_urllib_request.Request(url, post, headers) +        req = sanitized_Request(url, post, headers)          webpage = self._download_webpage(              req, video_id, note='Downloading video page ...') | 
