help with scraping once rather than twice - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Information Providers (scrapers) (https://forum.kodi.tv/forumdisplay.php?fid=147) +----- Forum: TV Show Scrapers (https://forum.kodi.tv/forumdisplay.php?fid=305) +----- Thread: help with scraping once rather than twice (/showthread.php?tid=124444) |
help with scraping once rather than twice - mikey1234 - 2012-03-02 right i made the plugin that scrapes epg info but to make it easier for me i made 2 that scrapes same info hence its slow i have <epg1>"(uk)" to show in the title and <epg2>"(uk2)" which is description to show in fanart but the plugin scrapes twice as i made 2 defget as it it the same defget Code: def getuk2(link): but this one just gets the nowtitle but still needs to page pull Code: def getuk(link): what can i change below to get uk2 string but only the nowtitle "nowtitle" part of uk2 string rather than it show everything can i just add at the end of [0].string = nowtitle i have tried but doesnt work Code: try: hope i make sense to you guys once i have sorted this i can release with epg info |