Browse Source

[gorillavid] Encode fields

totalwebcasting
Sergey M․ 9 years ago
parent
commit
4abe214499
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      youtube_dl/extractor/gorillavid.py

+ 2
- 1
youtube_dl/extractor/gorillavid.py View File

@ -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')


Loading…
Cancel
Save