Exemple #1
0
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)
Exemple #2
0
def v7_list(url, page=None, search=None):
    orig_url = str(url)
    if page:
        page_end = 'page/' + str(page) + '/' if url.endswith('/') else '/page/' + str(page) + '/'
        url += page_end
    else:
        page = 1
    sort = '?orderby=date' if url.endswith('/') else '/?orderby=date'
    url += sort
    url = url + search if search else url
    try:
        listhtml = utils.getHtml(url)
    except Exception as e:
        return None
    match = re.compile('''class='thumb-wrapp'.*?href='([^']+)'.*?"([^"]+)".*?class='vl'(.*?)class="duration">(.*?)</div>.*?class='hp'[^>]+>([^<]+)<''', re.DOTALL | re.IGNORECASE).findall(listhtml)
    for videopage, img, hd, duration, name in match:
        hd = ' [COLOR orange]HD[/COLOR] ' if 'HD' in hd else ' '
        name = utils.cleantext(name) + hd + duration.strip()
        utils.addDownLink(name, videopage, 642, img, '')
    pages_html = re.compile('<div class="buttons">(.*?)</div', re.DOTALL | re.IGNORECASE).findall(listhtml)[0]
    pages = re.compile('<a[^>]+>(.*?)</a', re.DOTALL | re.IGNORECASE).findall(pages_html)
    pages = [int(p.replace('&nbsp;', '').replace('...', '').strip()) for p in pages]
    max_page = max(pages)
    if page < max_page:
        utils.addDir('Next Page (' + str(page + 1) + ')' , orig_url, 641, '', page + 1, search)
    xbmcplugin.endOfDirectory(utils.addon_handle)
def PTList(url, page=1, onelist=None):
    if onelist:
        url = url.replace('page=1','page='+str(page))
    try:
        listhtml = utils.getHtml(url, '')
    except:
        utils.notify('Oh oh','It looks like this website is down.')
        return None
    match = re.compile(r'<div class="(?:visible-xs|thumb-overlay)+">\s+<img src=.*?data-original="([^"]+)" title="([^"]+)"[^>]+>(.*?)duration">[^\d]+([^\t\n\r]+)', re.DOTALL | re.IGNORECASE).findall(listhtml)
    for img, name, hd, duration in match:
        name = utils.cleantext(name)
        if hd.find('HD') > 0:
            hd = " [COLOR orange]HD[/COLOR] "
        else:
            hd = " "
        urlid = re.search(r"(\d{2,})", img, re.DOTALL | re.IGNORECASE).group()
        videopage = "http://www.porntrex.com/media/nuevo/config.php?key=" + urlid + "-1-1"
        name = name + hd + "[COLOR deeppink]" + duration + "[/COLOR]"
        utils.addDownLink(name, videopage, 52, img, '')
    if not onelist:
        if re.search('class="prevnext">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, 51, '', npage)
        xbmcplugin.endOfDirectory(utils.addon_handle)
def WXFList(url, page=1, 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'
    try:
        listhtml = utils.getHtml(url, '')
    except Exception as e:
        return None
#    match = re.compile('src="([^"]+)" class="attachment-thumb_site.*?<a href="([^"]+)" title="([^"]+)".*?<p>([^<]+)</p>', re.DOTALL | re.IGNORECASE).findall(listhtml)
    match = re.compile('<article id=.*?<a href="([^"]+)" title="([^"]+)".*?<img data-src="([^"]+)" alt="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(listhtml) # Current as of 19.02.23
#    for img, videopage, name, desc in match:
    for videopage, name, img, desc in match:      # Current as of 19.02.23
        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 List(url):
    try:
        listhtml = utils.getHtml(url, '')
    except:
        
        return None
    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
        videopage = videopage.replace(" ","%20")
        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)[0]
        nextp = nextp.replace(" ","%20")
        utils.addDir('Next Page', 'http://www.absoluporn.com' + nextp, 301,'')
    except: pass    
    xbmcplugin.endOfDirectory(utils.addon_handle)
Exemple #6
0
def BGList(url):
    bgversion = addon.getSetting('bgversion')
    try:
        listjson = utils.getHtml(url,'')
    except:
        utils.notify('Oh oh','It looks like this website is down.')
        return None

    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 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)
        sceneurl = sceneurl.replace("&amp;","&")
        scenecount = scenecount + 1
        utils.addDownLink(name, sceneurl, 43, img, desc)        
    xbmcplugin.endOfDirectory(utils.addon_handle)
Exemple #8
0
def ListSearch(url):
    html = utils.getHtml(url, '').replace('\n','')
    match = re.compile('bookmark">([^<]+)</a></h1>.*?<img src="([^"]+)".*?href="([^"]+)"').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)
