2017-12-02, 01:07
I am currently using the requests and re modules to scrape podcasts from http://podbay.fm/show/1089022756. The source website links to pages that include a source mp3 for each podcast, therefore I would need an individual request for each podcast in the list. It takes about 45 seconds to fetch only the 6 most recent podcasts. Can I add directory items that executes a python function when the user selects the item? I have found xbmc.executebuiltin('XBMC.RunScript(...)') but no way to link it to a directory item inplace of a URL. Thank you.