mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix Prospect Magazine
This commit is contained in:
parent
2b8a81b2e5
commit
be9f5f4c9f
@ -25,9 +25,9 @@ class ProspectMagUK(BasicNewsRecipe):
|
|||||||
needs_subscription = True
|
needs_subscription = True
|
||||||
|
|
||||||
auto_cleanup_keep = '//div[@class="lead_image"]'
|
auto_cleanup_keep = '//div[@class="lead_image"]'
|
||||||
remove_tags = [{'class':['shareinpost','postutils','postinfo']}]
|
#remove_tags = [{'class':['shareinpost','postutils','postinfo']}]
|
||||||
|
|
||||||
INDEX = 'http://www.prospectmagazine.co.uk/current-issue'
|
INDEX = 'http://www.prospectmagazine.co.uk/issue/'
|
||||||
|
|
||||||
def get_browser(self):
|
def get_browser(self):
|
||||||
br = BasicNewsRecipe.get_browser()
|
br = BasicNewsRecipe.get_browser()
|
||||||
@ -77,3 +77,4 @@ class ProspectMagUK(BasicNewsRecipe):
|
|||||||
|
|
||||||
feeds.append((fname, articles))
|
feeds.append((fname, articles))
|
||||||
return feeds
|
return feeds
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user