View Single Post
Old 02-08-2010, 01:11 PM   #1390
kiklop74
Guru
kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.
 
kiklop74's Avatar
 
Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
Quote:
Originally Posted by exdream View Post
Please help!
I'm trying to figure out a recipe for http://szmobil.sueddeutsche.de/.

Try this in your recipe:

Code:
import urllib

....


    def get_browser(self):
        br = BasicNewsRecipe.get_browser()
        br.open('http://szmobil.sueddeutsche.de/login.php')
        if self.username is not None and self.password is not None:
            data = urllib.urlencode({ 'username':self.username
                                     ,'password':self.password
                                     ,'submit':'Login'
                                     ,'id':'0'
                                   })
            br.open('http://szmobil.sueddeutsche.de/login.php',data)
        return br
kiklop74 is offline