Exemple #9
0
def ChannelList(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 TPNSearchList(url):
    listhtml = utils.getHtml(url, '')
    match = re.compile('class="item">.*?<a href="([^"]+)".*?src="([^"]+)" alt="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(listhtml)
    for videopage, img, name in match:
        name = utils.cleantext(name)
        utils.addDownLink(name, videopage, 122, img, '')
    try:
        nextp=re.compile('link rel="next" href="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(listhtml)
        next = nextp[0]
        utils.addDir('Next Page', next, 127,'')
    except: pass
    xbmcplugin.endOfDirectory(utils.addon_handle)
Exemple #11
0
def List(url, page=0):
    try:
        postRequest = {'page' : str(page)}
        response = utils.postHtml(url, form_data=postRequest,headers={},compression=False)
    except:
        return None
    match = re.compile('<div class="video-item">.*?a href="([^"]+)".*?<img src="([^"]+)" alt="([^"]+)".*?<span class="video-time">([^<]+)', re.DOTALL | re.IGNORECASE).findall(response)
    for video, img, name, length in match:
        video = 'https://daftsex.com' + video
        name = utils.cleantext(name) + ' [COLOR hotpink]' + length + '[/COLOR]'
        utils.addDownLink(name, video, 612, img, '')
    npage = page + 1
    utils.addDir('Next Page (' + str(npage) + ')', url, 611, '', npage)
    xbmcplugin.endOfDirectory(utils.addon_handle)
Exemple #12
0
def List(url):
    if utils.addon.getSetting("chaturbate") == "true":
        clean_database(False)
    try:
        data = utils.getHtml(url, '')
    except:
        utils.notify('Oh oh','It looks like this website is down.')
        return None
    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):
    try:
        listhtml = utils.getHtml(url, '')
    except:
        return None
    match = re.compile('<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, 142, img, '')
    try:
        nextp=re.compile('<a class="nextpostslink" rel="next" href="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(listhtml)
        utils.addDir('Next Page', nextp[0], 141,'')
    except: pass
    xbmcplugin.endOfDirectory(utils.addon_handle)
Exemple #14
0
def List(url):
    try:
        html = utils.getHtml(url, '')
    except:
        utils.notify('Oh oh','It looks like this website is down.')
        return None
    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)
def List(url):
    try:
        html = utils.getHtml(url, '')
    except:
        utils.notify('Oh oh','It looks like this website is down.')
        return None
    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('<link rel="next" href="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(html)
        utils.addDir('Next Page', nextp[0], 411,'')
    except: pass
    xbmcplugin.endOfDirectory(utils.addon_handle)
Exemple #16
0
def List(url):
    if utils.addon.getSetting("chaturbate") == "true":
        clean_database(False)
    try:
        response = utils.getHtml(url)
    except:
        utils.notify('Oh oh','It looks like this website is down.')
        return None
    data = json.loads(response)
    for camgirl in data['results']:
        name = camgirl['slug'] + " [" + camgirl['status'] + "]"
        videourl = "https://www.camsoda.com/api/v1/video/vtoken/" + camgirl['slug'] + "?username=guest_" + str(random.randrange(100, 55555))
        img = "https:" + camgirl['thumb']
        utils.addDownLink(name, videourl, 478, img, '', noDownload=True)
    xbmcplugin.endOfDirectory(utils.addon_handle)
Exemple #17
0
def List(url):
    try:
        listhtml = utils.getHtml(url, '')
    except:
        utils.notify('Oh oh','It looks like this website is down.')
        return None
    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)
Exemple #18
0
def EXMoviesList(url):
    listhtml = utils.getHtml(url, '')
    match = re.compile('<div class="container_news">(.*?)</div>', re.DOTALL | re.IGNORECASE).findall(listhtml)
    match1 = re.compile('<td.*?<a title="([^"]+)" href="([^"]+)".*?src="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(match[0])
    for name, videopage, img in match1:
        imgid = re.compile('(\d+)', re.DOTALL | re.IGNORECASE).findall(img)[0]
        img = 'http://images.panelporn.com/' + imgid + '.jpg'    
        utils.addDownLink(name, videopage, 112, img, '')
    try:
        nextp=re.compile("<a href='([^']+)' title='([^']+)'>&raquo;</a>", re.DOTALL | re.IGNORECASE).findall(listhtml)
        next = urllib.quote_plus(nextp[0][0])
        next = next.replace(' ','+')
        utils.addDir('Next Page', os.path.split(url)[0] + '/' + next, 117,'')
    except: pass
    xbmcplugin.endOfDirectory(utils.addon_handle)
Exemple #19
0
def EXMoviesList(url):
	url = 'https:'+url if url.startswith('//') else url
	listhtml = utils.getHtml(url, '')
	match = re.compile('<div class="container_neus">(.*?)<div id="pagination">', re.DOTALL | re.IGNORECASE).findall(listhtml)
	match1 = re.compile('<a title="([^"]+)" href="([^"]+)".*?src="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(match[0])
	for name, videopage, img in match1:  
		img = 'https:'+img if img.startswith('//') else img
		utils.addDownLink(name, videopage, 112, img, '')
	try:
		nextp=re.compile("<a href='([^']+)' title='([^']+)'>&raquo;</a>", re.DOTALL | re.IGNORECASE).findall(listhtml)
		next = urllib.quote_plus(nextp[0][0])
		next = next.replace(' ','+')
		utils.addDir('Next Page', os.path.split(url)[0] + '/' + next, 117,'')
	except: pass
	xbmcplugin.endOfDirectory(utils.addon_handle)
def PHList(url):
    try:
        listhtml = utils.getHtml(url, '')
    except:
        
        return None
    match = re.compile(r'anel-img">\s+<a href="([^"]+)">\s+<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)
Exemple #21
0
def List(url):
    try:
        listhtml = utils.getHtml(url, '')
    except:
        utils.notify('Oh oh','It looks like this website is down.')
        return None
    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("&#038;", "&")
        utils.addDir('Next Page', nextp, 331,'')
    except: pass
    xbmcplugin.endOfDirectory(utils.addon_handle)
Exemple #22
0
def List(url):
    xbmc.log("List: " + url)
    try:
        listhtml = utils.getHtml(url, '')
    except:
        utils.notify('Oh oh','It looks like this website is down.')
        return None
    match = re.compile(r'<a href="(.+?)" class="thumb"><img src="(.+?)" alt="(.+?)"').findall(listhtml)
    for videopage, img, name in match:
        name = utils.cleantext(name)
        utils.addDownLink(name, videopage, 502, img, '')
    try:
        nextp = re.compile('<a class="next" href="(.+?)">').findall(listhtml)
        utils.addDir('Next Page', url[:url.rfind('/')+1] + nextp[0], 501,'')
    except: pass
    xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url):
    try:
        listhtml = utils.getHtml(url, '')
    except:
        
        return None
    match = re.compile('<h2><a href="([^"]+)".*?title="([^"]+)">.+?<img src="([^"]+)".+? width="', re.DOTALL).findall(listhtml)
    for videopage, name, img in match:
        name = utils.cleantext(name)
        img = img.replace('/i/','/t/')
        utils.addDownLink(name, videopage, 372, img, '')
    try:
        nextp = re.compile('<span class=\'current\'>.+?</span><a class="page larger".*?href="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(listhtml)
        utils.addDir('Next Page', nextp[0], 371,'')
    except: pass
    xbmcplugin.endOfDirectory(utils.addon_handle)
def TPNList(url):
    try:
        listhtml = utils.getHtml(url, '')
    except:
        utils.notify('Oh oh','It looks like this website is down.')
        return None
    match = re.compile('class="item">.*?<a href="([^"]+)".*?img src="([^"]+)" alt="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(listhtml)
    for videopage, img, name in match:
        name = utils.cleantext(name)
        utils.addDownLink(name, videopage, 122, img, '')
    try:
        nextp=re.compile('link rel="next" href="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(listhtml)
        next = nextp[0]
        utils.addDir('Next Page', os.path.split(url)[0] + '/' + next, 121,'')
    except: pass
    xbmcplugin.endOfDirectory(utils.addon_handle)
Exemple #25
0
def List(url):
    try:
        listhtml = utils.getHtml(url, '')
    except:
        utils.notify('Oh oh','It looks like this website is down.')
        return None
    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('href="([^"]+)" >Next', re.DOTALL | re.IGNORECASE).findall(match)
        utils.addDir('Next Page', nextp[0], 311,'')
    except: pass
    xbmcplugin.endOfDirectory(utils.addon_handle)
Exemple #26
0
def List(url):
    try:
        listhtml = utils.getHtml(url, '')
    except:
        utils.notify('Oh oh','It looks like this website is down.')
        return None
    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):
    try:
        listhtml = utils.getHtml(url, '')
    except:
        utils.notify('Oh oh','It looks like this website is down.')
        return None
    match = re.compile(r'data-video="(.+?)">.+?<img src="(.+?)" alt="(.+?)".+?<span>(.+?) Video</span>', re.DOTALL | re.IGNORECASE).findall(listhtml)
    for videopage, img, name, duration in match:
        name = utils.cleantext(name + ' [COLOR deeppink]' +  duration + '[/COLOR]' )
        utils.addDownLink(name, videopage, 492, img, '')
    try:
        nextp = re.compile('<a href=\'(.+?)\' class="next">').findall(listhtml)
        xbmc.log(nextp[0])
        utils.addDir('Next Page', url[:url.rfind('/')+1] + nextp[0], 491,'')
    except: pass
    xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url):
    if utils.addon.getSetting("chaturbate") == "true":
        clean_database(False)
    try:
        data = utils.getHtml(url)
    except:
        
        return None
    model_list = json.loads(data)
    for camgirl in model_list:
        img = 'https:' + camgirl['profile_images']['thumbnail_image_big_live']
        username = camgirl['username']
        name = camgirl['display_name']
        utils.addDownLink(name, username, 524, img, '', noDownload=True)

    xbmcplugin.endOfDirectory(utils.addon_handle)
Exemple #29
0
def List(url):
    print "hclips::List " + url
    try:
        listhtml = utils.getHtml(url, '')
    except:
        utils.notify('Oh oh','It looks like this website is down.')
        return None
    match = re.compile('<a href="([^"]+)" class="thumb">.+?<img src="([^"]+)" alt="([^"]+)" width="220" height="165"', re.DOTALL).findall(listhtml)
    for videopage, img, name in match:
        name = utils.cleantext(name)
        utils.addDownLink(name, 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], 381,'')
    except: pass
    xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url):
    try:
        html = utils.getHtml(url, '')
    except:
        utils.notify('Oh oh','It looks like this website is down.')
        return None
    match = re.compile('id="wrapper"(.*?)sayfala', re.DOTALL | re.IGNORECASE).findall(html)[0]
    match1 = re.compile('<div class="titleFilm"><a href="([^"]+)">([^<]+)<.*?src="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(match)
    for videopage, name, img in match1:
        name = utils.cleantext(name)
        utils.addDownLink(name, videopage, 432, img, '')
    try:
        nextp = re.compile('rel="next" href="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(html)
        utils.addDir('Next Page', nextp[0], 431,'')
    except: pass
    xbmcplugin.endOfDirectory(utils.addon_handle)
Exemple #31
0
def EROList(url):
	try:
		listhtml = utils.getHtml(url, '')
	except:
		
		return None
	
	match = re.compile('pm-li-video.*?href="([^"]+)".*?src="([^"]+)".*?alt="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(listhtml)
	for videopage, img, name in match:
		name = utils.cleantext(name)
		utils.addDownLink(name, videopage, 262, img, '')
	try:
		nextp=re.compile('<a href="([^"]+)">&raquo;', re.DOTALL | re.IGNORECASE).findall(listhtml)[0]
		if re.search('http', nextp, re.DOTALL | re.IGNORECASE):
			next = nextp
		else:
			next = "https://www.ero-tik.com/" + nextp
		utils.addDir('Next Page', next, 261,'')
	except: pass
	xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url):
    try:
        listhtml = utils.getHtml(url, '')
    except:
        utils.notify('Oh oh', 'It looks like this website is down.')
        return None
    match = re.compile(
        '<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, 142, img, '')
    try:
        nextp = re.compile(
            '<a class="nextpostslink" rel="next" href="([^"]+)"',
            re.DOTALL | re.IGNORECASE).findall(listhtml)
        utils.addDir('Next Page', nextp[0], 141, '')
    except:
        pass
    xbmcplugin.endOfDirectory(utils.addon_handle)
Exemple #33
0
def EXMoviesList(url):
    url = 'https:' + url if url.startswith('//') else url
    listhtml = utils.getHtml(url, '')
    match = re.compile(
        '<div class="container_neus">(.*?)<div id="pagination">',
        re.DOTALL | re.IGNORECASE).findall(listhtml)
    match1 = re.compile('<a title="([^"]+)" href="([^"]+)".*?src="([^"]+)"',
                        re.DOTALL | re.IGNORECASE).findall(match[0])
    for name, videopage, img in match1:
        img = 'https:' + img if img.startswith('//') else img
        utils.addDownLink(name, videopage, 112, img, '')
    try:
        nextp = re.compile("<a href='([^']+)' title='([^']+)'>&raquo;</a>",
                           re.DOTALL | re.IGNORECASE).findall(listhtml)
        next = urllib.quote_plus(nextp[0][0])
        next = next.replace(' ', '+')
        utils.addDir('Next Page', os.path.split(url)[0] + '/' + next, 117, '')
    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)
Exemple #35
0
def PAQList(url, page=1, onelist=None):
    listhtml = utils.getHtml(url, '')
    match = re.compile(
        '<div class="item  ".*?href="([^"]+)" title="([^"]+)".+?data-original="([^"]+)".+?class="duration">([^<]+)<',
        re.DOTALL | re.IGNORECASE).findall(listhtml)
    for videopage, name, img, duration in match:
        duration = duration.strip()
        name = utils.cleantext(
            name) + " [COLOR deeppink]" + duration + "[/COLOR]"
        utils.addDownLink(name, videopage, 62, img, '')
    if not onelist:
        try:
            nextp = re.compile('class="next"><a href="([^"]+)"', re.DOTALL
                               | re.IGNORECASE).search(listhtml).group(1)
            if nextp.startswith('/'): nextp = 'https://www.porn00.org' + nextp
            page_nr = re.findall('\d+', nextp)[-1]
            utils.addDir('Next Page (' + page_nr + ')', nextp, 61, '')
        except:
            pass
        xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url):
    try:
        listhtml = utils.getHtml(url, '')
    except:
        return None
    match = re.compile('class="thumb.*?href="([^"]+)".*?title="([^"]+)".*?" data-original="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(listhtml)

    for videopage, name, img in match:
        name = utils.cleantext(name)
        utils.addDownLink(name, videopage, 702, img, '')
    try:
#        nextp = re.compile('link rel="next" href="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(listhtml)
#        utils.addDir('Next Page', nextp[0], 701,'')             #[^']+\bmiddle\b|\bnext\b
	match = re.compile("a href='([^']+)' class='page-numbers [^']+'>([^<]+)<", re.DOTALL | re.IGNORECASE).findall(listhtml)
        for pageurl, page in match:
            utils.addDir('[COLOR deeppink]Page ' + str(page) + '[/COLOR]', pageurl, 701, '')

    except:
        pass
    xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url):
    try:
        listhtml = utils.getHtml(url, '')
    except:
        return None

    match = re.compile(
        '<article[^>]+>.+?<a href="([^"]+)".*?src="([^"]+)".+?Title">([^"]+)</div',
        re.DOTALL | re.IGNORECASE).findall(listhtml)
    for videopage, img, name in match:
        name = utils.cleantext(name)
        utils.addDownLink(name, videopage, 812, img, '')
    try:
        nextp = re.compile('<a class="next page-numbers" href="(.+?)"',
                           re.DOTALL | re.IGNORECASE).findall(listhtml)
        nextp = nextp[0].replace("&#038;", "&")
        utils.addDir('Next Page', nextp, 811, '')
    except:
        pass
    xbmcplugin.endOfDirectory(utils.addon_handle)
Exemple #38
0
def List(url):
    try:
        listhtml = utils.getHtml(url, '')
    except:
        return None
    main_block = re.compile('videos search-video-thumbs[^>]+>(.*?)<div class="reset">', re.DOTALL).findall(listhtml)[0]
    match = re.compile('<li class="js-pop.*?<a href="([^"]+)" title="([^"]+)".*?data-mediumthumb="([^"]+)".*?<var class="duration">([^<]+)</var>(.*?)</div', re.DOTALL).findall(main_block)
    for videopage, name, img, duration, hd in match:
        if hd.find('HD') > 0:
            hd = " [COLOR orange]HD[/COLOR] "
        else:
            hd = " "            
        name = utils.cleantext(name)
        name = name + hd + "[COLOR deeppink]" + duration + "[/COLOR]"
        utils.addDownLink(name, 'https://www.pornhub.com' + videopage, 392, img, '')
    try:
        nextp=re.compile('<li class="page_next"><a href="(.+?)" class="orangeButton">Next', re.DOTALL).findall(listhtml)
        utils.addDir('Next Page', 'https://www.pornhub.com' + nextp[0].replace('&amp;','&'), 391,'')
    except: pass
    xbmcplugin.endOfDirectory(utils.addon_handle)
def EXList(url):
    try:
        listhtml = utils.getHtml(url, '')
    except:
        
        return None
    match = re.compile('notice_image">.*?<a title="([^"]+)" href="([^"]+)".*?src="([^"]+)".*?"notice_description">(.*?)</div', re.DOTALL | re.IGNORECASE).findall(listhtml)
    for name, videopage, img, desc in match:
        desc = utils.cleanhtml(desc).strip()
        utils.addDownLink(name, videopage, 112, img, desc)
    try:
        nextp=re.compile("""class="current".*?<a href='([^']+)' title='([^']+)'""", re.DOTALL | re.IGNORECASE).search(listhtml)
        next_page = urllib.quote_plus(nextp.group(1)).replace('%3A', ':').replace('%2F', '/')
        if not next_page.startswith('http'):
            next_page = os.path.split(url)[0] + '/' + next_page
        text = nextp.group(2).split(' ')[1] if ' ' in nextp.group(2) else nextp.group(2)
        utils.addDir('Next Page ({})'.format(text), next_page, 111,'')
    except:
        pass
    xbmcplugin.endOfDirectory(utils.addon_handle)
Exemple #40
0
def EXList(url):
    try:
        listhtml = utils.getHtml(url, '')
    except:

        return None
    match = re.compile(
        'notice_image">.*?<a title="([^"]+)" href="([^"]+)".*?src="([^"]+)"',
        re.DOTALL | re.IGNORECASE).findall(listhtml)
    for name, videopage, img in match:
        utils.addDownLink(name, videopage, 112, img, '')
    try:
        nextp = re.compile("<a href='([^']+)' title='([^']+)'>&raquo;</a>",
                           re.DOTALL | re.IGNORECASE).findall(listhtml)
        next = urllib.quote_plus(nextp[0][0])
        next = next.replace(' ', '+')
        utils.addDir('Next Page', os.path.split(url)[0] + '/' + next, 111, '')
    except:
        pass
    xbmcplugin.endOfDirectory(utils.addon_handle)
Exemple #41
0
def List(url):
    try:
        listhtml = utils.getHtml(url, '')
    except:

        return None
    match = re.compile(
        r'data-video="(.+?)">.+?<img src="(.+?)" alt="(.+?)".+?<span>(.+?) Video</span>',
        re.DOTALL | re.IGNORECASE).findall(listhtml)
    for videopage, img, name, duration in match:
        name = utils.cleantext(name + ' [COLOR deeppink]' + duration +
                               '[/COLOR]')
        utils.addDownLink(name, videopage, 492, img, '')
    try:
        nextp = re.compile('<a href=\'(.+?)\' class="next">').findall(listhtml)
        xbmc.log(nextp[0])
        utils.addDir('Next Page', url[:url.rfind('/') + 1] + nextp[0], 491, '')
    except:
        pass
    xbmcplugin.endOfDirectory(utils.addon_handle)
Exemple #42
0
def List(url):
    print "spankbang::List " + url
    try:
        listhtml = utils.getHtml(url, '')
    except:
        
        return None
    match = re.compile(r'<a href="([^"]+)" class="thumb">\s*?<img src="([^"]+)" alt="([^"]+)" class="cover".*?</span>(.*?)i-len"><i class="fa fa-clock-o"></i>([^<]+)<', re.DOTALL).findall(listhtml)
    for videopage, img, name, hd, duration in match:
        if hd.find('HD') > 0:
            hd = " [COLOR orange]HD[/COLOR] "
        else:
            hd = " "
        name = utils.cleantext(name) + hd + "[COLOR deeppink]" + duration + "m[/COLOR]"
        utils.addDownLink(name, base_url + videopage, play_mode, 'http:' + img, '')
    try:
        nextp=re.compile('<li class="active"><a>.+?</a></li><li><a href="([^"]+)"', re.DOTALL | re.IGNORECASE).findall(listhtml)
        utils.addDir('Next Page', base_url + nextp[0], list_mode,'')
    except: pass
    xbmcplugin.endOfDirectory(utils.addon_handle)
Exemple #43
0
def List(url):
    try:
        listhtml = utils.getHtml(url, '')
    except:
        return None
    match = re.compile(
        '<a href="([^"]+)" title="([^"]+)".*?original="([^"]+)".*?duration">([^<]+)<',
        re.DOTALL | re.IGNORECASE).findall(listhtml)
    for videopage, name, img, 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)
Exemple #44
0
def List(url):
    try:
        listhtml = utils.getHtml2(url)
    except:
        return None

    match = re.compile('<div class=slm_c>.+?<a href="([^"]+)".+?src="([^"]+)".+?style=".+?>(.+?)<', re.DOTALL | re.IGNORECASE).findall(listhtml)
    for urk,img,name in match:
        url = name
        name = utils.cleantext(name)
        #img = img + 'jpg'
        #url = img[32:-17]
        img = img.replace('90x90','300x300')
        #if len(url) == 7:
        #    url = '10' + url
        #else:
        #    url = '1' + url

        utils.addDownLink(name, url, 272, img, '', noDownload=True)
    xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url):
    try:
        listhtml = utils.getHtml(url, '')
    except:
        utils.notify('Oh oh', 'It looks like this website is down.')
        return None
    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)
Exemple #46
0
def List(url):
    try:
        listhtml = utils.getHtml(url, '')
    except:
        return None
    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('link rel="next" href="([^"]+)"',
                           re.DOTALL | re.IGNORECASE).findall(listhtml)
        utils.addDir('Next Page', nextp[0], 311, '')
    except:
        pass
    xbmcplugin.endOfDirectory(utils.addon_handle)
Exemple #47
0
def XTCList(url):
    try:
        listhtml = utils.getHtml(url, '')
    except:
        return None
    match = re.compile(
        '<a href="([^"]+)"(?:>| title=".*?">)<img.*?data-original="([^"]+)" alt="([^"]+)"',
        re.DOTALL | re.IGNORECASE).findall(listhtml)
    for videopage, img, name in match:
        name = utils.cleantext(name)
        utils.addDownLink(name, videopage, 202, img, '')
    try:
        nextp = re.compile(
            '<(?:link rel="next"|a class="next page-numbers") href="([^"]+)"',
            re.DOTALL | re.IGNORECASE).findall(listhtml)
        next = nextp[0]
        utils.addDir('Next Page', next, 201, '')
    except:
        pass
    xbmcplugin.endOfDirectory(utils.addon_handle)
Exemple #48
0
def TPList(url, page=1):
    try:
        listhtml = utils.getHtml(url, '')
    except:

        return None
    match = re.compile(
        'src="([^"]+jpg)[^<]+[^"]+"([^"]+)">([^<]+)<[^"]+[^>]+>([^\s]+)\s',
        re.DOTALL | re.IGNORECASE).findall(listhtml)
    for thumb, videourl, name, duration in match:
        if thumb.startswith('//'): thumb = 'http:' + thumb
        name = utils.cleantext(name)
        videourl = "http://www.bubbaporn.com" + videourl
        name = name + " [COLOR deeppink]" + duration + "[/COLOR]"
        utils.addDownLink(name, videourl, 92, thumb, '')
    if re.search('Next &raquo;</a>', listhtml, re.DOTALL | re.IGNORECASE):
        npage = page + 1
        url = url.replace('page' + str(page), 'page' + str(npage))
        utils.addDir('Next Page (' + str(npage) + ')', url, 91, '', npage)
    xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url):
    try:
        listhtml = utils.getHtml(url, '')
    except:
        return None
    match = re.compile(
        '<a href="([^"]+)" class="item.+?vthumb=.+?thumb="([^"]+)".+?"duration">([^<]+)</div>.+?class="title">([^<]+)<',
        re.DOTALL | re.IGNORECASE).findall(listhtml)
    for videopage, img, duration, name in match:
        name = utils.cleantext(
            name) + "[COLOR deeppink] " + duration + "[/COLOR]"
        utils.addDownLink(name, videopage, 772, img, '')
    try:
        page = re.compile('<li class="page-current"><span>0*(\d+)<\/span>',
                          re.DOTALL | re.IGNORECASE).findall(listhtml)[0]
        nextp = re.sub(r'/\d+/', '/', url) + str(int(page) + 1) + '/'
        utils.addDir('Next Page (' + str(int(page) + 1) + ')', nextp, 771, '')
    except:
        pass
    xbmcplugin.endOfDirectory(utils.addon_handle)
Exemple #50
0
def List(url):
    try:
        listhtml = utils.getHtml(url, '')
    except:
        return None
    listhtml = re.compile('<div class="panel panel-default"(.*?)<footer>',
                          re.DOTALL | re.IGNORECASE).findall(listhtml)[0]
    match = re.compile(
        'id=\'media-.*?=.*?<a href=\'([^\']+)\' title=\'([^\']+)\'.*?image:url\((.*?)\)\'',
        re.DOTALL | re.IGNORECASE).findall(listhtml)
    for videopage, name, img in match:
        name = utils.cleantext(name)
        utils.addDownLink(name, videopage, 952, img, '')
    try:
        nextp = re.compile('<a href="([^"]+)">N.*?chste </a>',
                           re.DOTALL | re.IGNORECASE).findall(listhtml)[0]
        utils.addDir('Next Page', nextp, 951, '')
    except:
        pass
    xbmcplugin.endOfDirectory(utils.addon_handle)
Exemple #51
0
def EXMoviesList(url):
    listhtml = utils.getHtml(url, '')
    match = re.compile('<div class="content">(.*?)<!-- end of content -->',
                       re.DOTALL | re.IGNORECASE).findall(listhtml)
    match1 = re.compile(
        '<td.*?<a title="([^"]+)" href="([^"]+)".*?src="([^"]+)"',
        re.DOTALL | re.IGNORECASE).findall(match[0])
    for name, videopage, img in match1:
        imgid = re.compile('(\d+)', re.DOTALL | re.IGNORECASE).findall(img)[0]
        img = 'http://images.panelporn.com/' + imgid + '.jpg'
        utils.addDownLink(name, videopage, 112, img, '')
    try:
        nextp = re.compile("<a href='([^']+)' title='([^']+)'>&raquo;</a>",
                           re.DOTALL | re.IGNORECASE).findall(listhtml)
        next = urllib.quote_plus(nextp[0][0])
        next = next.replace(' ', '+')
        utils.addDir('Next Page', os.path.split(url)[0] + '/' + next, 117, '')
    except:
        pass
    xbmcplugin.endOfDirectory(utils.addon_handle)
Exemple #52
0
def List(url, page=1):
    if utils.addon.getSetting("chaturbate") == "true":
        clean_database(False)
    try:
        listhtml = utils.getHtml(url, url)
    except:
        utils.notify('Oh oh', 'It looks like this website is down.')
        return None
    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):
    try:
        listhtml = utils.getHtml(url, '')
    except:

        return None
    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("&#038;", "&")
        utils.addDir('Next Page', nextp, 331, '')
    except:
        pass
    xbmcplugin.endOfDirectory(utils.addon_handle)
