def GET_CONTENT(url): nextpage = 0 try: a,url = url.split('|') except: nextpage = 1 checker = url if nextpage == 1: try: link = common.open_url(url).replace('/n','').replace("'",'"') except: dialog.ok(AddonTitle, "Error connecting to website. Please try again."); quit() else: link = common.open_url(url).replace('/n','').replace("'",'"') link = common.open_url(url) if '?q=' in url: r = re.compile('<div class="videos v-search-result">(.+?)</div>',re.DOTALL).findall(link)[0] else: r = re.compile('<div class="v-content02 aft">(.+?)</div>',re.DOTALL).findall(link)[0] r = re.compile('<a(.+?)</a>',re.DOTALL).findall(r) for i in r: name = re.compile('alt="(.+?)"').findall(i)[0] time = re.compile('<span class="time">(.+?)</span>').findall(i)[0] url = re.compile('href="(.+?)"').findall(i)[0]; url = urlparse.urljoin(BASE_LINK, url) iconimage = re.compile('<img src="(.+?)"').findall(i)[0] url = urlparse.urljoin(BASE_LINK, url); name = common.replaceHTMLCodes(name) url = name + "|SPLIT|" + url + "|SPLIT|" + iconimage common.addLink("[COLOR white]" + name + " - " + time + "[/COLOR]",url,293,iconimage,fanart) if nextpage == 1: try: np = re.compile('<a href="([^"]+)" class="pag-next">next</a>').findall(link)[0] np = urlparse.urljoin(BASE_LINK, np) common.addDir('[COLOR white]Next Page >>[/COLOR]',np,291,icon,fanart) except: pass common.SET_VIEW('thumbs')
def FILMS(): common.addDir("[COLOR white]Ultra-Vid[/COLOR]", 'None', 710, ultravid_icon, ultravid_fanart) common.addDir("[COLOR white]Freeomovie[/COLOR]", 'None', 720, freeomovie_icon, freeomovie_fanart) common.SET_VIEW('list')
def PICTURES(): common.addDir("[COLOR white]Motherless Pictures[/COLOR]", "url", 90, motherless_icon, motherless_fanart) common.addDir("[COLOR white]XNXX Pictures[/COLOR]", "url", 34, xnxx_icon, xnxx_fanart) common.SET_VIEW('list')
def LIVE(): common.addDir("[COLOR white]Chaturbate.com[/COLOR]", 'url', 20, chaturbate_icon, chaturbate_fanart) common.addDir("[COLOR white]Live Channels[/COLOR]", 'none', 700, icon, fanart) common.SET_VIEW('list')
def MAIN_MENU(): common.addDir("[COLOR red][B]SEARCH[/B][/COLOR]","url",294,icon,fanart) r = common.open_url(urlparse.urljoin(BASE_LINK, '/channels/')) r = re.compile('<li style="display: none;"><a href="#alph-z">z</a></li>(.+?)<div class="c-leftbar">',re.DOTALL).findall(r)[0] r = re.compile('<a href="(.+?)" class="th-cat">\s+<img src="(.+?)" alt=".+?">\s+<span class="title">(.+?)<\/span>',re.DOTALL).findall(r) for url,iconimage,name in r: url = urlparse.urljoin(BASE_LINK, url); name = common.replaceHTMLCodes(name) name = "[COLOR white]" + name + "[/COLOR]" common.addDir(name,url,291,iconimage,fanart) common.SET_VIEW('list')
def SEARCH(): common.addDir("[COLOR white]SEARCH ALL WESBITES[/COLOR]", "null", 99, icon, fanart) common.addLink("[COLOR darkgray]#################################[/COLOR]", "url", 999, icon, fanart) common.addDir("[COLOR white]Search Eporner[/COLOR]", 'null', 244, eporner_icon, eporner_fanart) common.addDir("[COLOR white]Search Just Porno TV[/COLOR]", "null", 234, justporno_icon, justporno_fanart) common.addDir("[COLOR white]Search MadThumbs[/COLOR]", "null", 284, madthumbs_icon, madthumbs_fanart) common.addDir("[COLOR white]Search Motherless[/COLOR]", "null", 97, motherless_icon, motherless_fanart) common.addDir("[COLOR white]Search NXGX[/COLOR]", "null", 274, nxgx_icon, nxgx_fanart) common.addDir("[COLOR white]Search OverThumbs[/COLOR]", "null", 294, overthumbs_icon, overthumbs_fanart) common.addDir("[COLOR white]Search Perfect Girls[/COLOR]", "null", 314, perfectgirls_icon, perfectgirls_fanart) common.addDir("[COLOR white]Search P**n.com[/COLOR]", "null", 64, porncom_icon, porncom_fanart) common.addDir("[COLOR white]Search Porn00[/COLOR]", "null", 214, porn00_icon, porn00_fanart) common.addDir("[COLOR white]Search PornFun[/COLOR]", "null", 84, pornfun_icon, pornfun_fanart) common.addDir("[COLOR white]Search PornHD[/COLOR]", "null", 54, pornhd_icon, pornhd_fanart) common.addDir("[COLOR white]Search PornXS[/COLOR]", 'null', 254, pornxs_icon, pornxs_fanart) common.addDir("[COLOR white]Search RedTube[/COLOR]", "null", 45, redtube_icon, redtube_fanart) common.addDir("[COLOR white]Search Spankbang[/COLOR]", "null", 205, spankbang_icon, spankbang_fanart) common.addDir("[COLOR white]Search Virtual P**n Stars[/COLOR]", "null", 224, virtualpornstars_icon, virtualpornstars_fanart) common.addDir("[COLOR white]Search Watch XXX Free[/COLOR]", "null", 304, watchxxxfree_icon, watchxxxfree_fanart) common.addDir("[COLOR white]Search Xhamster[/COLOR]", "null", 14, xhamster_icon, xhamster_fanart) common.addDir("[COLOR white]Search XNXX[/COLOR]", "null", 29, xnxx_icon, xnxx_fanart) common.addDir("[COLOR white]Search Xvideos[/COLOR]", 'null', 264, xvideos_icon, xvideos_fanart) common.addDir("[COLOR white]Search YouPorn[/COLOR]", "null", 74, youporn_icon, youporn_fanart) common.SET_VIEW('list')
def MAIN_MENU(): common.addDir("[COLOR red][B]SEARCH[/B][/COLOR]", "url", 284, icon, fanart) link = common.open_url(BASE_LINK) cats = dom_parser.parse_dom(link, 'h2') for item in cats[1:][:-1]: name = dom_parser.parse_dom(item, 'a', ret='title')[0] url = dom_parser.parse_dom(item, 'a', ret='href')[0] url = urlparse.urljoin(BASE_LINK, url) name = common.replaceHTMLCodes(name) name = "[COLOR white]" + name + "[/COLOR]" common.addDir(name, url, 281, icon, fanart) common.SET_VIEW('list')
def VIDEOS(): common.addDir("[COLOR white]Eporner.com[/COLOR]", 'url', 240, eporner_icon, eporner_fanart) common.addDir("[COLOR white]JustPorno.TV[/COLOR]", 'url', 230, justporno_icon, justporno_fanart) common.addDir("[COLOR white]Madthumbs.com[/COLOR]", 'url', 280, madthumbs_icon, madthumbs_fanart) common.addDir("[COLOR white]Motherless.com[/COLOR]", 'url', 93, motherless_icon, motherless_fanart) common.addDir("[COLOR white]NXGX.com[/COLOR]", 'url', 270, nxgx_icon, nxgx_fanart) common.addDir("[COLOR white]Overthumbs.com[/COLOR]", 'url', 290, overthumbs_icon, overthumbs_fanart) common.addDir("[COLOR white]Perfectgirls.net[/COLOR]", 'url', 310, perfectgirls_icon, perfectgirls_fanart) common.addDir("[COLOR white]Porn00.org[/COLOR]", 'url', 210, porn00_icon, porn00_fanart) common.addDir("[COLOR white]P**n.com[/COLOR]", 'url', 60, porncom_icon, porncom_fanart) common.addDir("[COLOR white]PornFun.com[/COLOR]", 'url', 80, pornfun_icon, pornfun_fanart) common.addDir("[COLOR white]PornHD.com[/COLOR]", 'url', 50, pornhd_icon, pornhd_fanart) common.addDir("[COLOR white]PornXS.com[/COLOR]", 'url', 250, pornxs_icon, pornxs_fanart) common.addDir("[COLOR white]RedTube.com[/COLOR]", 'url', 41, redtube_icon, redtube_fanart) common.addDir("[COLOR white]Spankbang.com[/COLOR]", 'url', 200, spankbang_icon, spankbang_fanart) common.addDir("[COLOR white]Virtualpornstars.com[/COLOR]", 'url', 220, virtualpornstars_icon, virtualpornstars_fanart) common.addDir("[COLOR white]Watchxxxfree.com[/COLOR]", 'url', 300, watchxxxfree_icon, watchxxxfree_fanart) common.addDir("[COLOR white]Xhamster.com[/COLOR]", 'url', 10, xhamster_icon, xhamster_fanart) common.addDir("[COLOR white]XNXX.com[/COLOR]", 'url', 30, xnxx_icon, xnxx_fanart) common.addDir("[COLOR white]Xvideos.com[/COLOR]", 'url', 260, xvideos_icon, xvideos_fanart) common.addDir("[COLOR white]YouPorn.com[/COLOR]", 'url', 70, youporn_icon, youporn_fanart) common.SET_VIEW('list')
def GetMenu(): history_on_off = plugintools.get_setting("history_setting") if not os.path.exists(PARENTAL_FILE): common.addDir( "[COLOR orangered]PARENTAL CONTROLS - [COLOR orangered]OFF[/COLOR][/COLOR]", "url", 900, icon, fanart) else: common.addDir( "[COLOR orangered]PARENTAL CONTROLS - [COLOR lime]ON[/COLOR][/COLOR]", "url", 900, icon, fanart) common.addDir("[COLOR white]Search...[/COLOR]", "url", 1, icon, fanart) common.addDir("[COLOR white]Live Cams & Channels[/COLOR]", "url", 3, icon, fanart) common.addDir("[COLOR white]Films[/COLOR]", "url", 7, icon, fanart) common.addDir("[COLOR white]Videos[/COLOR]", "url", 2, icon, fanart) common.addDir("[COLOR white]Photos[/COLOR]", "url", 4, icon, fanart) common.addDir("[COLOR white]Stories[/COLOR]", "url", 5, icon, fanart) if history_on_off == "true": common.addDir( "[COLOR pink]Your History[/COLOR] - [COLOR lime]ON[/COLOR]", BASE, 101, icon, fanart) else: common.addDir( "[COLOR pink]Your History[/COLOR] - [COLOR red]OFF[/COLOR]", BASE, 101, icon, fanart) common.addDir("[COLOR pink]Your Favourites[/COLOR]", BASE, 102, icon, fanart) common.addDir("[COLOR pink]Your Downloads[/COLOR]", BASE, 105, icon, fanart) common.addLink("[COLOR pink]Your Settings[/COLOR]", BASE, 106, icon, fanart) common.addLink("[COLOR white]View Disclaimer[/COLOR]", TERMS, 998, icon, fanart) common.addLink("[COLOR white]View Addon Information[/COLOR]", INFO, 998, icon, fanart) common.addLink("[COLOR orangered]RESET XXX-O-DUS[/COLOR]", 'url', 997, icon, fanart) common.SET_VIEW('list')
def GET_CONTENT(url): nextpage = 0 try: a, url = url.split('|') except: nextpage = 1 checker = url if nextpage == 1: try: link = common.open_url(url).replace('/n', '').replace("'", '"') except: dialog.ok(AddonTitle, "Error connecting to website. Please try again.") quit() else: link = common.open_url(url).replace('/n', '').replace("'", '"') titlelist = [] urllist = [] iconlist = [] combined = [] titles = dom_parser.parse_dom(link, 'h1', ret='title') urls = dom_parser.parse_dom(link, 'h1', {'class': 'mtitle'}) iconimages = dom_parser.parse_dom(link, 'div', {'class': 'thumb_container'}) for item in titles: titlelist.append(item) for item in urls: url = dom_parser.parse_dom(item, 'a', ret='href')[0] urllist.append(url) for item in iconimages: try: iconimage = dom_parser.parse_dom(item, 'img', ret='src')[0] iconlist.append(iconimage) except: iconlist.append("null") combined = [ a + '!SPLIT!' + b + '!SPLIT!' + c for a, b, c in zip(titlelist, urllist, iconlist) ] for item in combined[1:]: name, url, iconimage = item.split('!SPLIT!') url = urlparse.urljoin(BASE_LINK, url) name = common.replaceHTMLCodes(name) url = name + "|SPLIT|" + url + "|SPLIT|" + iconimage common.addLink("[COLOR white]" + name + "[/COLOR]", url, 283, iconimage, fanart) if nextpage == 1: try: np = dom_parser.parse_dom(link, 'link', {'rel': 'next'}, ret='href')[0] common.addDir('[COLOR white]Next Page >>[/COLOR]', np, 281, icon, fanart) except: pass common.SET_VIEW('thumbs')
def STORIES(): common.addDir("[COLOR white]XNXX Stories[/COLOR]", "url", 38, xnxx_icon, xnxx_fanart) common.SET_VIEW('list')
def SEARCH_HOME(url): term = url total = 20 i = 0 if term == "null": string = '' keyboard = xbmc.Keyboard(string, 'Enter Search Term') keyboard.doModal() if keyboard.isConfirmed(): entry = keyboard.getText() term = entry string = entry.replace(' ', '+') if not len(string) > 1: quit() else: quit() else: string = term.replace(' ', '+') search_on_off = plugintools.get_setting("search_setting") if search_on_off == "true": a = open(SEARCH_FILE).read() b = a.replace( '#START OF FILE#', '#START OF FILE#\n<item>\n<term>' + str(term) + '</term>\n</item>\n') f = open(SEARCH_FILE, mode='w') f.write(str(b)) try: i = i + 1 progress = 100 * int(i) / int(total) dp.create( AddonTitle, '[COLOR white]Searching: [/COLOR] [COLOR orangered]YouPorn[/COLOR]', '[COLOR white]Term: [/COLOR][COLOR deeppink]' + term.lower() + '[/COLOR]', '[COLOR white]Source: [/COLOR][COLOR pink]' + str(i) + ' of ' + str(total) + '[/COLOR]') url = "http://www.youporn.com/search/?query=" + string.lower() url = 'split|' + url dp.update(progress) try: youporn.GET_CONTENT(url) except: pass url = "http://www.xnxx.com/?k=" + string.lower() url = 'split|' + url i = i + 1 progress = 100 * int(i) / int(total) dp.update( progress, '[COLOR white]Searching: [/COLOR] [COLOR orangered]XNXX[/COLOR]', '[COLOR white]Term: [/COLOR][COLOR deeppink]' + term.lower() + '[/COLOR]', '[COLOR white]Source: [/COLOR][COLOR pink]' + str(i) + ' of ' + str(total) + '[/COLOR]') try: xnxx.GET_CONTENT(url) except: pass url = "https://xhamster.com/search.php?from=&new=&q=" + string.lower( ) + "&qcat=video" url = 'split|' + url i = i + 1 progress = 100 * int(i) / int(total) dp.update( progress, '[COLOR white]Searching: [/COLOR] [COLOR orangered]Xhamster[/COLOR]', '[COLOR white]Term: [/COLOR][COLOR deeppink]' + term.lower() + '[/COLOR]', '[COLOR white]Source: [/COLOR][COLOR pink]' + str(i) + ' of ' + str(total) + '[/COLOR]') try: xhamster.GET_CONTENT(url) except: pass url = "https://www.pornhd.com/search?search=" + string.lower() url = 'split|' + url i = i + 1 progress = 100 * int(i) / int(total) dp.update( progress, '[COLOR white]Searching: [/COLOR] [COLOR orangered]PornHD[/COLOR]', '[COLOR white]Term: [/COLOR][COLOR deeppink]' + term.lower() + '[/COLOR]', '[COLOR white]Source: [/COLOR][COLOR pink]' + str(i) + ' of ' + str(total) + '[/COLOR]') try: pornhd.GET_CONTENT(url) except: pass url = "https://www.p**n.com/videos/search?q=" + string.lower() url = 'split|' + url i = i + 1 progress = 100 * int(i) / int(total) dp.update( progress, '[COLOR white]Searching: [/COLOR] [COLOR orangered]P**n.com[/COLOR]', '[COLOR white]Term: [/COLOR][COLOR deeppink]' + term.lower() + '[/COLOR]', '[COLOR white]Source: [/COLOR][COLOR pink]' + str(i) + ' of ' + str(total) + '[/COLOR]') try: porncom.GET_CONTENT(url) except: pass url = "https://www.redtube.com/?search=" + string.lower() url = 'split|' + url i = i + 1 progress = 100 * int(i) / int(total) dp.update( progress, '[COLOR white]Searching: [/COLOR] [COLOR orangered]RedTube[/COLOR]', '[COLOR white]Term: [/COLOR][COLOR deeppink]' + term.lower() + '[/COLOR]', '[COLOR white]Source: [/COLOR][COLOR pink]' + str(i) + ' of ' + str(total) + '[/COLOR]') try: redtube.GET_CONTENT(url) except: pass url = "https://pornfun.com/search/?q=" + string.lower() url = 'split|' + url i = i + 1 progress = 100 * int(i) / int(total) dp.update( progress, '[COLOR white]Searching: [/COLOR] [COLOR orangered]PornFun[/COLOR]', '[COLOR white]Term: [/COLOR][COLOR deeppink]' + term.lower() + '[/COLOR]', '[COLOR white]Source: [/COLOR][COLOR pink]' + str(i) + ' of ' + str(total) + '[/COLOR]') try: pornfun.GET_CONTENT(url) except: pass url = "http://spankbang.com/s/" + string.lower() + "/" url = 'split|' + url i = i + 1 progress = 100 * int(i) / int(total) dp.update( progress, '[COLOR white]Searching: [/COLOR] [COLOR orangered]Spankbang[/COLOR]', '[COLOR white]Term: [/COLOR][COLOR deeppink]' + term.lower() + '[/COLOR]', '[COLOR white]Source: [/COLOR][COLOR pink]' + str(i) + ' of ' + str(total) + '[/COLOR]') try: spankbang.GET_CONTENT(url) except: pass url = "http://www.porn00.org/?s=" + string.lower() url = 'split|' + url i = i + 1 progress = 100 * int(i) / int(total) dp.update( progress, '[COLOR white]Searching: [/COLOR] [COLOR orangered]Porn00[/COLOR]', '[COLOR white]Term: [/COLOR][COLOR deeppink]' + term.lower() + '[/COLOR]', '[COLOR white]Source: [/COLOR][COLOR pink]' + str(i) + ' of ' + str(total) + '[/COLOR]') try: porn00.GET_CONTENT('none', url, 'none') except: pass url = "http://virtualpornstars.com/?s=" + string.lower() url = 'split|' + url i = i + 1 progress = 100 * int(i) / int(total) dp.update( progress, '[COLOR white]Searching: [/COLOR] [COLOR orangered]Virtual P**n Stars[/COLOR]', '[COLOR white]Term: [/COLOR][COLOR deeppink]' + term.lower() + '[/COLOR]', '[COLOR white]Source: [/COLOR][COLOR pink]' + str(i) + ' of ' + str(total) + '[/COLOR]') try: virtualpornstars.GET_CONTENT(url) except: pass url = "https://watchxxxfree.com/?s=" + string.lower() url = 'split|' + url i = i + 1 progress = 100 * int(i) / int(total) dp.update( progress, '[COLOR white]Searching: [/COLOR] [COLOR orangered]Watch XXX Free[/COLOR]', '[COLOR white]Term: [/COLOR][COLOR deeppink]' + term.lower() + '[/COLOR]', '[COLOR white]Source: [/COLOR][COLOR pink]' + str(i) + ' of ' + str(total) + '[/COLOR]') try: watchxxxfree.GET_CONTENT(url) except: pass string = string.replace('+', '%20') url = "http://www.perfectgirls.net/search/" + string.lower() + '/' url = 'split|' + url i = i + 1 progress = 100 * int(i) / int(total) dp.update( progress, '[COLOR white]Searching: [/COLOR] [COLOR orangered]Perfect Girls[/COLOR]', '[COLOR white]Term: [/COLOR][COLOR deeppink]' + term.lower() + '[/COLOR]', '[COLOR white]Source: [/COLOR][COLOR pink]' + str(i) + ' of ' + str(total) + '[/COLOR]') try: perfectgirls.GET_CONTENT(url) except: pass string = string.replace('+', '%20') url = "http://motherless.com/term/" + string.lower() url = 'split|' + url i = i + 1 progress = 100 * int(i) / int(total) dp.update( progress, '[COLOR white]Searching: [/COLOR] [COLOR orangered]Motherless[/COLOR]', '[COLOR white]Term: [/COLOR][COLOR deeppink]' + term.lower() + '[/COLOR]', '[COLOR white]Source: [/COLOR][COLOR pink]' + str(i) + ' of ' + str(total) + '[/COLOR]') try: motherless.GET_CONTENT(url) except: pass string = string.replace('+', '%20') url = "http://justporno.tv/search?query=" + string.lower() url = 'split|' + url i = i + 1 progress = 100 * int(i) / int(total) dp.update( progress, '[COLOR white]Searching: [/COLOR] [COLOR orangered]Just Porno TV[/COLOR]', '[COLOR white]Term: [/COLOR][COLOR deeppink]' + term.lower() + '[/COLOR]', '[COLOR white]Source: [/COLOR][COLOR pink]' + str(i) + ' of ' + str(total) + '[/COLOR]') try: justporno.GET_CONTENT(url) except: pass string = string.replace('+', '-') url = "https://www.eporner.com/search/" + string.lower() url = 'split|' + url i = i + 1 progress = 100 * int(i) / int(total) dp.update( progress, '[COLOR white]Searching: [/COLOR] [COLOR orangered]Eporner[/COLOR]', '[COLOR white]Term: [/COLOR][COLOR deeppink]' + term.lower() + '[/COLOR]', '[COLOR white]Source: [/COLOR][COLOR pink]' + str(i) + ' of ' + str(total) + '[/COLOR]') try: eporner.GET_CONTENT(url) except: pass url = "http://pornxs.com/search.php?s=" + string.lower() url = 'split|' + url i = i + 1 progress = 100 * int(i) / int(total) dp.update( progress, '[COLOR white]Searching: [/COLOR] [COLOR orangered]PornXS[/COLOR]', '[COLOR white]Term: [/COLOR][COLOR deeppink]' + term.lower() + '[/COLOR]', '[COLOR white]Source: [/COLOR][COLOR pink]' + str(i) + ' of ' + str(total) + '[/COLOR]') try: pornxs.GET_CONTENT(url) except: pass url = "http://www.xvideos.com/?k=" + string.lower() url = 'split|' + url i = i + 1 progress = 100 * int(i) / int(total) dp.update( progress, '[COLOR white]Searching: [/COLOR] [COLOR orangered]Xvideos[/COLOR]', '[COLOR white]Term: [/COLOR][COLOR deeppink]' + term.lower() + '[/COLOR]', '[COLOR white]Source: [/COLOR][COLOR pink]' + str(i) + ' of ' + str(total) + '[/COLOR]') try: xvideos.GET_CONTENT(url) except: pass stringnx = string.replace('+', '-') url = "http://www.nxgx.com/search/" + stringnx.lower() url = 'split|' + url i = i + 1 progress = 100 * int(i) / int(total) dp.update( progress, '[COLOR white]Searching: [/COLOR] [COLOR orangered]NXGX[/COLOR]', '[COLOR white]Term: [/COLOR][COLOR deeppink]' + term.lower() + '[/COLOR]', '[COLOR white]Source: [/COLOR][COLOR pink]' + str(i) + ' of ' + str(total) + '[/COLOR]') try: nxgx.GET_CONTENT(url) except: pass url = "http://www.madthumbs.com/search?q=" + string.lower() url = 'split|' + url i = i + 1 progress = 100 * int(i) / int(total) dp.update( progress, '[COLOR white]Searching: [/COLOR] [COLOR orangered]MadThumbs[/COLOR]', '[COLOR white]Term: [/COLOR][COLOR deeppink]' + term.lower() + '[/COLOR]', '[COLOR white]Source: [/COLOR][COLOR pink]' + str(i) + ' of ' + str(total) + '[/COLOR]') try: madthumbs.GET_CONTENT(url) except: pass url = "http://overthumbs.com/search/?q=" + string.lower() url = 'split|' + url i = i + 1 progress = 100 * int(i) / int(total) dp.update( progress, '[COLOR white]Searching: [/COLOR] [COLOR orangered]OverThumbs[/COLOR]', '[COLOR white]Term: [/COLOR][COLOR deeppink]' + term.lower() + '[/COLOR]', '[COLOR white]Source: [/COLOR][COLOR pink]' + str(i) + ' of ' + str(total) + '[/COLOR]') try: overthumbs.GET_CONTENT(url) except: pass dp.close() except: dialog.ok( AddonTitle, '[COLOR pink]Sorry, there was an error searching for ' + string.lower() + ' please try again later.[/COLOR]') quit() common.SET_VIEW('list')