mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
dfc2ca24f4
commit
bd574dee01
@ -132,8 +132,6 @@ class WSJ(BasicNewsRecipe):
|
|||||||
def parse_index(self):
|
def parse_index(self):
|
||||||
index = 'https://bartender.mobile.dowjones.io'
|
index = 'https://bartender.mobile.dowjones.io'
|
||||||
catalog = json.loads(self.index_to_soup(index + '/catalogs/v1/wsj/us/catalog.json', raw=True))
|
catalog = json.loads(self.index_to_soup(index + '/catalogs/v1/wsj/us/catalog.json', raw=True))
|
||||||
edit = [itm['key'][10:] for itm in catalog['items'] if itm['type'] == 'ITPNEXTGEN'][1:]
|
|
||||||
self.log('**Past Editions available :', ', '.join(edit))
|
|
||||||
for itm in catalog['items']:
|
for itm in catalog['items']:
|
||||||
if itm['key'] == 'NOW':
|
if itm['key'] == 'NOW':
|
||||||
key = itm['key']
|
key = itm['key']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user