mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Removed AdsoftheWorld
This recipe only returns blank pages. Its RSS feed returns mainly video ads and collections, which are unparsable.
This commit is contained in:
parent
b2a0b89685
commit
c7a59fc921
@ -1,26 +0,0 @@
|
|||||||
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')]
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.3 KiB |
Loading…
x
Reference in New Issue
Block a user