def Playvid(url, name, download=None): vp = utils.VideoPlayer(name, download,'','<source src="([^"]+)" [^>]+default') vp.play_from_site_link(url, url)
def datoporn_play(url, name, download=None): vp = utils.VideoPlayer(name, download=download) vp.play_from_link_to_resolve(url)
def animeidhentai_play(url, name, download=None): vp = utils.VideoPlayer(name, download=download, regex=r"""<iframe.*?src=["']??([^"'\s]+)""", direct_regex=None) vp.play_from_site_link(url)
def animeidhentai_play(url, name, download=None): vp = utils.VideoPlayer(name, download=download, regex='''<(?:iframe|IFRAME).*?(?:src|SRC)\s*=\s*["']([^'"]+)''', direct_regex=None) vp.play_from_site_link(url)
def WXFVideo(url, name, download=None): vp = utils.VideoPlayer(name, download) vp.play_from_site_link(url, url)
def Playvid(url, name, download=None): vp = utils.VideoPlayer( name, download, None, 'video id="vporn-video-player".*?<source src="([^"]+)"') vp.play_from_site_link(url)
def Playvid(url, name, download=None): vp = utils.VideoPlayer(name, download, '', 'src="([^"]+.mp4)') vp.play_from_site_link(url, url)
def pornvibe_play(url, name, download=None): vp = utils.VideoPlayer(name, download=download, regex='''<iframe src="([^"]+)''', direct_regex=None) vp.play_from_site_link(url, url)
def Playvid(url, name, download=None): vp = utils.VideoPlayer(name, download, 'source src="([^"]+)"') vp.play_from_site_link(url)
def Playvid(url, name, download=None): vp = utils.VideoPlayer(name, download=download, regex=r'a\s*href="([^"]+)"\s*rel="nofollow', direct_regex=None) vp.play_from_site_link(url, url)
def Playvid(url, name, download=None): vp = utils.VideoPlayer(name, download) vp.progress.update(25, "[CR]Loading video page[CR]") vp.play_from_link_to_resolve(url)
def Playvid(videourl, name, download=None): vp = utils.VideoPlayer(name, download) vp.play_from_direct_link(videourl)
def v7_play(url, name, download=None): vp = utils.VideoPlayer(name, download=download, regex=r'''<iframe.+?src\s*=\s*["']([^'"]+)''') vp.play_from_site_link(url)
def Playvid(url, name, download=None): vp = utils.VideoPlayer(name, download, '<a href="([^"]+)" target', '') vp.play_from_site_link(url, url)
def Playvid(url, name, download=None): listhtml = utils.getHtml(url) match = re.compile( 'data-lazy-type="iframe" data-src="([^"]+)"', ).findall(listhtml) videoArray = [] for item in match: if 'javhoho.com' in item: try: listhtml = utils.getHtml(item) videourl = 'https://www.bitporno.com' + re.compile( 'file: "(.+?)"', re.DOTALL).findall(listhtml)[0] videoArray.append(['Bitporno', videourl]) except: continue if 'streamz.cc' in item: try: listhtml = utils.getHtml(item) packed = re.compile( '(eval\(function\(p,a,c,k,e,d\).+?)\s*</script>', re.DOTALL | re.IGNORECASE).findall(listhtml)[0] unpacked = utils.unpack(packed) videourl = re.compile("'(http.+?)\\\\'", re.DOTALL | re.IGNORECASE).findall(unpacked)[0] videoArray.append(['Streamz.cc', videourl]) except: continue if 'gdriveplayer.to' in item: try: listhtml = utils.getHtml('https:' + item) packed = re.compile( '(eval\(function\(p,a,c,k,e,d\).+?)\s*</script>', re.DOTALL | re.IGNORECASE).findall(listhtml)[0] unpacked = utils.unpack(packed) videourl = re.compile("'(http.+?)'", re.DOTALL | re.IGNORECASE).findall(unpacked)[0] videoArray.append(['Gdriveplayer.to', videourl]) except: continue if 'youvideos.ru' in item: try: r = requests.post(item.replace('/v/', '/api/source/'), data='').text movieJson = json.loads(r)['data'] videoRU = [[str(item['label']), item['file']] for item in movieJson] videoArray.append(['YouVideos.ru', videourl]) except: pass if not videoArray: utils.notify('Oh oh', 'Couldn\'t find a video') return choice = xbmcgui.Dialog().select('Select server', [item[0] for item in videoArray]) videourl = videoArray[choice][1] if 'YouVideos.ru' in videoArray[choice][0]: videoRUs = sorted(videoRU, key=lambda x: int(x[0][:-1]), reverse=True) choice = xbmcgui.Dialog().select('Select resolution', [str(item[0]) for item in videoRUs]) videourl = videoRUs[choice][1] iconimage = xbmc.getInfoImage("ListItem.Thumb") listitem = xbmcgui.ListItem(name, iconImage="DefaultVideo.png", thumbnailImage=iconimage) listitem.setInfo('video', {'Title': name, 'Genre': 'JAVhoho'}) xbmc.Player().play(videourl, listitem) return vp = utils.VideoPlayer(name, download) vp.progress.update(20, "", "Loading video page", "") videohtml = utils.getHtml(url) match = re.compile('target="_blank"\s+href=(\S+)\s+[^>]+>([^<]+)<', re.DOTALL | re.IGNORECASE).findall(videohtml) links = [] for l in match: if l[1] not in ('FE', 'PT'): continue u = utils.getVideoLink(l[0], l[0]) if 's=http' in u: u = 'http' + u.split('s=http')[-1] u = u.replace('youvideos.ru/f', 'feurl.com/v') links.insert(0, u) vp.play_from_link_list(links) return
def Playvid(url, name, download=None): vp = utils.VideoPlayer(name, download=download) vp.progress.update(25, "", "Playing video", "") videolink = GetTxxxVideo(url) vp.progress.update(40, "", "Playing video", "") vp.play_from_direct_link(videolink)