aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/gorillavid.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-09-06 07:30:02 +0600
committerSergey M․ <dstftw@gmail.com>2015-09-06 07:30:02 +0600
commit4abe2144994dce59b823d2bc7ea3ddc90d68b2c8 (patch)
tree1a35ddbfd570cead18d1937d9bd29b5eeaeee66c /youtube_dl/extractor/gorillavid.py
parente94cb5ae7e61627b3772c57c85195d0ce5fcf5bf (diff)
[gorillavid] Encode fields
Diffstat (limited to 'youtube_dl/extractor/gorillavid.py')
-rw-r--r--youtube_dl/extractor/gorillavid.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/gorillavid.py b/youtube_dl/extractor/gorillavid.py
index 1024a5c22..1a42de2d5 100644
--- a/youtube_dl/extractor/gorillavid.py
+++ b/youtube_dl/extractor/gorillavid.py
@@ -10,6 +10,7 @@ from ..compat import (
)
from ..utils import (
ExtractorError,
+ encode_dict,
int_or_none,
)
@@ -88,7 +89,7 @@ class GorillaVidIE(InfoExtractor):
if countdown:
self._sleep(countdown, video_id)
- post = compat_urllib_parse.urlencode(fields)
+ post = compat_urllib_parse.urlencode(encode_dict(fields))
req = compat_urllib_request.Request(url, post)
req.add_header('Content-type', 'application/x-www-form-urlencoded')