mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #826307 (Metro niews NL update)
This commit is contained in:
parent
852e06f8c0
commit
05242a976f
@ -2,6 +2,9 @@ from calibre.web.feeds.news import BasicNewsRecipe
|
|||||||
|
|
||||||
class AdvancedUserRecipe1306097511(BasicNewsRecipe):
|
class AdvancedUserRecipe1306097511(BasicNewsRecipe):
|
||||||
title = u'Metro Nieuws NL'
|
title = u'Metro Nieuws NL'
|
||||||
|
description = u'Metro Nieuws - NL'
|
||||||
|
# Version 1.2, updated cover image to match the changed website.
|
||||||
|
# added info date on title
|
||||||
oldest_article = 2
|
oldest_article = 2
|
||||||
max_articles_per_feed = 100
|
max_articles_per_feed = 100
|
||||||
__author__ = u'DrMerry'
|
__author__ = u'DrMerry'
|
||||||
@ -10,11 +13,11 @@ class AdvancedUserRecipe1306097511(BasicNewsRecipe):
|
|||||||
simultaneous_downloads = 5
|
simultaneous_downloads = 5
|
||||||
delay = 1
|
delay = 1
|
||||||
# timefmt = ' [%A, %d %B, %Y]'
|
# timefmt = ' [%A, %d %B, %Y]'
|
||||||
timefmt = ''
|
timefmt = ' [%A, %d %b %Y]'
|
||||||
no_stylesheets = True
|
no_stylesheets = True
|
||||||
remove_javascript = True
|
remove_javascript = True
|
||||||
remove_empty_feeds = True
|
remove_empty_feeds = True
|
||||||
cover_url = 'http://www.readmetro.com/img/en/metroholland/last/1/small.jpg'
|
cover_url = 'http://www.oldreadmetro.com/img/en/metroholland/last/1/small.jpg'
|
||||||
remove_empty_feeds = True
|
remove_empty_feeds = True
|
||||||
publication_type = 'newspaper'
|
publication_type = 'newspaper'
|
||||||
remove_tags_before = dict(name='div', attrs={'id':'date'})
|
remove_tags_before = dict(name='div', attrs={'id':'date'})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user