mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
d320d17cc8
commit
97ee60c5a0
@ -55,8 +55,6 @@ class AssociatedPress(BasicNewsRecipe):
|
||||
self.log('Processing section:', front, 'at', url)
|
||||
data = self.index_to_soup(url, raw=True)
|
||||
data = json.loads(data)
|
||||
from pprint import pformat
|
||||
open('/t/raw', 'wb').write(pformat(data))
|
||||
cards = data.get('cards', ())
|
||||
articles = []
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user