Quantcast
Channel: MobileRead Forums
Viewing all articles
Browse latest Browse all 50387

Cannot select login form

$
0
0
Hi

I'm trying to download lesson notes and tips from duolingo.com. It requires login to access any lesson page, but I am unable to select the form

Code:

        def get_browser(self):
                br = BasicNewsRecipe.get_browser(self)
                br.open('http://en.duolingo.com/Signin')
                br.select_form(nr=0)

I get: mechanize._mechanize.FormNotFoundError: no form matching nr 0

On the page, you have to click Login button to access pop down login form. That's probably the problem. Any hint how I can deal with this?

Thanks in advance

Viewing all articles
Browse latest Browse all 50387

Trending Articles