]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/patreon.py
Merge tag 'upstream/2016.12.01'
[youtubedl] / youtube_dl / extractor / patreon.py
index ec8876c28551af6e717ac49cbd22da46d096c67c..a6a2c273f240db52c967a12a96484261bd37664a 100644 (file)
@@ -1,4 +1,4 @@
-# encoding: utf-8
+# coding: utf-8
 from __future__ import unicode_literals
 
 from .common import InfoExtractor
@@ -65,7 +65,7 @@ class PatreonIE(InfoExtractor):
 
         request = sanitized_Request(
             'https://www.patreon.com/processLogin',
-            compat_urllib_parse.urlencode(login_form).encode('utf-8')
+            compat_urllib_parse_urlencode(login_form).encode('utf-8')
         )
         login_page = self._download_webpage(request, None, note='Logging in as %s' % username)