youtube: Use https
gdata seems to do requests in plain HTTP, though
This commit is contained in:
parent
c30057d97f
commit
0c1ac040e3
2 changed files with 3 additions and 3 deletions
|
|
@ -45,7 +45,7 @@ class YoutubeBrowser(BaseBrowser):
|
|||
return logged
|
||||
|
||||
def login(self):
|
||||
self.location('https://accounts.google.com/ServiceLogin?uilel=3&service=youtube&passive=true&continue=http%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26nomobiletemp%3D1%26hl%3Den_US%26next%3D%252F&hl=en_US<mpl=sso')
|
||||
self.location('https://accounts.google.com/ServiceLogin?uilel=3&service=youtube&passive=true&continue=https%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26nomobiletemp%3D1%26hl%3Den_US%26next%3D%252F&hl=en_US<mpl=sso')
|
||||
self.page.login(self.username, self.password)
|
||||
|
||||
def get_video_url(self, player_url):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue