예제 #1
0
def MAIN_MENU():

    common.addDir("[COLOR red][B]SEARCH[/B][/COLOR]", "url", 97, icon, fanart)

    link = common.open_url(BASE_VIDEOS).replace('\n', '').replace('\r', '')

    match = re.compile('<div class="sub_menu dark-menu">(.+?)</div>').findall(
        link)[0]
    match2 = re.compile('<a(.+?)/a>').findall(match)

    for items in match2:
        name = re.compile('href=.+?>(.+?)<').findall(items)[0]
        url = re.compile('href="(.+?)"').findall(items)[0]
        url = "http://motherless.com" + url
        common.addDir('[COLOR white]' + name + '[/COLOR]', url, 94, icon,
                      fanart)

    kodi_name = common.GET_KODI_VERSION()

    if kodi_name == "Jarvis":
        xbmc.executebuiltin('Container.SetViewMode(50)')
    elif kodi_name == "Krypton":
        xbmc.executebuiltin('Container.SetViewMode(55)')
    else:
        xbmc.executebuiltin('Container.SetViewMode(50)')
예제 #2
0
def MAIN_MENU():

	common.addDir("[COLOR red][B]SEARCH[/B][/COLOR]","url",244,icon,fanart)

	try:
		link = common.open_url('https://www.eporner.com/0/').replace('/n','')
	except:
		dialog.ok(AddonTitle, "Error connecting to website. Please try again.")
		quit()
		
	match=re.compile('<div id="categories-list-left">(.+?)<div class="clear">',re.DOTALL).findall(link)[0]
	match2=re.compile('<a(.+?)/div></div>').findall(match)
	for links in match2:
		name=re.compile('href=".+?"><strong>(.+?)</strong></a> <div class="cllnumber">',re.DOTALL).findall(links)[0]
		url=re.compile('href="(.+?)".+?<strong>.+?</strong></a> <div class="cllnumber">',re.DOTALL).findall(links)[0]
		vids=re.compile('<div class="cllnumber">\((.+?)\)<',re.DOTALL).findall(links)[0]
		url='https://www.eporner.com' + url
		common.addDir(name + " - " + vids + " videos",url,241,icon,fanart)

	kodi_name = common.GET_KODI_VERSION()

	if kodi_name == "Jarvis":
		xbmc.executebuiltin('Container.SetViewMode(50)')
	elif kodi_name == "Krypton":
		xbmc.executebuiltin('Container.SetViewMode(55)')
	else: xbmc.executebuiltin('Container.SetViewMode(50)')
예제 #3
0
def MAIN_MENU_PICTURES():

    result = common.open_url(BASE_IMAGE)

    match = re.compile(
        '<div class="sub_menu dark-menu">(.+?)<a class="feed-link medium"',
        re.DOTALL).findall(result)
    string = str(match)
    match2 = re.compile("<a(.+?)/a>", re.DOTALL).findall(string)

    for item in match2:
        url = re.compile('href="(.+?)" title=".+?">.+?<').findall(item)[0]
        name = re.compile('href=".+?" title=".+?">(.+?)<').findall(item)[0]
        url = "http://www.motherless.com" + url
        name = "[COLOR white]" + name + "[/COLOR]"
        common.addDir(name, url, 91, icon, fanart)

    kodi_name = common.GET_KODI_VERSION()

    if kodi_name == "Jarvis":
        xbmc.executebuiltin('Container.SetViewMode(50)')
    elif kodi_name == "Krypton":
        xbmc.executebuiltin('Container.SetViewMode(55)')
    else:
        xbmc.executebuiltin('Container.SetViewMode(50)')
예제 #4
0
def MAIN_MENU():

    common.addDir("[COLOR red][B]SEARCH[/B][/COLOR]", "url", 224, icon, fanart)

    result = common.open_url('http://virtualpornstars.com/')
    match = re.compile('<li class="cat-item cat(.+?)a>',
                       re.DOTALL).findall(result)

    for item in match:
        try:
            title = re.compile('<a href=".+?" >(.+?)</').findall(item)[0]
            url = re.compile('<a href="(.+?)" >.+?</').findall(item)[0]
            name = "[COLOR white]" + title + "[/COLOR]"
            name = common.CLEANUP(name)
            common.addDir(name, url, 221, icon, fanart)
        except:
            pass

    kodi_name = common.GET_KODI_VERSION()

    if kodi_name == "Jarvis":
        xbmc.executebuiltin('Container.SetViewMode(50)')
    elif kodi_name == "Krypton":
        xbmc.executebuiltin('Container.SetViewMode(55)')
    else:
        xbmc.executebuiltin('Container.SetViewMode(50)')
예제 #5
0
def MAIN_MENU():

    common.addDir("[COLOR red][B]SEARCH[/B][/COLOR]", "url", 64, search_icon,
                  fanart)

    result = common.open_url('http://www.p**n.com/categories')
    match = re.compile(
        '<div class="main"><h1>Featured Categories</h1>(.+?)<h2>All Categories</h2>',
        re.DOTALL).findall(result)
    string = str(match)
    match2 = re.compile('<a class="thum(.+?)data-id="',
                        re.DOTALL).findall(string)
    for item in match2:
        url = re.compile('bs" href="(.+?)"').findall(item)[0]
        title = re.compile('title="(.+?)"').findall(item)[0]
        icon_cat = re.compile('<img src="(.+?)"').findall(item)[0]
        title = title.replace("p**n", '')
        name = "[COLOR white]" + title + "[/COLOR]"
        name = common.CLEANUP(name)
        url = 'http://p**n.com' + url
        common.addDir(name, url, 61, icon_cat, fanart)

    kodi_name = common.GET_KODI_VERSION()

    if kodi_name == "Jarvis":
        xbmc.executebuiltin('Container.SetViewMode(50)')
    elif kodi_name == "Krypton":
        xbmc.executebuiltin('Container.SetViewMode(55)')
    else:
        xbmc.executebuiltin('Container.SetViewMode(50)')
예제 #6
0
def MAIN_MENU():

    common.addDir("[COLOR red][B]SEARCH[/B][/COLOR]", "url", 314, icon, fanart)

    result = common.open_url('http://www.perfectgirls.net')

    match = re.compile('<li class="header-submenu__item">(.+?)</li>',
                       re.DOTALL).findall(result)
    for item in match:
        try:
            url = re.compile('href="(.+?)">.+?</a>').findall(item)[0]
            title = re.compile('href=".+?">(.+?)</a>').findall(item)[0]
            url = 'http://www.perfectgirls.net' + url + "/1"
            name = "[COLOR white]" + title + " [/COLOR]"
            common.addDir(name, url, 311, icon, fanart)
        except:
            pass

    kodi_name = common.GET_KODI_VERSION()

    if kodi_name == "Jarvis":
        xbmc.executebuiltin('Container.SetViewMode(50)')
    elif kodi_name == "Krypton":
        xbmc.executebuiltin('Container.SetViewMode(55)')
    else:
        xbmc.executebuiltin('Container.SetViewMode(50)')
예제 #7
0
def MAIN_MENU():

    common.addDir("[COLOR red][B]SEARCH[/B][/COLOR]", "url", 264, icon, fanart)

    try:
        link = common.open_url('http://www.xvideos.com/tags').replace(
            '/n', '').replace('/r', '')
    except:
        dialog.ok(AddonTitle, "Error connecting to website. Please try again.")
        quit()

    match = re.compile('<ul class="tags-list" id="tags">(.+?)</ul>',
                       re.DOTALL).findall(link)[0]
    match2 = re.compile('<li>(.+?)</li>', re.DOTALL).findall(match)
    for links in match2:
        name = re.compile(
            '<a href=".+?"><b>(.+?)</b><span class="navbadge default">.+?</span></a>',
            re.DOTALL).findall(links)[0]
        url = re.compile(
            '<a href="(.+?)"><b>.+?</b><span class="navbadge default">.+?</span></a>',
            re.DOTALL).findall(links)[0]
        vids = re.compile(
            '<a href=".+?"><b>.+?</b><span class="navbadge default">(.+?)</span></a>',
            re.DOTALL).findall(links)[0]
        url = 'http://www.xvideos.com' + url
        name = "[COLOR pink]" + name + "[/COLOR] - [COLOR white]" + vids + " videos[/COLOR]"
        common.addDir(name, url, 261, icon, fanart)
    kodi_name = common.GET_KODI_VERSION()

    if kodi_name == "Jarvis":
        xbmc.executebuiltin('Container.SetViewMode(50)')
    elif kodi_name == "Krypton":
        xbmc.executebuiltin('Container.SetViewMode(55)')
    else:
        xbmc.executebuiltin('Container.SetViewMode(50)')
예제 #8
0
파일: pornxs.py 프로젝트: BrianG80/naughty
def MAIN_MENU():

	common.addDir("[COLOR red][B]SEARCH[/B][/COLOR]","url",254,icon,fanart)

	try:
		link = common.open_url('http://pornxs.com/new-categories/').replace('/n','').replace('/r','')
	except:
		dialog.ok(AddonTitle, "Error connecting to website. Please try again.")
		quit()
	
	match=re.compile('<ul class="categories">(.+?)</ul>',re.DOTALL).findall(link)[0]
	match2=re.compile('<a id=".+?" h(.+?)</a>',re.DOTALL).findall(match)
	for links in match2:
			name=re.compile('<div class="caption">(.+?)</div>',re.DOTALL).findall(links)[0]
			url=re.compile('ref="(.+?)"',re.DOTALL).findall(links)[0]
			iconimage=re.compile("background-image: url\('(.+?)'",re.DOTALL).findall(links)[0]
			iconimage='http://pornxs.com' + iconimage
			url='http://pornxs.com' + url
			name = name.lstrip()
			name = "[COLOR white]" + name + "[/COLOR]"
			common.addDir(name,url,251,iconimage,fanart)
	kodi_name = common.GET_KODI_VERSION()

	if kodi_name == "Jarvis":
		xbmc.executebuiltin('Container.SetViewMode(50)')
	elif kodi_name == "Krypton":
		xbmc.executebuiltin('Container.SetViewMode(55)')
	else: xbmc.executebuiltin('Container.SetViewMode(50)')
예제 #9
0
def MAIN_MENU():

	common.addDir("[COLOR red][B]SEARCH[/B][/COLOR]","url",304,icon,fanart)

	result = common.open_url('http://www.watchxxxfree.com/categories/')
	
	match = re.compile('<li class="border-radius-5 box-shadow">(.+?)</li>',re.DOTALL).findall(result)
	fail = 0
	videos = 0
	for item in match:
		url=re.compile('<a href="(.+?)" title=".+?"><span>.+?</span></a>').findall(item)[0]
		title=re.compile('<a href=".+?" title="(.+?)"><span>.+?</span></a>').findall(item)[0]
		try:
			icon_cat=re.compile('data-lazy-src="(.+?)"').findall(item)[0]
			icon_cat = "http:" + icon_cat
		except: icon_cat=icon
		number=re.compile('<span class="nb_cat border-radius-5">(.+?)</span>').findall(item)[0]
		b = str(number)
		c = b.replace(',','').replace(' videos','').replace(' video','')
		videos = videos + int(float(c))
		name = "[COLOR white]" + title + " - " + number + "[/COLOR]"
		common.addDir(name,url,301,icon_cat,fanart)

	kodi_name = common.GET_KODI_VERSION()

	if kodi_name == "Jarvis":
		xbmc.executebuiltin('Container.SetViewMode(50)')
	elif kodi_name == "Krypton":
		xbmc.executebuiltin('Container.SetViewMode(55)')
	else: xbmc.executebuiltin('Container.SetViewMode(50)')
예제 #10
0
def GET_CONTENT_PICTURES(url):

	checker = url
	result = common.open_url(url)
	match = re.compile('<div class="content-inner">(.+?)</html>',re.DOTALL).findall(result)
	string = str(match)
	match2 = re.compile('<div class="thumb-container(.+?)<div class="clear:both;">',re.DOTALL).findall(string)
	for item in match2:
		try:
			title=re.compile('<h2 class="caption title">(.+?)</h2>').findall(item)[0]
			url=re.compile('<a href="(.+?)"').findall(item)[0]
			iconimage=re.compile('<img class="static" src="(.+?)"').findall(item)[0]
			hits=re.compile('<div class="caption right">(.+?)</div>').findall(item)[0]
			date=re.compile('<div class="caption right">(.+?)</div>').findall(item)[1]
			title = common.CLEANUP(title)
			name = title + ' - ' + hits + ' | ' + date
			common.addLink(name,url,92,iconimage,fanart)
		except: pass

	try:
		next=re.compile('<a href="([^"]*)" class="pop".+?>NEXT').findall(result)[0]
		url = "http://motherless.com" + str(next)
		common.addDir('[COLOR orangered]Next Page >>[/COLOR]',url,91,icon,fanart)       
	except:pass

	kodi_name = common.GET_KODI_VERSION()

	if kodi_name == "Jarvis":
		xbmc.executebuiltin('Container.SetViewMode(500)')
	elif kodi_name == "Krypton":
		xbmc.executebuiltin('Container.SetViewMode(52)')
	else: xbmc.executebuiltin('Container.SetViewMode(500)')
예제 #11
0
def MAIN_MENU():

    common.addDir("[COLOR red][B]SEARCH[/B][/COLOR]", "url", 234, icon, fanart)

    link = common.open_url('http://justporno.tv').replace('\n', '')

    match = re.compile('<span class="desc-box-channels">(.+?)</span>').findall(
        link)[0]
    match2 = re.compile('<li>(.+?)</li>').findall(match)
    for links in match2:
        name = re.compile('<a href=".+?" title=".+?">(.+?)</a>',
                          re.DOTALL).findall(links)[0]
        url = re.compile('<a href="(.+?)" title=".+?">.+?</a>',
                         re.DOTALL).findall(links)[0]
        url = "http://justporno.tv" + url
        name = common.CLEANUP(name)
        common.addDir(name, url, 231, icon, fanart)

    kodi_name = common.GET_KODI_VERSION()

    if kodi_name == "Jarvis":
        xbmc.executebuiltin('Container.SetViewMode(50)')
    elif kodi_name == "Krypton":
        xbmc.executebuiltin('Container.SetViewMode(55)')
    else:
        xbmc.executebuiltin('Container.SetViewMode(50)')
예제 #12
0
def GET_CONTENT(url):

    nextpage = 0
    try:
        a,url = url.split('|')
    except: nextpage = 1
    
    link = common.open_url(url).replace('\n','').replace('\r','')
    match=re.compile('<div class="thumb video medium"(.+?)<div class="clear').findall(link)
    for links in match:
        url=re.compile('<a href="(.+?)"',re.DOTALL).findall(links)[0]
        name=re.compile('<h2 class="caption title">(.+?)</h2>',re.DOTALL).findall(links)[0].replace('.mp4', '').replace('.flv', '').replace('.wmv', '').replace('.avi', '')
        duration=re.compile('<div class="caption left">(.+?)</div>',re.DOTALL).findall(links)[0]
        iconimage=re.compile('<img class="static" src="(.+?)"',re.DOTALL).findall(links)[0].replace('?from_helper', '')
        name = common.CLEANUP(name)
        url2 = name + "|SPLIT|" + url
        if not "files" in duration.lower():
            common.addLink("[COLOR white]" + name + "[/COLOR] - [COLOR pink]" + duration + "[/COLOR]",url2,96,iconimage,fanart)

    if nextpage == 1:
        try:
            np=re.compile('<a href="([^"]*)" class="pop" rel=".+?">NEXT').findall(link)[0]
            np = np.replace('&amp;','&')
            np = 'http://motherless.com' + np
            common.addDir('[COLOR yellow]Next Page >>[/COLOR]',np,94,icon,fanart)       
        except:pass
예제 #13
0
def GET_CONTENT(url):

	nextpage = 0
	try:
		a,url = url.split('|')
	except: nextpage = 1

	checker = url
	link = common.open_url(url).replace('/n','')
	match=re.compile('<div class="thumb-box">(.+?)</div>',re.DOTALL).findall(link)[0]
	match2=re.compile('<li>(.+?)</li>',re.DOTALL).findall(match)
	for links in match2:
		try:
			name=re.compile('<a href=".+?" title="(.+?)">',re.DOTALL).findall(links)[0]
			url=re.compile('<a href="(.+?)" title=".+?">',re.DOTALL).findall(links)[0]
			iconimage=re.compile('src="(.+?)"',re.DOTALL).findall(links)[0]
			url="http://justporno.tv" + url
			name = common.CLEANUP(name)
			url = name + "|SPLIT|" + url + "|SPLIT|" + iconimage
			common.addLink(name,url,233,iconimage,fanart)
		except: pass

	if nextpage == 1:
		try:
			np=re.compile('<link rel="next" href="(.+?)"').findall(result)[0]
			common.addDir('[COLOR white]Next Page >>[/COLOR]',np,231,next_icon,fanart)       
		except:pass

	kodi_name = common.GET_KODI_VERSION()

	if kodi_name == "Jarvis":
		xbmc.executebuiltin('Container.SetViewMode(500)')
	elif kodi_name == "Krypton":
		xbmc.executebuiltin('Container.SetViewMode(52)')
	else: xbmc.executebuiltin('Container.SetViewMode(500)')
예제 #14
0
def PICTURE_MENU():

    result = common.open_url('http://multi.xnxx.com')

    match = re.compile(
        'visible-md visible-sm " id="leftPanel">(.+?)<div class="row"><div  class="boxImg',
        re.DOTALL).findall(result)
    string = str(match)
    match2 = re.compile('<a hre(.+?)/a>', re.DOTALL).findall(string)

    for item in match2:
        title = re.compile('f=".+?" />(.+?)<').findall(item)[0]
        url = re.compile('f="(.+?)" />.+?<').findall(item)[0]
        url3 = url
        url4 = url3.replace('\\', '')
        url = "http://multi.xnxx.com" + url4
        name = "[COLOR white]" + title.title() + "[/COLOR]"
        common.addDir(name, url, 35, icon, fanart)

    kodi_name = common.GET_KODI_VERSION()

    if kodi_name == "Jarvis":
        xbmc.executebuiltin('Container.SetViewMode(50)')
    elif kodi_name == "Krypton":
        xbmc.executebuiltin('Container.SetViewMode(55)')
    else:
        xbmc.executebuiltin('Container.SetViewMode(50)')
예제 #15
0
def GET_CONTENT(url):

	nextpage = 0
	try:
		a,url = url.split('|')
	except: nextpage = 1

	checker = url
	result = common.open_url(url)
	match = re.compile('<li class="border-radius-5 box-shadow">(.+?)</li>',re.DOTALL).findall(result)
	for item in match:
		title=re.compile('title="(.+?)"').findall(item)[0]
		url=re.compile('href="(.+?)"').findall(item)[0]
		iconimage=re.compile('data-lazy-src="(.+?)"').findall(item)[0]
		try:
			rating=re.compile('<div class="rating-infos">(.+?)<span class="rating-img">').findall(item)[0]						
		except: rating = "0%"
		url2 = title + '|SPLIT|' + url
		name = '[COLOR red][B]' + rating + '[/B][/COLOR] - [COLOR pink]' + title + '[/COLOR]'
		name = common.CLEANUP(name)
		common.addLink(name,url2,303,iconimage,iconimage)
	
	if nextpage == 1:
		try:
			np=re.compile('<link rel="next" href="(.+?)"/>').findall(result)[0]
			common.addDir('[COLOR pink]Next Page >>[/COLOR]',np,301,icon,fanart)       
		except:pass

	kodi_name = common.GET_KODI_VERSION()

	if kodi_name == "Jarvis":
		xbmc.executebuiltin('Container.SetViewMode(500)')
	elif kodi_name == "Krypton":
		xbmc.executebuiltin('Container.SetViewMode(52)')
	else: xbmc.executebuiltin('Container.SetViewMode(500)')
예제 #16
0
def STORY_MENU():

    result = common.open_url('http://sexstories.com')

    match = re.compile(
        '<div id="menu">.+?<h2>Genres</h2>(.+?)<div id="content">',
        re.DOTALL).findall(result)
    string = str(match)
    match2 = re.compile('<li>(.+?)</li>', re.DOTALL).findall(string)
    for item in match2:
        title = re.compile('<a href=".+?">(.+?)</a>').findall(item)[0]
        url = re.compile('<a href="(.+?)">.+?</a>').findall(item)[0]
        url3 = url
        url4 = url3.replace('\\', '')
        url = "http://www.sexstories.com" + url4
        name = "[COLOR white]" + title + "[/COLOR]"
        common.addDir(name, url, 39, icon, fanart)

    kodi_name = common.GET_KODI_VERSION()

    if kodi_name == "Jarvis":
        xbmc.executebuiltin('Container.SetViewMode(50)')
    elif kodi_name == "Krypton":
        xbmc.executebuiltin('Container.SetViewMode(55)')
    else:
        xbmc.executebuiltin('Container.SetViewMode(50)')
예제 #17
0
def PICTURE_CONTENT(url):

    result = common.open_url(url)

    match = re.compile(
        '<div class="smallMargin"></div><div class="clearfix">(.+?)<div class="bigMargin"></div><div class="clearfix">',
        re.DOTALL).findall(result)
    string = str(match)
    match2 = re.compile(
        '<div class="boxImg size_small home1 thumb"(.+?)</div></a></div>',
        re.DOTALL).findall(string)

    for item in match2:
        url = re.compile('<a href="(.+?)" target=').findall(item)[0]
        image = re.compile('d=".+?" src="(.+?)"').findall(item)[0]
        title = re.compile('<span class="descHome"><.+?>(.+?)<').findall(
            item)[0]
        url3 = url
        url4 = url3.replace('//', '')
        url = "http://multi.xnxx.com" + url4
        name = "[COLOR white]" + title + "[/COLOR]"
        common.addDir(name, url, 36, image, image)

    kodi_name = common.GET_KODI_VERSION()

    if kodi_name == "Jarvis":
        xbmc.executebuiltin('Container.SetViewMode(500)')
    elif kodi_name == "Krypton":
        xbmc.executebuiltin('Container.SetViewMode(52)')
    else:
        xbmc.executebuiltin('Container.SetViewMode(500)')
예제 #18
0
def MAIN_MENU():

    common.addDir("[COLOR red][B]SEARCH[/B][/COLOR]", "url", 274, icon, fanart)

    try:
        link = common.open_url('http://www.nxgx.com').replace('/n', '')
    except:
        dialog.ok(AddonTitle, "Error connecting to website. Please try again.")
        quit()

    match = re.compile('<div class="categories"(.+?)</ul>',
                       re.DOTALL).findall(link)[0]
    match2 = re.compile('<li>(.+?)</li>').findall(match)
    for links in match2:
        name = re.compile('<a href=".+?">(.+?)</a>',
                          re.DOTALL).findall(links)[0]
        url = re.compile('<a href="(.+?)">.+?</a>',
                         re.DOTALL).findall(links)[0]
        url = 'http://www.nxgx.com' + url
        common.addDir(name, url, 271, icon, fanart)

    kodi_name = common.GET_KODI_VERSION()

    if kodi_name == "Jarvis":
        xbmc.executebuiltin('Container.SetViewMode(50)')
    elif kodi_name == "Krypton":
        xbmc.executebuiltin('Container.SetViewMode(55)')
    else:
        xbmc.executebuiltin('Container.SetViewMode(50)')
예제 #19
0
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')
예제 #20
0
def MAIN_MENU():

    common.addDir("[COLOR red][B]SEARCH[/B][/COLOR]", "url", 54, search_icon,
                  fanart)

    result = common.open_url('http://www.pornhd.com/category')
    match = re.compile(
        '<div class="tag-150-container">(.+?)<div class="footer-zone">',
        re.DOTALL).findall(result)
    string = str(match)
    match2 = re.compile('<li class="category">(.+?)</li>',
                        re.DOTALL).findall(string)
    for item in match2:
        url = re.compile('<a href="(.+?)">').findall(item)[0]
        title = re.compile('alt="(.+?)"').findall(item)[0]
        icon_cat = re.compile('data-original="(.+?)"').findall(item)[0]
        name = "[COLOR white]" + title + "[/COLOR]"
        name = common.CLEANUP(name)
        url = 'http://pornhd.com' + url
        common.addDir(name, url, 51, icon_cat, fanart)

    kodi_name = common.GET_KODI_VERSION()

    if kodi_name == "Jarvis":
        xbmc.executebuiltin('Container.SetViewMode(50)')
    elif kodi_name == "Krypton":
        xbmc.executebuiltin('Container.SetViewMode(55)')
    else:
        xbmc.executebuiltin('Container.SetViewMode(50)')
예제 #21
0
def SHOWPROTECTEDBUILDS(name, url, description):

    desca = description
    developer = desca.split(',')[0]
    hidden = desca.split(',')[1]

    try:
        youtube_id = desca.split(',')[2]
    except:
        youtube_id = "null"

    try:
        link = Common.OPEN_URL(url).replace('\n', '').replace('\r', '')
        match = re.compile('notice="(.+?)"').findall(link)
        for notice in match:
            dialog.ok(AddonTitle, '[COLOR red][B]' + notice + '[/B][/COLOR]')
    except:
        pass

    vq = Common._get_keyboard(heading="Please Enter Your Password")
    if (not vq): return False, 0
    title = vq

    if "http" not in hidden:
        AUTH = BASEURL + "community/protected/" + hidden + '.txt'
    else:
        AUTH = hidden
    passed = 0
    link = Common.OPEN_URL(AUTH).replace('\n', '').replace('\r', '')
    match = re.compile('passkey="(.+?)"').findall(link)
    for passkey in match:
        if title == passkey:
            passed = 1

    if passed == 0:
        dialog.ok(AddonTitle, "Sorry the password entered was not found.",
                  '[COLOR smokewhite]Thank you for using ECHO Wizard[/COLOR]')
        sys.exit(0)

    link = Common.OPEN_URL(url).replace('\n', '').replace('\r', '')
    match = re.compile(
        'name="(.+?)".+?rl="(.+?)".+?mg="(.+?)".+?anart="(.+?)"').findall(link)
    for name, url, iconimage, fanart in match:
        description = "null" + "," + developer + "," + youtube_id
        name2 = name
        url = name2 + "," + url
        name = "[COLOR silver][B]" + name + "[/B][/COLOR]"
        bname = "- [COLOR white]Week:[/COLOR] [COLOR yellowgreen][B]" + count + "[/B][/COLOR][COLOR white] - Total:[/COLOR] [COLOR yellowgreen][B]" + total + "[/B][/COLOR]"
        Common.addDir(name + bname, url, 97, iconimage, fanart, description)

    try:
        f = open(COM_NOTICE, mode='r')
        msg = f.read()
        f.close()
        Common.TextBox(
            '[COLOR yellowgreen][B]ECHO Wizard Community Builds[/B][/COLOR]',
            "%s" % msg)
    except:
        pass
예제 #22
0
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')
예제 #23
0
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')
예제 #24
0
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')
예제 #25
0
def GET_CONTENT(url):

    nextpage = 0
    try:
        a, url = url.split('|')
    except:
        nextpage = 1

    checker = url
    try:
        link = common.open_url(url).replace('/n', '').replace("'", '"')
    except:
        dialog.ok(AddonTitle, "Error connecting to website. Please try again.")
        quit()
    match = re.compile('<div id="video(.+?)</p></div>',
                       re.DOTALL).findall(link)
    for links in match:
        name = re.compile('title="(.+?)"', re.DOTALL).findall(links)[0]
        url = re.compile('href="(.+?)"', re.DOTALL).findall(links)[0]
        try:
            time = re.compile('<strong>(.+?)</strong>',
                              re.DOTALL).findall(links)[0]
        except:
            time == "Unknown"
        try:
            rating = re.compile('<strong>.+?</strong> - (.+?) - <',
                                re.DOTALL).findall(links)[0]
        except:
            rating == "0%"
        iconimage = re.compile('src="(.+?)"', re.DOTALL).findall(links)[0]
        if "THUMBNUM" in iconimage:
            iconimage = iconimage.replace('THUMBNUM', '1')
        name = common.CLEANUP(name)
        url = 'http://xvideos.com' + url
        url = name.title() + "|SPLIT|" + url + "|SPLIT|" + iconimage
        common.addLink(
            "[COLOR pink]" + rating + "[/COLOR] - [COLOR white]" +
            name.title() + " - Duration: " + time + "[/COLOR]", url, 263,
            iconimage, fanart)

    if nextpage == 1:
        try:
            np = re.compile(
                '<a href="([^"]*)" class="no-page">Next</a>').findall(link)[0]
            np = 'http://xvideos.com' + np
            common.addDir('[COLOR white]Next Page >>[/COLOR]', np, 261, icon,
                          fanart)
        except:
            pass

    kodi_name = common.GET_KODI_VERSION()

    if kodi_name == "Jarvis":
        xbmc.executebuiltin('Container.SetViewMode(500)')
    elif kodi_name == "Krypton":
        xbmc.executebuiltin('Container.SetViewMode(52)')
    else:
        xbmc.executebuiltin('Container.SetViewMode(500)')
예제 #26
0
def GET_CONTENT(url):

    nextpage = 0
    try:
        a, url = url.split('|')
    except:
        nextpage = 1

    checker = url
    result = common.open_url(url)
    match = re.compile(
        'video-box four-column(.+?)<div class="video-box-title">',
        re.DOTALL).findall(result)
    for item in match:
        try:
            title = re.compile("alt=(.+?)'").findall(item)[0]
            url = re.compile('<a href="(.+?)"').findall(item)[0]
            iconimage = re.compile('<img src="(.+?)"').findall(item)[0]
            if "icon-hd-text" in item:
                name = "[COLOR orangered]HD[/COLOR][COLOR white] - " + title + "[/COLOR]"
            else:
                name = "[COLOR yellow]SD[/COLOR][COLOR white] - " + title + "[/COLOR]"
            name = name.replace("'", '')
            name = common.CLEANUP(name)
            url2 = name + '|SPLIT|' + url + '|SPLIT|' + iconimage
            common.addLink(name, url2, 73, iconimage, iconimage)
        except:
            pass

    if nextpage == 1:
        try:
            np = re.compile('<li class="current"(.+?)<div id="next">',
                            re.DOTALL).findall(result)
            for item in np:
                current = re.compile(
                    '<div class="currentPage" data-page-number=".+?">(.+?)</div>'
                ).findall(item)[0]
                url = re.compile('<a href="(.+?)=').findall(item)[0]
                next = int(float(current)) + 1
                url = "http://youporn.com" + str(url) + "=" + str(next)
                common.addDir('[COLOR pink]Next Page >>[/COLOR]', url, 71,
                              next_icon, fanart)
        except:
            pass

    kodi_name = common.GET_KODI_VERSION()

    if kodi_name == "Jarvis":
        xbmc.executebuiltin('Container.SetViewMode(500)')
    elif kodi_name == "Krypton":
        xbmc.executebuiltin('Container.SetViewMode(52)')
    else:
        xbmc.executebuiltin('Container.SetViewMode(500)')
