mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-22 08:47:41 +00:00
parent
70a4a8b752
commit
d524ac1898
1 changed files with 2 additions and 1 deletions
|
@ -38,7 +38,8 @@ class SafariBaseIE(InfoExtractor):
|
|||
'Downloading login page')
|
||||
|
||||
def is_logged(urlh):
|
||||
return 'learning.oreilly.com/home/' in urlh.geturl()
|
||||
return ('https://learning.oreilly.com/member/login/' == urlh.geturl()
|
||||
or 'learning.oreilly.com/home/' in urlh.geturl())
|
||||
|
||||
if is_logged(urlh):
|
||||
self.LOGGED_IN = True
|
||||
|
|
Loading…
Reference in a new issue