View Single Post
Old 04-21-2014, 07:54 PM   #1
jande
Junior Member
jande began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Apr 2014
Device: Kindle Paperwhite
Recipe for Sächsische Zeitung

Hello,

I’m searching for a recipe for the german newspaper „Sächsische Zeitung“ (http://www.sz-online.de). It offers some RSS feeds that don’t include the paid content. So I’m looking for a way for converting the whole website to epub.

I’m not quite sure but it seems to me as if I managed to complete the login process for this site with the following code:

LOGIN = 'https://secure.sz-online.de/Customers.v3/login.asp'


def get_browser(self):
br = BasicNewsRecipe.get_browser(self)
br.open(self.INDEX)
if self.username is not None and self.password is not None:
br.open(self.LOGIN)
br.select_form(name='loginform')
br['Loginname'] = self.username
br['LoginPassword'] = self.password
br.submit(label='Anmelden')
return br

But I don’t know how to continue. How can I get the content of, for example, http://www.sz-online.de/nachrichten/politik and http://www.sz-online.de/nachrichten/wissen with just one recipe?

I would be very glad if anybody could help me.

Thanks a lot,

Jan
jande is offline   Reply With Quote