Exemple #54
0
def List(url):
    try:
        listhtml = utils.getHtml(url, '')
    except:
        return None

    match = re.compile(
        '<article.+?img src="([^"]+)" alt="([^"]+)".+?a href="([^"]+)".+?span.+?>(\d+)<',
        re.DOTALL | re.IGNORECASE).findall(listhtml)
    for img, name, videopage, year in match:
        name = utils.cleantext(name) + "[COLOR hotpink] (" + str(
            year) + ")[/COLOR]"
        utils.addDownLink(name, videopage, 802, img, '')
    try:
        nextp = re.compile('link rel="next" href="([^"]+)"',
                           re.DOTALL | re.IGNORECASE).findall(listhtml)[0]
        utils.addDir('Next Page ', nextp, 801, '')
    except:
        pass
    xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url):
    try:
        listhtml = utils.getHtml(url, '')
    except:
        return None
    match = re.compile(
        'id="video.+?img src="([^"]+)".+?href="([^"]+)" rel="bookmark" title="([^"]+)".+?class="duration" align="right">([^<]+)<',
        re.DOTALL | re.IGNORECASE).findall(listhtml)
    for img, videopage, name, duration in match:
        name = utils.cleantext(
            name) + "[COLOR deeppink] " + duration + "[/COLOR]"
        utils.addDownLink(name, videopage, 142, img, '')
    try:
        nextp = re.compile(
            '<a class="nextpostslink" rel="next" href="([^"]+)"',
            re.DOTALL | re.IGNORECASE).findall(listhtml)
        utils.addDir('Next Page', nextp[0], 141, '')
    except:
        pass
    xbmcplugin.endOfDirectory(utils.addon_handle)
def List(url):
    try:
        listhtml = utils.getHtml(url)
    except:
        return None
    match = re.compile(
        'class="thumb" href="([^"]+)".+?data-src="([^"]+)".+?span class="title">([^<]+)</span',
        re.DOTALL | re.IGNORECASE).findall(listhtml)
    for videopage, img, name in match:
        name = utils.cleantext(name)
        utils.addDownLink(name, videopage, 782, img, '')
    try:
        next_page = re.compile('<link rel="next" href="([^"]+)"',
                               re.DOTALL | re.IGNORECASE).findall(listhtml)[0]
        page_nr = re.findall('\d+', next_page)[-1]
        utils.addDir('Next Page (' + str(page_nr) + ')', next_page, 781, '')
    except:
        pass

    xbmcplugin.endOfDirectory(utils.addon_handle)
Exemple #57
0
def List(url):
    if utils.addon.getSetting("chaturbate") == "true":
        clean_database(False)
    try:
        response = utils.getHtml(url)
    except:
        return None
    data = json.loads(response)
    for camgirl in data['results']:
        try:
            #			userid=camgirl['user_id']
            userid = camgirl['tpl'][0]
            #			name = camgirl['username'].encode("ascii", errors="ignore")
            name = camgirl['tpl'][1].encode("ascii", errors="ignore")
            videourl = "https://www.camsoda.com/api/v1/video/vtoken/" + name
            #			imag='http://md.camsoda.com/thumbs/%s.jpg'%(name)
            imag = 'http:' + camgirl['tpl'][9]
            utils.addDownLink(name, videourl, 478, imag, '', noDownload=True)
        except:
            pass
    xbmcplugin.endOfDirectory(utils.addon_handle)
