|
|
#1 |
|
Zealot
![]() ![]() Posts: 119
Karma: 100
Join Date: Jan 2011
Location: Germany / NRW /Köln
Device: prs-650 / prs-350 /kindle 3
|
recipe for "ALDI Süd Wochenflyer" - german
then you know what in your basket.
![]() only for german shopper interesting Code:
from time import strftime
from calibre.web.feeds.news import BasicNewsRecipe
class AdvancedUserRecipe1305470859(BasicNewsRecipe):
title = 'Aldi Süd - Wochenflyer'
__author__ = 'schuster'
oldest_article = 15
max_articles_per_feed = 100
language = 'de'
lang = 'de-DE'
cover_url = 'http://www.aldi-sued.de/de/html/layout_img/ALDI_SUED_Logo_weiss.jpg'
masthead_url = 'http://www.aldi-sued.de/de/html/layout_img/ALDI_SUED_Logo_weiss.jpg'
extra_css = '''
h1{font-family:Arial,Helvetica,sans-serif; font-weight:bold;font-size:large;}
h4{font-family:Arial,Helvetica,sans-serif; font-weight:normal;font-size:small;}
img {min-width:300px; max-width:600px; min-height:300px; max-height:800px}
p{font-family:Arial,Helvetica,sans-serif;font-size:small;}
body{font-family:Helvetica,Arial,sans-serif;font-size:small;}
'''
remove_tags = [dict(attrs={'class':['path', 'header', 'footer', 'teasercontent', 'info', 'zwischenhead', 'artikelsplit']}),
dict(id=['navTop', 'header', 'list', 'banner', 'topbutton', 'buttons', 'product_pagination', 'top1nav', 'scalecontrol']),
dict(span=['ratingtext', 'Gesamtranking', 'h3','']),
dict(rel=['canonical'])]
feeds = [(u'Aldi - Angebote der Woche', u'http://aldi-sued.de/de/angebote_aldi_sued_rss.xml')]
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Recipe for Dutch newspaper "Dagblad van het Noorden" | reijndert | Recipes | 2 | 05-18-2011 08:52 AM |
| Passing parameters to recipe from "Schedule News Download" Window (e.g. for filtering | oecherprinte | Recipes | 6 | 05-13-2011 12:38 PM |
| Request: recipe for google new "Think Quarterly" magazine | gloomygod | Recipes | 0 | 03-24-2011 09:08 AM |
| How to prevent recipe read "files" pdf on web rss? | KRorschachZ | Recipes | 12 | 11-10-2010 03:59 PM |
| Calibre recipe for daily Portuguese newspaper "Correio da Manhã" | jmst | Recipes | 2 | 11-01-2010 02:01 PM |