2019-02-25, 04:20
Hi,
I've written a code to scrape videos and titles from a few webpages and have added it to my main.py file for kodi video add-on. The add-on works fine, however it takes too long everytime (3-5mins) to load the list of videos and before streaming a video.
I believe the problem is kodi runs the code everytime (scraping all the webpages everytime). Is there a way to tell kodi to only update new videos or remember what it has loaded?
My main.py file details: egajabibiv.kodi (paste)
Please help.
Thanks,
Pravan
I've written a code to scrape videos and titles from a few webpages and have added it to my main.py file for kodi video add-on. The add-on works fine, however it takes too long everytime (3-5mins) to load the list of videos and before streaming a video.
I believe the problem is kodi runs the code everytime (scraping all the webpages everytime). Is there a way to tell kodi to only update new videos or remember what it has loaded?
My main.py file details: egajabibiv.kodi (paste)
Please help.
Thanks,
Pravan