mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-06 02:13:43 +02:00
Fix #1495583 [Wall Street Journal recipe not working](https://bugs.launchpad.net/calibre/+bug/1495583)
This commit is contained in:
parent
10b8e5133a
commit
5b606e4b53
2 changed files with 2 additions and 2 deletions
|
|
@ -154,7 +154,7 @@ def wsj_add_feed(self, feeds, title, url):
|
|||
def get_wsj_index(self, browser):
|
||||
# return self.test_wsj_index()
|
||||
ans = {}
|
||||
root = self.index_to_soup('http://online.wsj.com/itp')
|
||||
root = self.index_to_soup('http://online.wsj.com/itp/today')
|
||||
for span in CSSSelect('span.date-date')(root):
|
||||
if span.text:
|
||||
self.timefmt = span.text
|
||||
|
|
|
|||
|
|
@ -149,7 +149,7 @@ def wsj_add_feed(self, feeds, title, url):
|
|||
def get_wsj_index(self, browser):
|
||||
# return self.test_wsj_index()
|
||||
ans = {}
|
||||
root = self.index_to_soup('http://online.wsj.com/itp')
|
||||
root = self.index_to_soup('http://online.wsj.com/itp/today')
|
||||
for span in CSSSelect('span.date-date')(root):
|
||||
if span.text:
|
||||
self.timefmt = span.text
|
||||
|
|
|
|||
Loading…
Reference in a new issue