]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/noco.py
debian/README.source: Update steps used to create new release.
[youtubedl] / youtube_dl / extractor / noco.py
index 8b83e1f760141bc1a6a0ff4c56761e09b6e3d920..58b371ed7462e7d43f490cfa3b94bee15e35f0f7 100644 (file)
@@ -65,12 +65,12 @@ class NocoIE(InfoExtractor):
         self._login()
 
     def _login(self):
         self._login()
 
     def _login(self):
-        (username, password) = self._get_login_info()
+        username, password = self._get_login_info()
         if username is None:
             return
 
         login = self._download_json(
         if username is None:
             return
 
         login = self._download_json(
-            self._LOGIN_URL, None, 'Logging in as %s' % username,
+            self._LOGIN_URL, None, 'Logging in',
             data=urlencode_postdata({
                 'a': 'login',
                 'cookie': '1',
             data=urlencode_postdata({
                 'a': 'login',
                 'cookie': '1',