![]() |
#1 |
Zealot
![]() Posts: 101
Karma: 10
Join Date: Sep 2020
Device: kindle paperwhite3/Oasis2
|
Load json which got from request in recipe
Hi guys,
Any idea how to handle following stuff by package json in recipe? Code:
{ "code":0, "data":"resetContentInfo ({ \"attr\":5, \"content\":\"<a name=page1></a><ANCHOR id=page1></ANCHOR> <P> <A href=\\\"https://mini.caixin.com/2024-05-07/102193662.html\\\" target=\\\"_blank\\\">\" })" } Last edited by njpig; 05-11-2024 at 03:43 AM. |
![]() |
![]() |
![]() |
#2 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 511
Karma: 82764
Join Date: May 2021
Device: kindle
|
go to ['data'] use regex to seperate json data.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Zealot
![]() Posts: 101
Karma: 10
Join Date: Sep 2020
Device: kindle paperwhite3/Oasis2
|
Thanks a lot! This is what I did.
I am curious why this website responsed with data, which is close to json format but invalid and has to be parsed with extra efforts. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
caps.json | Rellwood | Plugins | 2 | 03-13-2022 04:02 PM |
On the file metadata_db_prefs_backup.json | Horus68 | Calibre | 2 | 06-03-2020 05:10 AM |
How do I move JSON files? | Rellwood | Calibre | 2 | 10-20-2015 12:26 AM |
Shorcut request: Load plugin from file | Terisa de morgan | Calibre | 2 | 01-02-2015 03:09 AM |
Force reloading collections.json | enn | Kindle Developer's Corner | 2 | 10-03-2010 06:57 PM |