]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/sharesix.py
Update changelog
[youtubedl] / youtube_dl / extractor / sharesix.py
index f1ea9bdb208c79cb59c189c5a3b17a9e1dec460a..9cce5ceb43b71877202a77067458a39e5a810432 100644 (file)
@@ -4,10 +4,10 @@ from __future__ import unicode_literals
 import re
 
 from .common import InfoExtractor
-from ..compat import compat_urllib_parse
 from ..utils import (
     parse_duration,
     sanitized_Request,
+    urlencode_postdata,
 )
 
 
@@ -47,7 +47,7 @@ class ShareSixIE(InfoExtractor):
         fields = {
             'method_free': 'Free'
         }
-        post = compat_urllib_parse.urlencode(fields)
+        post = urlencode_postdata(fields)
         req = sanitized_Request(url, post)
         req.add_header('Content-type', 'application/x-www-form-urlencoded')