예제 #27
0
def GET_CONTENT(url):

    nextpage = 0
    try:
        a, url = url.split('|')
    except:
        nextpage = 1

    checker = url
    result = common.open_url(url)
    match = re.compile(
        'class="video-listing two-in-row(.+?)<div class="pages">',
        re.DOTALL).findall(result)
    string = str(match)
    match2 = re.compile('<li(.+?)</li>', re.DOTALL).findall(string)
    for item in match2:
        try:
            title = re.compile(
                '<a href=".+?" title="(.+?)" class=".+?" >').findall(item)[0]
            url = re.compile(
                '<a href="(.+?)" title=".+?" class=".+?" >').findall(item)[0]
            rating = re.compile(
                '<span class="video-percent">(.+?)</span>').findall(item)[0]
            video_views = re.compile(
                '<span class="video-views">(.+?)</span>').findall(item)[0]
            iconimage = re.compile('data-src="(.+?)"').findall(item)[0]
            icon = "http:" + iconimage
            url = "http://www.redtube.com" + str(url)
            percent = "[COLOR red]" + rating + "[/COLOR]"
            name = "[COLOR white] - " + title + "[/COLOR]"
            views = "[COLOR grey] | [I]" + video_views + " Views[/I][/COLOR]"
            name = common.CLEANUP(name)
            url2 = name + '|SPLIT|' + url + '|SPLIT|' + icon
            common.addLink(percent + name + views, url2, 44, icon, fanart)
        except:
            pass

    if nextpage == 1:
        try:
            np = re.compile('<link rel="next" href="(.+?)"').findall(result)[0]
            common.addDir('[COLOR white]Next Page >>[/COLOR]', np, 42,
                          next_icon, fanart)
        except:
            pass

    kodi_name = common.GET_KODI_VERSION()

    if kodi_name == "Jarvis":
        xbmc.executebuiltin('Container.SetViewMode(500)')
    elif kodi_name == "Krypton":
        xbmc.executebuiltin('Container.SetViewMode(52)')
    else:
        xbmc.executebuiltin('Container.SetViewMode(500)')
예제 #28
0
def STORIES():

    common.addDir("[COLOR white]XNXX Stories[/COLOR]", "url", 38, xnxx_icon,
                  xnxx_fanart)

    kodi_name = common.GET_KODI_VERSION()

    if kodi_name == "Jarvis":
        xbmc.executebuiltin('Container.SetViewMode(50)')
    elif kodi_name == "Krypton":
        xbmc.executebuiltin('Container.SetViewMode(55)')
    else:
        xbmc.executebuiltin('Container.SetViewMode(50)')
예제 #29
0
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')
예제 #30
0
파일: pornxs.py 프로젝트: BrianG80/naughty
def GET_CONTENT(url):

	nextpage = 0
	try:
		a,url = url.split('|')
	except: nextpage = 1

	checker = url
	try:
		link = common.open_url(url).replace('/n','').replace("'",'"')
	except:
		dialog.ok(AddonTitle, "Error connecting to website. Please try again.")
		quit()
	match=re.compile('<a(.+?)</a>',re.DOTALL).findall(link)
	for links in match:
		try:
			name=re.compile('<div class="title">(.+?)</div>',re.DOTALL).findall(links)[0]
			url=re.compile('href="(.+?)"',re.DOTALL).findall(links)[0]
			try:
				time=re.compile('<div class="time">(.+?)</div>',re.DOTALL).findall(links)[0]
			except: time == "Unknown"
			try:
				rating=re.compile('<span class="blue-thumb-up">(.+?)</span>',re.DOTALL).findall(links)[0]
			except: rating == "0%"
			try:
				iconimage=re.compile('<img src="(.+?)"',re.DOTALL).findall(links)[0]
			except:
				iconimage=re.compile('sprite="(.+?)"',re.DOTALL).findall(links)[0]
			name = common.CLEANUP(name)
			url='http://pornxs.com' + url
			url = name + "|SPLIT|" + url + "|SPLIT|" + iconimage
			common.addLink("[COLOR pink]" + rating + "[/COLOR] - [COLOR white]" + name + " - Duration: " + time + "[/COLOR]",url,253,iconimage,fanart)
		except: pass

	if nextpage == 1:
		try:
			try:
				np=re.compile('<link rel="next" href="(.+?)">').findall(link)[0]
				np = 'http://pornxs.com' + np
			except:
				np=re.compile('<a class="pagination-next" href="(.+?)">').findall(link)[0]
			common.addDir('[COLOR white]Next Page >>[/COLOR]',np,251,icon,fanart)       
		except: pass

	kodi_name = common.GET_KODI_VERSION()

	if kodi_name == "Jarvis":
		xbmc.executebuiltin('Container.SetViewMode(500)')
	elif kodi_name == "Krypton":
		xbmc.executebuiltin('Container.SetViewMode(52)')
	else: xbmc.executebuiltin('Container.SetViewMode(500)')