aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/ceskatelevize.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-03-26 02:19:24 +0600
committerSergey M․ <dstftw@gmail.com>2016-03-26 02:19:24 +0600
commit6e6bc8dae577c29c072ffc5c25078b5668435435 (patch)
tree600a978f35617628856094486422e13c78d67ee7 /youtube_dl/extractor/ceskatelevize.py
parent15707c7e024f1f29e7abd8ddaa362196ef2d4af6 (diff)
Use urlencode_postdata across the codebase
Diffstat (limited to 'youtube_dl/extractor/ceskatelevize.py')
-rw-r--r--youtube_dl/extractor/ceskatelevize.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/ceskatelevize.py b/youtube_dl/extractor/ceskatelevize.py
index d93108df5..6652c8e42 100644
--- a/youtube_dl/extractor/ceskatelevize.py
+++ b/youtube_dl/extractor/ceskatelevize.py
@@ -6,13 +6,13 @@ import re
from .common import InfoExtractor
from ..compat import (
compat_urllib_parse_unquote,
- compat_urllib_parse_urlencode,
compat_urllib_parse_urlparse,
)
from ..utils import (
ExtractorError,
float_or_none,
sanitized_Request,
+ urlencode_postdata,
)
@@ -102,7 +102,7 @@ class CeskaTelevizeIE(InfoExtractor):
req = sanitized_Request(
'http://www.ceskatelevize.cz/ivysilani/ajax/get-client-playlist',
- data=compat_urllib_parse_urlencode(data))
+ data=urlencode_postdata(data))
req.add_header('Content-type', 'application/x-www-form-urlencoded')
req.add_header('x-addr', '127.0.0.1')