mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'patch-3' of https://github.com/felagund/calibre
This commit is contained in:
commit
c9cb5fc703
@ -270,7 +270,8 @@ class Economist(BasicNewsRecipe):
|
||||
def publication_date(self):
|
||||
if edition_date:
|
||||
return parse_only_date(edition_date, as_utc=False)
|
||||
return BasicNewsRecipe.publication_date(self)
|
||||
url = self.browser.open("https://www.economist.com/printedition").geturl()
|
||||
return parse_only_date(url.split("/")[-1], as_utc=False)
|
||||
|
||||
def parse_index(self):
|
||||
# return [('Articles', [{'title':'test',
|
||||
|
@ -270,7 +270,8 @@ class Economist(BasicNewsRecipe):
|
||||
def publication_date(self):
|
||||
if edition_date:
|
||||
return parse_only_date(edition_date, as_utc=False)
|
||||
return BasicNewsRecipe.publication_date(self)
|
||||
url = self.browser.open("https://www.economist.com/printedition").geturl()
|
||||
return parse_only_date(url.split("/")[-1], as_utc=False)
|
||||
|
||||
def parse_index(self):
|
||||
# return [('Articles', [{'title':'test',
|
||||
|
Loading…
x
Reference in New Issue
Block a user