View Single Post
Old 05-14-2011, 12:42 PM   #1
schuster
Zealot
schuster doesn't litterschuster doesn't litter
 
Posts: 119
Karma: 100
Join Date: Jan 2011
Location: Germany / NRW /Köln
Device: prs-650 / prs-350 /kindle 3
recipe for Astronomie heute - german

Code:
import string, re
from calibre import strftime
from calibre.web.feeds.recipes import BasicNewsRecipe
from calibre.ebooks.BeautifulSoup import BeautifulSoup
class AdvancedUserRecipe1303841067(BasicNewsRecipe):
    title          = u'Astronomie heute'
    __author__  = 'schuster'
    oldest_article = 7
    max_articles_per_feed = 100
    def print_version(self, url):
          return url + '&_druckversion=1'
    feeds          = [(u'ASTROnews', u'http://www.astronomie-heute.de/artikel/865248')]
    filter_regexps = [r'ads\.doubleclick\.net']
schuster is offline   Reply With Quote