![]() |
Solved how to save/extract data from "url" plugin:// - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +---- Forum: PVR (https://forum.kodi.tv/forumdisplay.php?fid=136) +---- Thread: Solved how to save/extract data from "url" plugin:// (/showthread.php?tid=366377) |
how to save/extract data from "url" plugin:// - Kangool - 2022-01-07 hi i am working on an stalker client for mz own livetv is working but with the vod i have a little bit problems save the js to file is not a problem but it takes a verlz long time cuy must send request for every single page wich onlz gives data back for 14items çmost portals have about 10000 items in the vod section so need to send about 700 request...thats too much so i want to usw "get_category" so i only need to load onlz choosen categorz ( movie german, movie english and so on) to create the folder for the vod streams i use this function
this send an "url" with informations to another function in build url i take the rigth id wich i want to use how i can extract/read the url Quote:plugin://plugin.video.stalkerportal/?genre_name=Movie: Netherlands &;id=365&;mode=channelsVOD&;portal={"parental": "", "password": "", "name": "24.02.2022", "url": "http://portalurl", "mac": "my mac", "serial": nullin this example i need to take out the number 365 to use it in another script here: category : here i need the number
sorry for my bad englisch and my dirty code... it was not mz code i onlz updated it to pzthon3 and change it for my own use....i am not realy a programmer please can somebody help me RE: how to save/extract data from "url" plugin:// - DarrenHill - 2022-01-07 Thread moved to PVR addons RE: how to save/extract data from "url" plugin:// - M89SE - 2022-01-08 Why can't you use the id from the for loop? or is there an id in the json request? Check what the json list(data.items() contains.
RE: how to save/extract data from "url" plugin:// - black_eagle - 2022-01-08 Using your url as an example, can you not do something like this?
RE: how to save/extract data from "url" plugin:// - Kangool - 2022-01-09 got it
thanks for your help how to save/extract data from "url" plugin:// - black_eagle - 2022-01-09 Glad you've got it sorted. Thread marked solved. |