def NLVIDEOLIST(url, page=1): siteurl = sitelist[page] try: link = utils.getHtml3(url) except: return None # match = re.compile(r'<article([^>]*)>.*?href="([^"]+)".*?src="([^"]+)".*?alt="([^"]+).*?duration">[^\d]+([^\s<]+)(?:\s|<)', re.DOTALL | re.IGNORECASE).findall(link) match = re.compile( '<article[^"]+"([^"]+)".+?href="([^"]+)".*?src="([^"]+jpg)".*?alt="([^"]+).*?duration">\D*?([\d:]+)\D*?<', re.DOTALL | re.IGNORECASE).findall(link) for hd, videourl, img, name, duration in match: if 'high_' in hd: hd = " [COLOR orange]HD[/COLOR] " else: hd = " " if siteurl not in videourl: videourl = siteurl + videourl duration2 = "[COLOR deeppink]" + duration + "[/COLOR]" if duration != '1"': utils.addDownLink(name + hd + duration2, videourl, 102, img, '') try: nextp = re.compile( '<a href="([^"]+)"[^>]*?>(?:Next|Volgende|VOLGENDE)<', re.DOTALL | re.IGNORECASE).findall(link)[0] if siteurl not in nextp: nextp = siteurl + nextp utils.addDir('Next Page', nextp, 101, '', page) except: pass xbmcplugin.endOfDirectory(int(sys.argv[1]))
def NLVIDEOLIST(url, page=1): siteurl = sitelist[page] try: link = utils.getHtml3(url) except: return None match = re.compile( r'<article([^>]*)>.*?href="([^"]+)".*?src="([^"]+)".*?alt="([^"]+).*?duration">[^\d]+([^\s<]+)(?:\s|<)', re.DOTALL | re.IGNORECASE).findall(link) for hd, url, img, name, duration in match: if len(hd) > 2: hd = " [COLOR orange]HD[/COLOR] " else: hd = " " videourl = url if url.startswith('http') else siteurl + url duration2 = "[COLOR deeppink]" + duration + "[/COLOR]" utils.addDownLink(name + hd + duration2, videourl, 102, img, '') try: nextp = re.compile('<a href="([^"]+)" title="volg', re.DOTALL | re.IGNORECASE).findall(link) nextp = siteurl + nextp[0] utils.addDir('Next Page', nextp, 101, '', page) except: pass xbmcplugin.endOfDirectory(int(sys.argv[1]))
def Cat(url): listhtml = utils.getHtml3(url) match = re.compile('<a class="list-item__link" href="([^"]+)" title="([^"]+)".*?class="list-item__info">([^<]+)', re.DOTALL | re.IGNORECASE).findall(listhtml) for catpage, name, videos in match: videos=videos.replace(' ','') name = utils.cleantext(name) + " [COLOR deeppink]" + videos + "[/COLOR]" utils.addDir(name, catpage, 361) xbmcplugin.endOfDirectory(utils.addon_handle)
def NLCAT(url, page=1): siteurl = sitelist[page] link = utils.getHtml3(url) tags = re.compile('<div class="category".*?href="([^"]+)".*?<h2>([^<]+)<.*?src="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(link) for caturl, catname, catimg in tags: catimg = siteurl + catimg utils.addDir(catname,caturl,101,catimg,page) xbmcplugin.endOfDirectory(int(sys.argv[1]))
def NLCAT(url, page=1): siteurl = sitelist[page] link = utils.getHtml3(url) tags = re.compile( '<div class="category".*?href="([^"]+)".*?<h2>([^<]+)<.*?src="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(link) for caturl, catname, catimg in tags: catimg = siteurl + catimg utils.addDir(catname, caturl, 101, catimg, page) xbmcplugin.endOfDirectory(int(sys.argv[1]))
def Cat(url): listhtml = utils.getHtml3(url) match = re.compile( '<a class="list-item__link" href="([^"]+)" title="([^"]+)".*?class="list-item__info">([^<]+)', re.DOTALL | re.IGNORECASE).findall(listhtml) for catpage, name, videos in match: videos = videos.replace(' ', '') name = utils.cleantext( name) + " [COLOR deeppink]" + videos + "[/COLOR]" utils.addDir(name, catpage, 361) xbmcplugin.endOfDirectory(utils.addon_handle)
def NLPLAYVID(url,name, download=None): videopage = utils.getHtml3(url) videourl = re.compile('<source src="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(videopage) videourl = videourl[0] videourl+='|verifypeer=false' if download == 1: utils.downloadVideo(videourl, name) else: iconimage = xbmc.getInfoImage("ListItem.Thumb") listitem = xbmcgui.ListItem(name, iconImage="DefaultVideo.png", thumbnailImage=iconimage) listitem.setInfo('video', {'Title': name, 'Genre': 'P**n'}) xbmc.Player().play(videourl, listitem)
def NLPLAYVID(url, name, download=None): videopage = utils.getHtml3(url) videourl = re.compile('<source src="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(videopage) videourl = videourl[0] videourl += '|verifypeer=false' if download == 1: utils.downloadVideo(videourl, name) else: iconimage = xbmc.getInfoImage("ListItem.Thumb") listitem = xbmcgui.ListItem(name, iconImage="DefaultVideo.png", thumbnailImage=iconimage) listitem.setInfo('video', {'Title': name, 'Genre': 'P**n'}) xbmc.Player().play(videourl, listitem)
def NLCAT(url, page=1): siteurl = sitelist[page] link = utils.getHtml3(url) if page == 1: tags = re.compile('href="(https://www.12milf.com/c/[^"]+)">([^<]+)<', re.DOTALL | re.IGNORECASE).findall(link) for caturl, catname in tags: if siteurl not in caturl: caturl = siteurl + caturl utils.addDir(catname,caturl,101,'',page) else: tags = re.compile('<article id=.*?href="([^"]+)" title="([^"]+)">.+?src="([^"]+)" class', re.DOTALL | re.IGNORECASE).findall(link) for caturl, catname, catimg in tags: if siteurl not in catimg: catimg = siteurl + catimg if siteurl not in caturl: caturl = siteurl + caturl utils.addDir(catname,caturl,101,catimg,page) xbmcplugin.endOfDirectory(int(sys.argv[1]))
def Playvid(url, name, download=None): vp = utils.VideoPlayer(name, download) vp.progress.update(25, "", "Loading video page", "") html = utils.getHtml3(url) videourl = re.compile('video_url="([^"]+)"').findall(html)[0] videourl += re.compile('video_url\+="([^"]+)"').findall(html)[0] videourl1 = re.compile('video_url="([^"]+)"').findall(html)[0] videourl2 = re.compile('video_url\+="([^"]+)"').findall(html)[0] partes = videourl.split('||') videourl = decode_url(partes[0]) videourl3 = decode_url(partes[0]) videourl = re.sub('/get_file/\d+/[0-9a-z]{32}/', partes[1], videourl) videourl += '&' if '?' in videourl else '?' videourl += 'lip=' + partes[2] + '<=' + partes[3] + '&f=video.m3u8' vp.play_from_direct_link(videourl)
def List(url): try: listhtml = utils.getHtml3(url) except: return None match = re.compile('<div class="item ">.+?<a href="([^"]+)".+?class.+?src="([^"]+)".+?alt="([^"]+)".+?class="duration">(.+?)<', re.DOTALL | re.IGNORECASE).findall(listhtml) for videopage, img, name, duration in match: name = utils.cleantext(name) name = name + " [COLOR deeppink]" + duration + "[/COLOR]" utils.addDownLink(name, videopage, 362, img, '') try: nextp = re.compile('<a href="([^"]+)"[^>]+>Next', re.DOTALL | re.IGNORECASE).findall(listhtml) utils.addDir('Next Page', 'http://www.tubepornclassic.com/' + nextp[0], 361,'') except: pass xbmcplugin.endOfDirectory(utils.addon_handle)
def NLCAT(url, page=1): siteurl = sitelist[page] link = utils.getHtml3(url) if page == 0: tags = re.compile( '<div class="category".*?href="([^"]+)".*?<h2>([^<]+)<.*?src="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(link) utils.addDir('[COLOR orange]HD[/COLOR] Porno Films', siteurl + '/pornofilms/hd', 101, '', page) if page == 2: tags = re.compile( '<article id=.*?href="([^"]+)" title="([^"]+)">.+?src="([^"]+)" class', re.DOTALL | re.IGNORECASE).findall(link) for caturl, catname, catimg in tags: if siteurl not in catimg: catimg = siteurl + catimg if siteurl not in caturl: caturl = siteurl + caturl utils.addDir(catname, caturl, 101, catimg, page) xbmcplugin.endOfDirectory(int(sys.argv[1]))
def List(url): try: listhtml = utils.getHtml3(url) except: return None match = re.compile( '<div class="item ">.+?<a href="([^"]+)".+?class.+?src="([^"]+)".+?alt="([^"]+)".+?class="duration">(.+?)<', re.DOTALL | re.IGNORECASE).findall(listhtml) for videopage, img, name, duration in match: name = utils.cleantext(name) name = name + " [COLOR deeppink]" + duration + "[/COLOR]" utils.addDownLink(name, videopage, 362, img, '') try: nextp = re.compile('<a href="([^"]+)"[^>]+>Next', re.DOTALL | re.IGNORECASE).findall(listhtml) utils.addDir('Next Page', 'http://www.tubepornclassic.com/' + nextp[0], 361, '') except: pass xbmcplugin.endOfDirectory(utils.addon_handle)
def NLVIDEOLIST(url, page=1): siteurl = sitelist[page] try: link = utils.getHtml3(url) except: return None match = re.compile(r'<article([^>]*)>.*?href="([^"]+)".*?src="([^"]+)".*?alt="([^"]+).*?duration">[^\d]+([^\s<]+)(?:\s|<)', re.DOTALL | re.IGNORECASE).findall(link) for hd, url, img, name, duration in match: if len(hd) > 2: hd = " [COLOR orange]HD[/COLOR] " else: hd = " " videourl = url if url.startswith('http') else siteurl + url duration2 = "[COLOR deeppink]" + duration + "[/COLOR]" utils.addDownLink(name + hd + duration2, videourl, 102, img, '') try: nextp=re.compile('<a href="([^"]+)" title="volg', re.DOTALL | re.IGNORECASE).findall(link) nextp = siteurl + nextp[0] utils.addDir('Next Page', nextp,101,'',page) except: pass xbmcplugin.endOfDirectory(int(sys.argv[1]))