Exemple #58
0
def List(url):
    try:
        listhtml = utils.getHtml(url, url)
    except:

        return None
    match = re.compile(
        '<h2 class="st-loop-entry-title">.*?<a href="([^"]+)".*?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('<a class="next page-numbers" href="([^"]+)">Next',
                           re.DOTALL | re.IGNORECASE).findall(listhtml)[0]
        utils.addDir('Next Page', nextp, 171, '')
    except:
        pass
    xbmcplugin.endOfDirectory(utils.addon_handle)
Exemple #59
0
def List(url):
    try:
        listhtml = utils.getHtml(url, '')
    except:
        return None
    cookieString = getCookiesString()
    match = re.compile(
        'class="content-list-thumb">.*?<a href="([^"]+)" title="([^"]+)".*?>.*?src="([^"]+)"',
        re.DOTALL | re.IGNORECASE).findall(listhtml)
    for videopage, name, img in match:
        name = utils.cleantext(name)
        img = img + "|Cookie=" + urllib.quote(
            cookieString) + "&User-Agent=" + urllib.quote(utils.USER_AGENT)
        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)
Exemple #60
0
def List(url, page=1):
    if page == 1:
        url = url.replace('page=1', 'page=' + str(page))
    try:
        listhtml = utils.getHtml(url, '')
    except:

        return None
    match = re.compile(
        r'Movie">.+?<a href="([^"]+)".+?<span itemprop="name">(.+?)</span.?</div>.+?</span>.+?src="(.+?)"',
        re.DOTALL | re.IGNORECASE).findall(listhtml)
    for videopage, name, img in match:
        name = utils.cleantext(name)
        img = "https://en.paradisehill.cc" + img
        videopage = "https://en.paradisehill.cc" + videopage
        utils.addDownLink(name, videopage, 252, img, '')
    if re.search('<li class="last">', listhtml, re.DOTALL | re.IGNORECASE):
        npage = page + 1
        url = url.replace('page=' + str(page), 'page=' + str(npage))
        utils.addDir('Next Page (' + str(npage) + ')', url, 251, '', npage)
    xbmcplugin.endOfDirectory(utils.addon_handle)