mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
...
This commit is contained in:
parent
d138da6990
commit
a3bba4b30a
@ -4,7 +4,6 @@ __copyright__ = '2010-2015, Darko Miletic <darko.miletic at gmail.com>'
|
|||||||
www.haaretz.com
|
www.haaretz.com
|
||||||
'''
|
'''
|
||||||
|
|
||||||
import re
|
|
||||||
import urllib
|
import urllib
|
||||||
from calibre.web.feeds.news import BasicNewsRecipe
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
|
|
||||||
@ -46,7 +45,6 @@ class Haaretz_en(BasicNewsRecipe):
|
|||||||
,dict(name='div',attrs={'id':'article_sso_form'})
|
,dict(name='div',attrs={'id':'article_sso_form'})
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
feeds = [
|
feeds = [
|
||||||
(u'Headlines' , 'http://www.haaretz.com/cmlink/1.263335')
|
(u'Headlines' , 'http://www.haaretz.com/cmlink/1.263335')
|
||||||
,(u'Opinion' , 'http://www.haaretz.com/cmlink/1.628752')
|
,(u'Opinion' , 'http://www.haaretz.com/cmlink/1.628752')
|
||||||
@ -80,4 +78,3 @@ class Haaretz_en(BasicNewsRecipe):
|
|||||||
def print_version(self, url):
|
def print_version(self, url):
|
||||||
article = url.rpartition('/')[2]
|
article = url.rpartition('/')[2]
|
||||||
return 'http://www.haaretz.com/misc/article-print-page/' + article
|
return 'http://www.haaretz.com/misc/article-print-page/' + article
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user