fix login on youtube
This commit is contained in:
parent
391edde943
commit
071bd9c597
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ class ForbiddenVideo(UserError):
|
|||
class BaseYoutubePage(BasePage):
|
||||
def is_logged(self):
|
||||
try:
|
||||
self.parser.select(self.document.getroot(), 'span#masthead-user-expander', 1)
|
||||
self.parser.select(self.document.getroot(), 'span#yt-masthead-user-displayname', 1)
|
||||
except BrokenPageError:
|
||||
return False
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue