projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e94cb5a
)
[gorillavid] Encode fields
author
Sergey M․
<dstftw@gmail.com>
Sun, 6 Sep 2015 01:30:02 +0000
(07:30 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 6 Sep 2015 01:30:02 +0000
(07:30 +0600)
youtube_dl/extractor/gorillavid.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/gorillavid.py
b/youtube_dl/extractor/gorillavid.py
index 1024a5c225e8baef02661152f7a04d5ae73abe4f..1a42de2d53ea585094716156294c9e212f4e5f5c 100644
(file)
--- 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')