mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
National Geographic by Anonymous
This commit is contained in:
parent
f2e71e6a8a
commit
9c0d9aa724
25
recipes/national_geographic_de.recipe
Normal file
25
recipes/national_geographic_de.recipe
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
|
|
||||||
|
class AdvancedUserRecipe1305567197(BasicNewsRecipe):
|
||||||
|
title = u'National Geographic (DE)'
|
||||||
|
__author__ = 'Anonymous'
|
||||||
|
language = 'de'
|
||||||
|
oldest_article = 7
|
||||||
|
max_articles_per_feed = 1000
|
||||||
|
no_stylesheets = True
|
||||||
|
use_embedded_content = False
|
||||||
|
remove_javascript = True
|
||||||
|
cover_url = 'http://www.nationalgeographic.de/images/national-geographic-logo.jpg'
|
||||||
|
keep_only_tags = [
|
||||||
|
dict(name='div', attrs={'class':['contentbox_no_top_border']}) ]
|
||||||
|
|
||||||
|
remove_tags = [
|
||||||
|
dict(name='div', attrs={'class':'related'}),
|
||||||
|
dict(name='li', attrs={'class':'first'}),
|
||||||
|
dict(name='div', attrs={'class':'extrasbox_inner'}),
|
||||||
|
|
||||||
|
]
|
||||||
|
|
||||||
|
feeds = [ (u'National Geographic', u'http://feeds.nationalgeographic.de/ng-neueste-artikel'),
|
||||||
|
|
||||||
|
]
|
Loading…
x
Reference in New Issue
Block a user