projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[rtlnl] Extend _VALID_URL (#26549) (closes #25821)
[youtube-dl]
/
youtube_dl
/
extractor
/
noco.py
diff --git
a/youtube_dl/extractor/noco.py
b/youtube_dl/extractor/noco.py
index 8b83e1f760141bc1a6a0ff4c56761e09b6e3d920..30df905af294cae536710ccce596b30f0a80e117 100644
(file)
--- a/
youtube_dl/extractor/noco.py
+++ b/
youtube_dl/extractor/noco.py
@@
-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',
@@
-115,7
+115,7
@@
class NocoIE(InfoExtractor):
# Timestamp adjustment offset between server time and local time
# must be calculated in order to use timestamps closest to server's
# Timestamp adjustment offset between server time and local time
# must be calculated in order to use timestamps closest to server's
- # in all API requests (see https://github.com/
rg3
/youtube-dl/issues/7864)
+ # in all API requests (see https://github.com/
ytdl-org
/youtube-dl/issues/7864)
webpage = self._download_webpage(url, video_id)
player_url = self._search_regex(
webpage = self._download_webpage(url, video_id)
player_url = self._search_regex(