def STREAMS(): streamurl = 'https://github.com/whitecream01/WhiteCream-V0.0.1/raw/master/plugin.video.uwc/streamlist.m3u' streamlist = utils.getHtml(streamurl, '') match = re.compile('#.+,(.+?)\n(.+?)\n').findall(streamlist) for name, url in match: utils.addDownLink(name, url, 9, '', '', True) xbmcplugin.endOfDirectory(utils.addon_handle)
def STREAMS(): streamurl = 'http://bit.ly/uwcstreams' streamlist = utils.getHtml(streamurl, '') match = re.compile('#.+,(.+?)\n(.+?)\n').findall(streamlist) for name, url in match: utils.addDownLink(name, url, 9, '', '', True) xbmcplugin.endOfDirectory(utils.addon_handle)
def PAQList(url, page, onelist=None): if onelist: url = url.replace("page/1/", "page/" + str(page) + "/") listhtml = utils.getHtml(url, "") if "pornaq" in url: match = re.compile( r'<h2>\s+<a title="([^"]+)" href="([^"]+)".*?src="([^"]+)" class="attachment-primary-post-thumbnail', re.DOTALL | re.IGNORECASE, ).findall(listhtml) for name, videopage, img in match: name = utils.cleantext(name) utils.addDownLink(name, videopage, 62, img, "") elif "porn00" in url: match = re.compile( '<h2> <a title="([^"]+)" href="([^"]+)".*?src="([^"]+)" class="attachment-primary-post-thumbnail', re.DOTALL | re.IGNORECASE, ).findall(listhtml) for name, videopage, img in match: name = utils.cleantext(name) utils.addDownLink(name, videopage, 62, img, "") if not onelist: if re.search("<span class='current'>\d+?</span><span>", listhtml, re.DOTALL | re.IGNORECASE): npage = page + 1 url = url.replace("page/" + str(page) + "/", "page/" + str(npage) + "/") utils.addDir("Next Page (" + str(npage) + ")", url, 61, "", npage) xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url): listhtml = utils.getHtml(url, '') match = re.compile( 'thumb-main-titre"><a href="..([^"]+)".*?title="([^"]+)".*?src="([^"]+)".*?<div class="thumb-info">(.*?)time">([^<]+)<', re.DOTALL | re.IGNORECASE).findall(listhtml) for videourl, name, img, hd, duration in match: name = utils.cleantext(name) if hd.find('hd') > 0: if hd.find('full') > 0: hd = " [COLOR yellow]FULLHD[/COLOR] " else: hd = " [COLOR orange]HD[/COLOR] " else: hd = " " videopage = "http://www.absoluporn.com" + videourl name = name + hd + "[COLOR deeppink]" + duration + "[/COLOR]" utils.addDownLink(name, videopage, 302, img, '') try: nextp = re.compile( r'<span class="text16">\d+</span> <a href="..([^"]+)"').findall( listhtml) utils.addDir('Next Page', 'http://www.absoluporn.com' + nextp[0], 301, '') except: pass xbmcplugin.endOfDirectory(utils.addon_handle)
def WXFList(url, page, onelist=None): if onelist: url = url.replace('/page/1/', '/page/' + str(page) + '/') sort = getWXFSortMethod() if re.search('\?', url, re.DOTALL | re.IGNORECASE): url = url + '&filtre=' + sort + '&display=extract' else: url = url + '?filtre=' + sort + '&display=extract' listhtml = utils.getHtml(url, '') match = re.compile( 'data-lazy-src="([^"]+)".*?<a href="([^"]+)" title="([^"]+)".*?<p>([^<]+)</p>', re.DOTALL | re.IGNORECASE).findall(listhtml) for img, videopage, name, desc in match: name = utils.cleantext(name) desc = utils.cleantext(desc) utils.addDownLink(name, videopage, 13, img, desc) if not onelist: if re.search('<link rel="next"', listhtml, re.DOTALL | re.IGNORECASE): npage = page + 1 url = url.replace('/page/' + str(page) + '/', '/page/' + str(npage) + '/') utils.addDir('Next Page (' + str(npage) + ')', url, 11, '', npage) xbmcplugin.endOfDirectory(utils.addon_handle)
def PAQList(url, page, onelist=None): if onelist: url = url.replace('page/1/', 'page/' + str(page) + '/') listhtml = utils.getHtml(url, '') if 'pornaq' in url: match = re.compile( r'<h2>\s+<a title="([^"]+)" href="([^"]+)".*?src="([^"]+)" class="attachment-primary-post-thumbnail', re.DOTALL | re.IGNORECASE).findall(listhtml) for name, videopage, img in match: name = utils.cleantext(name) utils.addDownLink(name, videopage, 62, img, '') elif 'porn00' in url: match = re.compile( '<h2> <a title="([^"]+)" href="([^"]+)".*?src="([^"]+)" class="attachment-primary-post-thumbnail', re.DOTALL | re.IGNORECASE).findall(listhtml) for name, videopage, img in match: name = utils.cleantext(name) utils.addDownLink(name, videopage, 62, img, '') if not onelist: if re.search("<span class='current'>\d+?</span><span>", listhtml, re.DOTALL | re.IGNORECASE): npage = page + 1 url = url.replace('page/' + str(page) + '/', 'page/' + str(npage) + '/') utils.addDir('Next Page (' + str(npage) + ')', url, 61, '', npage) xbmcplugin.endOfDirectory(utils.addon_handle)
def BGList(url): bgversion = addon.getSetting('bgversion') listjson = utils.getHtml(url, '') match = re.compile(r'\{"title":"([^"]+)","id":"([^"]+)"', re.DOTALL | re.IGNORECASE).findall(listjson) for title, videoid in match: img = "http://img.beeg.com/236x177/" + videoid + ".jpg" videopage = "https://api.beeg.com/api/v6/" + bgversion + "/video/" + videoid name = title.encode("utf8") utils.addDownLink(name, videopage, 82, img, '') try: page = re.compile( 'http://api2.beeg.com/api/v6/' + bgversion + '/index/[^/]+/([0-9]+)/pc', re.DOTALL | re.IGNORECASE).findall(url)[0] page = int(page) npage = page + 1 jsonpage = re.compile(r'pages":(\d+)', re.DOTALL | re.IGNORECASE).findall(listjson)[0] if int(jsonpage) > page: nextp = url.replace("/" + str(page) + "/", "/" + str(npage) + "/") utils.addDir('Next Page (' + str(npage) + ')', nextp, 81, '') except: pass xbmcplugin.endOfDirectory(utils.addon_handle)
def Main(): utils.addDownLink('[COLOR red]Refresh Cam4 images[/COLOR]','',283,'','') utils.addDir('[COLOR hotpink]Featured[/COLOR]','http://www.cam4.com/featured/1',281,'',1) utils.addDir('[COLOR hotpink]Females[/COLOR]','http://www.cam4.com/female/1',281,'',1) utils.addDir('[COLOR hotpink]Couples[/COLOR]','http://www.cam4.com/couple/1',281,'',1) utils.addDir('[COLOR hotpink]Males[/COLOR]','http://www.cam4.com/male/1',281,'',1) utils.addDir('[COLOR hotpink]Transsexual[/COLOR]','http://www.cam4.com/shemale/1',281,'',1) xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url): listhtml = utils.getHtml2(url) match = re.compile(r"<i class='fa fa-desktop'></i> (.*?)</a></li>", re.DOTALL | re.IGNORECASE).findall(listhtml) for name in match: videopage = 'http://www.tpsoccer.net/p/' + name + '.html' name = 'Stream ' + name videopage = 'plugin://plugin.video.SportsDevil/?mode=1&item=catcher%3dstreams%26url=' + urllib.quote_plus(videopage) utils.addDownLink(name, videopage, 300, 'https://raw.githubusercontent.com/doki1/repo/master/NLView%20XML/tp.png', '', fanart='https://raw.githubusercontent.com/doki1/repo/master/NLView%20XML/fanart.jpg') xbmcplugin.endOfDirectory(utils.addon_handle)
def NFScenes(url): scenehtml = utils.getHtml(url, '') match = re.compile('class="scene">.*?<img class="poster" src="([^"]+)".*?data-src="([^"]+)".*?<div class="description">[^>]+>([^<]+)<', re.DOTALL | re.IGNORECASE).findall(scenehtml) scenecount = 1 for img, sceneurl, desc in match: name = 'Scene ' + str(scenecount) scenecount = scenecount + 1 utils.addDownLink(name, sceneurl, 43, img, desc) xbmcplugin.endOfDirectory(utils.addon_handle)
def PHList(url): listhtml = utils.getHtml(url, '') match = re.compile('panel-img">.*?<a href="([^"]+)" title="([^"]+)".*?src="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(listhtml) for videopage, name, img in match: utils.addDownLink(name, videopage, 72, img, '') try: nextp=re.compile('<a href="([^"]+)">Next', re.DOTALL | re.IGNORECASE).findall(listhtml) utils.addDir('Next Page', nextp[0],71,'') except: pass xbmcplugin.endOfDirectory(utils.addon_handle)
def NFScenes(url): scenehtml = utils.getHtml(url, '') match = re.compile(r'class="scene">.*?href="([^"]+)"[^(]+?\(([^)]+)\).*?<div class="description">[^>]+>([^<]+)<', re.DOTALL | re.IGNORECASE).findall(scenehtml) scenecount = 1 for sceneurl, img, desc in match: name = 'Scene ' + str(scenecount) scenecount = scenecount + 1 sceneurl = 'http://www.nudeflix.com' + sceneurl utils.addDownLink(name, sceneurl, 43, img, desc) xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url): if utils.addon.getSetting("chaturbate") == "true": clean_database() data = utils.getHtml(url, '') model_list = re.compile('int-each-hml">\s+<a class ="linkHandlerClass" title="([^"]+)" href="([^"]+)" target="">\s+<span[^<]+[^>]+>\s+<span[^<]+[^>]+>\s+<img[^<]+src="([^"]+)">\s+', re.DOTALL | re.IGNORECASE).findall(data) for model, url, img in model_list: name = model.replace("'s webcam","").strip() videourl = "http://new.naked.com" + url utils.addDownLink(name, videourl, 482, img, '', noDownload=True) xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url): html = utils.getHtml(url, '') match = re.compile(r'data-id="\d+" title="([^"]+)" href="([^"]+)".*?src="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(html) for name, videopage, img in match: name = utils.cleantext(name) utils.addDownLink(name, videopage, 412, img, '') try: nextp = re.compile('<a class="nextpostslink" rel="next" href="(.+?)">', re.DOTALL | re.IGNORECASE).findall(html) utils.addDir('Next Page', nextp[0], 411,'') except: pass xbmcplugin.endOfDirectory(utils.addon_handle)
def YFTList(url): listhtml = utils.getHtml(url, '') match = re.compile('<a href="([^"]+)"[^<]+<[^<]+<img src="([^"]+)" alt="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(listhtml) for videopage, img, name in match: utils.addDownLink(name, videopage, 192, img, '') try: nextp=re.compile('<a href="([^"]+)">»', re.DOTALL | re.IGNORECASE).findall(listhtml) nextp = "http://www.yourfreetube.net/" + nextp[0] utils.addDir('Next Page', nextp, 191,'') except: pass xbmcplugin.endOfDirectory(utils.addon_handle)
def ListSearch(url): html = utils.getHtml(url, '').replace('\n','') match = re.compile('<p>(.+?)</p><p>.+?<img src="(.+?)".*?/>.*?</a>.*?<a href="(.+?)" class="more-link">').findall(html) for name, img, videopage in match: name = utils.cleantext(name) utils.addDownLink(name, videopage, 422, img, '') try: nextp = re.compile('<link rel="next" href="(.+?)" />', re.DOTALL | re.IGNORECASE).findall(html) utils.addDir('Next Page', nextp[0], 425,'') except: pass xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url): if utils.addon.getSetting("chaturbate") == "true": clean_database() response = urllib2.urlopen(url) data = json.load(response) for camgirl in data['results']: name = camgirl['username'] + " [" + camgirl['quality'] + "]" + " [" + camgirl['status'] + "]" videourl = "https://www.camsoda.com/api/v1/video/vtoken/" + camgirl['username'] + "?username=guest_" + str(random.randrange(100, 55555)) img = "https:" + camgirl['thumb'] utils.addDownLink(name, videourl, 478, img, '', noDownload=True) xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url): listhtml = utils.getHtml(url, '') match = re.compile(r'class="content-list-thumb">\s+<a href="([^"]+)" title="([^"]+)">.*?src="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(listhtml) for videopage, name, img in match: name = utils.cleantext(name) utils.addDownLink(name, videopage, 232, img, '') try: nextp=re.compile('next page-numbers" href="([^"]+)">»', re.DOTALL | re.IGNORECASE).findall(listhtml)[0] utils.addDir('Next Page', nextp, 231,'') except: pass xbmcplugin.endOfDirectory(utils.addon_handle)
def P00List(url, page): listhtml = utils.getHtml(url, '') match = re.compile('src="([^"]+)" class="attachment-primary-post-thumbnail wp-post-image".*?<a title="([^"]+)" href="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(listhtml) for img, name, videopage in match: name = utils.cleantext(name) utils.addDownLink(name, videopage, 62, img, '') if re.search("<span class='current'>\d+?</span><span>", listhtml, re.DOTALL | re.IGNORECASE): npage = page + 1 url = url.replace('page/'+str(page)+'/','page/'+str(npage)+'/') utils.addDir('Next Page ('+str(npage)+')', url, 65, '', npage) xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url): listhtml = utils.getHtml(url, '') match = re.compile(r'<div class="quadrato">\s*?<a href="([^"]+)"\s*?title="([^"]+)".*?src="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(listhtml) for videopage, name, img in match: name = utils.cleantext(name) utils.addDownLink(name, videopage, 172, img, '') try: nextp=re.compile(r"""current(?:"|')>\d+</span><a.*?href=(?:"|')([^'"]+)""", re.DOTALL | re.IGNORECASE).findall(listhtml)[0] utils.addDir('Next Page', nextp, 171,'') except: pass xbmcplugin.endOfDirectory(utils.addon_handle)
def PHList(url): listhtml = utils.getHtml(url, '') match = re.compile(r'panel-img">\s+<a href="([^"]+)"><img data-src="([^"]+)".*?alt="([^"]+)', re.DOTALL | re.IGNORECASE).findall(listhtml) for videopage, img, name in match: name = utils.cleantext(name) utils.addDownLink(name, videopage, 72, img, '') try: nextp=re.compile('<a href="([^"]+)"[^>]+>Next', re.DOTALL | re.IGNORECASE).findall(listhtml) utils.addDir('Next Page', nextp[0],71,'') except: pass xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url): listhtml = utils.getHtml(url, '') match = re.compile('<li>\n.+?<a href="(.+?)" title="(.+?)">\n.+?<div class="thumb thumb-paged" data-screen-main="1">\n\n.+?<img src="(.+?)"').findall(listhtml) for videopage, name, img in match: name = utils.cleantext(name) utils.addDownLink(name, videopage, 342, img, '') try: nextp=re.compile('<a href="(.+?)" title="Next Page" data-page-num.+?>Next page').findall(listhtml) utils.addDir('Next Page', 'http://www.hdzog.com' + nextp[0], 341,'') except: pass xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url): listhtml = utils.getHtml(url, '') match = re.compile('<h2><a href="([^"]+)".*?title="([^"]+)">.+?<img src="([^"]+)".+? width="', re.DOTALL).findall(listhtml) for videopage, name, img in match: name = utils.cleantext(name) utils.addDownLink(name, videopage, 372, img, '') try: nextp = re.compile('<span class=\'current\'>.+?</span><a class="page larger" href="([^"]+)"').findall(listhtml) utils.addDir('Next Page', nextp[0], 371,'') except: pass xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url): listhtml = utils.getHtml(url, '') match = re.compile('<a href="([^"]+)".*?src="([^"]+)".*?alt="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(listhtml) for videopage, img, name in match: name = utils.cleantext(name) utils.addDownLink(name, videopage, 907, img, '') try: nextp = re.compile('href="([^"]+)" title="Next Page"', re.DOTALL | re.IGNORECASE).findall(listhtml) utils.addDir('Next Page', nextp[0], 905,'') except: pass xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url): listhtml = utils.getHtml(url, '') match = re.compile(r'<a class="thumbnail" href="(.+?)">\n<script.+?</script>\n<figure>\n<img id=".+?" src="(.+?)".+?/>\n<figcaption>\n<span class="video-icon"><i class="fa fa-play"></i></span>\n<span class="duration"><i class="fa fa-clock-o"></i>(.+?)</span>\n(.+?)\n').findall(listhtml) for videopage, img, duration, name in match: name = utils.cleantext(name) + ' ' + duration utils.addDownLink(name, 'http://www.mrsexe.com/' + videopage, 402, img, '') try: nextp=re.compile(r'<li class="arrow"><a href="(.+?)">suivant</li>').findall(listhtml) utils.addDir('Next Page', 'http://www.mrsexe.com/' + nextp[0], 401,'') except: pass xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url): listhtml = utils.getHtml(url, '') match = re.compile(r"<a href='([^']+).*?src='([^']+)' id=\d+ alt='([^']+)'", re.DOTALL | re.IGNORECASE).findall(listhtml) for videopage, img, name in match: name = utils.cleantext(name) utils.addDownLink(name, videopage, 322, img, '') try: nextp = re.compile('href="([^"]+)">Next', re.DOTALL | re.IGNORECASE).findall(listhtml) utils.addDir('Next Page', nextp[0], 321,'') except: pass xbmcplugin.endOfDirectory(utils.addon_handle)
def PHList(url): listhtml = utils.getHtml(url, '') match = re.compile('panel-img">.*?<a href="([^"]+)" title="([^"]+)".*?src="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(listhtml) for videopage, name, img in match: name = utils.cleantext(name) utils.addDownLink(name, videopage, 72, img, '') try: nextp=re.compile('<a href="([^"]+)">Next', re.DOTALL | re.IGNORECASE).findall(listhtml) utils.addDir('Next Page', nextp[0],71,'') except: pass xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url): html = utils.getHtml(url, '') match = re.compile('<img src="([^"]+)"/>.+?<a href="([^"]+)" class="more-link">.+?<span class="screen-reader-text">([^"]+)</span>', re.DOTALL | re.IGNORECASE).findall(html) for img, videopage, name in match: name = utils.cleantext(name) utils.addDownLink(name, videopage, 422, img, '') try: nextp = re.compile('<a class="nextpostslink" rel="next" href="(.+?)">', re.DOTALL | re.IGNORECASE).findall(html) utils.addDir('Next Page', nextp[0], 421,'') except: pass xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url): listhtml = utils.getHtml(url, '') match = re.compile('<div id="post-.*?<div class="thumb">.*?href="([^"]+)".*?src="([^"]+)".*?alt="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(listhtml) for videopage, img, name in match: name = utils.cleantext(name) utils.addDownLink(name, videopage, 182, img, '') try: nextp=re.compile('<a class="nextpostslink" rel="next" href="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(listhtml) utils.addDir('Next Page', nextp[0], 181,'') except: pass xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url): listhtml = utils.getHtml(url, '') match = re.compile('<a class="" href="(.+?)" title="(.+?)">\n<img src="(.+?)" class="has-image" alt=".+?"/>', re.DOTALL | re.IGNORECASE).findall(listhtml) for videopage, name, img in match: name = utils.cleantext(name) utils.addDownLink(name, videopage, 352, img, '') try: nextp=re.compile('<li class="disabled active"><span class="active">.+?</span></li><li><a href="(.+?)"', re.DOTALL | re.IGNORECASE).findall(listhtml) utils.addDir('Next Page', nextp[0], 351,'') except: pass xbmcplugin.endOfDirectory(utils.addon_handle)
def NFScenes(url): scenehtml = utils.getHtml(url, '') match = re.compile( r'class="scene">.*?href="([^"]+)"[^(]+?\(([^)]+)\).*?<div class="description">[^>]+>([^<]+)<', re.DOTALL | re.IGNORECASE).findall(scenehtml) scenecount = 1 for sceneurl, img, desc in match: name = 'Scene ' + str(scenecount) scenecount = scenecount + 1 sceneurl = 'http://www.nudeflix.com' + sceneurl utils.addDownLink(name, sceneurl, 43, img, desc) xbmcplugin.endOfDirectory(utils.addon_handle)
def SearchList(url, page=None): listhtml = utils.getHtml2(url) match = re.compile(r'<article class="dcm-article">.*?<a href="(.*?)">.+?src="(.*?)".*?<a href=".*?">(.*?)</a>', re.DOTALL | re.IGNORECASE).findall(listhtml) for videopage, img, name in match: name = utils.cleantext(name) utils.addDownLink(name, videopage, 231, img, '', fanart='https://raw.githubusercontent.com/doki1/repo/master/NLView%20XML/fanart.jpg') try: nextp=re.compile(r'dcm-active">\d+<.*?href="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(listhtml)[0] next = "http://www.foxsports.nl/video/search/" + nextp.replace("&","&").replace(" ","%20") utils.addDir('Volgende Pagina', next, 229,'', '') except: pass xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url, page=None): listhtml = utils.getHtml2(url) match = re.compile("""src='([^']+)' alt='([^<]+)'>.*?href="([^"]+)""", re.DOTALL | re.IGNORECASE).findall(listhtml) for img, name, videopage in match: name = utils.cleantext(name) videopage = "http://www.foxsports.nl" + videopage utils.addDownLink(name, videopage, 231, img, '', fanart='https://raw.githubusercontent.com/doki1/repo/master/NLView%20XML/fanart.jpg') if len(match) == 12: npage = page + 1 url = url.replace('/'+str(page)+'/','/'+str(npage)+'/') utils.addDir('Volgende Pagina ('+str(npage)+')', url, 228, '', npage) xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url): listhtml = utils.getHtml(url, '') match = re.compile(r"src='([^']+)' id=(\d+) alt='([^']+)'", re.DOTALL | re.IGNORECASE).findall(listhtml) for img, urlid, name in match: name = utils.cleantext(name) videopage = "https://vartuc.com/kt_player/player.php?id=" + urlid utils.addDownLink(name, videopage, 322, img, '') try: nextp = re.compile('href="([^"]+)">Next', re.DOTALL | re.IGNORECASE).findall(listhtml) utils.addDir('Next Page', nextp[0], 321,'') except: pass xbmcplugin.endOfDirectory(utils.addon_handle)
def ChannelList(url): print "hclips::List " + url listhtml = utils.getHtml(url, '') match = re.compile('<a href="([^"]+)" class="thumb" data-rt=".+?">.+?<img width="220" height="165" src="([^"]+)" alt="([^"]+)"', re.DOTALL).findall(listhtml) for videopage, img, name in match: name = utils.cleantext(name) utils.addDownLink(name, 'http://www.hclips.com' + videopage, 382, img, '') try: nextp=re.compile('<li class="next">.+?<a href="([^"]+)".*?>Next</a>', re.DOTALL | re.IGNORECASE).findall(listhtml) utils.addDir('Next Page', 'http://www.hclips.com' + nextp[0], 386,'') except: pass xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url): listhtml = utils.getHtml(url, '') match = re.compile("<main(.*?)</main", re.DOTALL | re.IGNORECASE).findall(listhtml)[0] match1 = re.compile('<a class="" href="([^"]+)" title="([^"]+)">\n<img src="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(match) for videopage, name, img in match1: name = utils.cleantext(name) utils.addDownLink(name, videopage, 352, img, '') try: nextp=re.compile(r'<span class="active">\d+</span></li><li><a href="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(listhtml) utils.addDir('Next Page', nextp[0], 351,'') except: pass xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url): listhtml = utils.getHtml(url, '') match = re.compile('<article[^>]+>.+?<a href="([^"]+)" title="([^"]+)".*?src="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(listhtml) for videopage, name, img in match: name = utils.cleantext(name) utils.addDownLink(name, videopage, 472, img, '') try: nextp=re.compile('<a class="next page-numbers" href="(.+?)"><i class="fa fa-angle-right"', re.DOTALL | re.IGNORECASE).findall(listhtml) nextp = nextp[0].replace("&", "&") utils.addDir('Next Page', nextp, 471,'') except: pass xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url): listhtml = utils.getHtml(url, '') match = re.compile('<div id="main">(.*?)<div id="sidebar', re.DOTALL | re.IGNORECASE).findall(listhtml)[0] match1 = re.compile(r'data-id="\d+" title="([^"]+)" href="([^"]+)".*?src="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(match) for name, videopage, img in match1: name = utils.cleantext(name) utils.addDownLink(name, videopage, 452, img, '') try: nextp = re.compile('href="([^"]+)">Next', re.DOTALL | re.IGNORECASE).findall(match) utils.addDir('Next Page', nextp[0], 451,'') except: pass xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url): listhtml = utils.getHtml(url, '') match = re.compile('<div id="main">(.*?)<div id="sidebar', re.DOTALL | re.IGNORECASE).findall(listhtml)[0] match1 = re.compile(r'data-id="\d+" title="([^"]+)" href="([^"]+)".*?src="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(match) for name, videopage, img in match1: name = utils.cleantext(name) utils.addDownLink(name, videopage, 312, img, '') try: nextp = re.compile('rel="next" href="([^"]+)">', re.DOTALL | re.IGNORECASE).findall(match) utils.addDir('Next Page', nextp[0], 311,'') except: pass xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url): listhtml = utils.getHtml(url, '') match = re.compile('<article id=.*?class="cover" src="([^"]+)".*?alt="([^"]+)".*?href="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(listhtml) for img, name, videopage in match: name = utils.cleantext(name) utils.addDownLink(name, videopage, 332, img, '') try: nextp=re.compile('<a class="next page-numbers" href="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(listhtml) nextp = nextp[0].replace("&", "&") utils.addDir('Next Page', nextp, 331,'') except: pass xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url): listhtml = utils.getHtml(url, '') match = re.compile('<div class="photo-thumb-image.*?href="([^"]+)".*?title="([^"]+)".*?src="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(listhtml) for videopage, name, img in match: name = utils.cleantext(name) utils.addDownLink(name, videopage, 233, img, '') try: nextp=re.compile('<a class="nextpostslink" rel="next" href="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(listhtml) nextp = nextp[0].replace("&", "&") utils.addDir('Next Page', nextp, 232,'') except: pass xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url): listhtml = utils.getHtml2(url) match = re.compile(r'<img src="(.*?)" />.*?<h3>(.*?)</h3>.*?<a href="(.*?)"><span>Bekijk video</span></a>', re.DOTALL | re.IGNORECASE).findall(listhtml) for img, name, videopage in match: name = utils.cleantext(name) videopage = "http://xite.nl" + videopage utils.addDownLink(name, videopage, 222, img, '', fanart='https://raw.githubusercontent.com/doki1/repo/master/NLView%20XML/fanart.jpg') # if len(match) == 15: # npage = page + 1 # url = url.replace('/'+str(page)+'/','/'+str(npage)+'/') # utils.addDir('Volgende Pagina ('+str(npage)+')', url, 221, '', npage) xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url): listhtml = utils.getHtml(url, '') match = re.compile('thumb-list(.*?)<ul class="right pagination">', re.DOTALL | re.IGNORECASE).findall(listhtml) match1 = re.compile(r'<li class="[^"]*">\s<a class="thumbnail" href="([^"]+)">\n<script.+?</script>\n<figure>\n<img id=".+?" src="([^"]+)".+?/>\n<figcaption>\n<span class="video-icon"><i class="fa fa-play"></i></span>\n<span class="duration"><i class="fa fa-clock-o"></i>([^<]+)</span>\n(.+?)\n', re.DOTALL | re.IGNORECASE).findall(match[0]) for videopage, img, duration, name in match1: name = utils.cleantext(name) + ' [COLOR deeppink]' + duration + '[/COLOR]' utils.addDownLink(name, 'http://www.mrsexe.com/' + videopage, 402, img, '') try: nextp=re.compile(r'<li class="arrow"><a href="(.+?)">suivant</li>').findall(listhtml) utils.addDir('Next Page', 'http://www.mrsexe.com/' + nextp[0], 401,'') except: pass xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url): listhtml = utils.getHtml2(url) match = re.compile("model_detail=(.*?)&.*?img src=(.*?)jpg.*?</div>", re.DOTALL | re.IGNORECASE).findall(listhtml) for name, img in match: name = utils.cleantext(name) img = img + 'jpg' url = img[32:-17] if len(url) == 7: url = '10' + url else: url = '1' + url utils.addDownLink(name, url, 272, img, '') xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url): print "boyfriendtv::List " + url listhtml = utils.getHtml(url, '') match = re.compile('<li class="videoblock".+?<a href="([^"]+)" title="([^"]+)".+?<var class="duration">([^<]+).*?data-mediumthumb="([^"]+)"', re.DOTALL).findall(listhtml) for videopage, name, duration, img in match: name = utils.cleantext(name) name = name + " [COLOR blue]" + duration + "[/COLOR]" utils.addDownLink(name, 'http://www.boyfriendtv.com' + videopage, 386, img, '') try: nextp=re.compile('<li class="page_next"><a href="(.+?)" class="orangeButton">Next</a></li>', re.DOTALL).findall(listhtml) utils.addDir('Next Page', 'http://www.boyfriendtv.com' + nextp[0].replace('&','&'), 385,'') except: pass xbmcplugin.endOfDirectory(utils.addon_handle)
def HQLIST(url): link = utils.getHtml(url, '') match = re.compile('<a href="([^"]+)"[^<]+<img src="([^"]+)" alt="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(link) for url, img, name in match: name = utils.cleantext(name) videourl = "http://www.hqporner.com" + url utils.addDownLink(name, videourl, 152, img, '') try: nextp=re.compile('<a href="([^"]+)"[^>]+>Next', re.DOTALL | re.IGNORECASE).findall(link) nextp = "http://www.hqporner.com" + nextp[0] utils.addDir('Next Page', nextp,151,'') except: pass xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url): listhtml = utils.getHtml(url, '') match = re.compile(r'<div class="quadrato">\s*?<a href="([^"]+)"\s*?title="([^"]+)".*?src="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(listhtml) for videopage, name, img in match: name = utils.cleantext(name) if videopage.startswith('/'): videopage = 'http://streamxxx.tv/' + videopage utils.addDownLink(name, videopage, 172, img, '') try: nextp=re.compile(r"""current(?:"|')>\d+</span><a.*?href=(?:"|')([^'"]+)""", re.DOTALL | re.IGNORECASE).findall(listhtml)[0] utils.addDir('Next Page', nextp, 171,'') except: pass xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url, page): if utils.addon.getSetting("chaturbate") == "true": clean_database() listhtml = utils.getHtml(url, url) match = re.compile('profileDataBox"> <a href="([^"]+)".*?src="([^"]+)" title="Chat Now Free with ([^"]+)"', re.DOTALL | re.IGNORECASE).findall(listhtml) for videourl, img, name in match: name = utils.cleantext(name) videourl = "http://www.cam4.com" + videourl utils.addDownLink(name, videourl, 282, img, '', noDownload=True) if re.search('<link rel="next"', listhtml, re.DOTALL | re.IGNORECASE): npage = page + 1 url = url.replace('/'+str(page),'/'+str(npage)) utils.addDir('Next Page ('+str(npage)+')', url, 281, '', npage) xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url): listhtml = utils.getHtml(url, '') match = re.compile( r'class="content-list-thumb">\s+<a href="([^"]+)" title="([^"]+)">.*?src="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(listhtml) for videopage, name, img in match: name = utils.cleantext(name) utils.addDownLink(name, videopage, 232, img, '') try: nextp = re.compile('next page-numbers" href="([^"]+)">»', re.DOTALL | re.IGNORECASE).findall(listhtml)[0] utils.addDir('Next Page', nextp, 231, '') except: pass xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url): html = utils.getHtml(url, '') match = re.compile( '<div class="entry-content">.*?<img src="([^"]+)".*?<a href="([^"]+)" class="more-link">.+?<span class="screen-reader-text">([^"]+)</span>', re.DOTALL | re.IGNORECASE).findall(html) for img, videopage, name in match: name = utils.cleantext(name) utils.addDownLink(name, videopage, 422, img, '') try: nextp = re.compile('<a class="next.*?href="(.+?)">', re.DOTALL | re.IGNORECASE).findall(html) utils.addDir('Next Page', nextp[0], 421, '') except: pass xbmcplugin.endOfDirectory(utils.addon_handle)