mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
27 lines
900 B
Plaintext
27 lines
900 B
Plaintext
from calibre.web.feeds.news import BasicNewsRecipe
|
|
|
|
|
|
class AdvancedUserRecipe1336986047(BasicNewsRecipe):
|
|
title = u'Ads of the World'
|
|
oldest_article = 7
|
|
max_articles_per_feed = 100
|
|
auto_cleanup = False
|
|
description = 'The best international advertising campaigns'
|
|
language = 'en'
|
|
__author__ = 'faber1971'
|
|
|
|
no_stylesheets = True
|
|
keep_only_tags = [
|
|
dict(name='div', attrs={'id': 'primary'})
|
|
]
|
|
|
|
remove_tags = [
|
|
dict(name='ul', attrs={'class': 'links inline'}), dict(name='div', attrs={'class': 'form-item'}), dict(
|
|
name='div', attrs={'id': ['options', 'comments']}), dict(name='ul', attrs={'id': 'nodePager'})
|
|
]
|
|
|
|
reverse_article_order = True
|
|
masthead_url = 'http://bigcatgroup.co.uk/files/2011/01/05-ads-of-the-world.png'
|
|
feeds = [
|
|
(u'Ads of the world', u'http://feeds.feedburner.com/adsoftheworld-latest')]
|