mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-04 20:33:37 +02:00
...
This commit is contained in:
parent
39dd6039ab
commit
26ab5148fa
1 changed files with 1 additions and 0 deletions
|
|
@ -144,6 +144,7 @@ def login_to_gmail(self):
|
|||
pw = re.search(r'(?s)remoteuser = .*@gmail.com.*?remotepass = (\S+)',
|
||||
raw).group(1).strip()
|
||||
br = mechanize.Browser()
|
||||
br.set_handle_robots(False)
|
||||
br.open('http://gmail.com')
|
||||
br.select_form(nr=0)
|
||||
br.form['Email'] = self.USERNAME
|
||||
|
|
|
|||
Loading…
Reference in a new issue