def List(url): html = utils.getHtml(url) if '>Nichts gefunden!<' in html: utils.notify(msg='Nothing found') utils.eod() return delimiter = 'article id="post' re_videopage = 'href="([^"]+)" title' re_name = 'title="([^"]+)"' re_img = 'src="([^"]+)"' utils.videos_list(site, 'pornkinox.Playvid', html, delimiter, re_videopage, re_name, re_img, contextm='pornkinox.Related') re_npurl = r'class="next page-numbers" href="([^"]+)"' re_npnr = r'class="next page-numbers" href="[^"]+?/page/(\d+)' re_lpnr = r'>(\d+)<[^=]+class="next page-numbers"' utils.next_page(site, 'pornkinox.List', html, re_npurl, re_npnr, re_lpnr=re_lpnr, contextm='pornkinox.GotoPage') utils.eod()
def Categories(url): cathtml = utils.getHtml(url).replace("'", '"') match = re.compile( r'class=(?:"catt"|"pornstar-cube"|"channel-cube")><a href="([^"]+)"><img src="([^"]+)"\s*alt="([^"]+)".+?<h3>([\d,]+)', re.IGNORECASE | re.DOTALL).findall(cathtml) for caturl, img, name, count in match: name = utils.cleantext( name) + '[COLOR hotpink] ({} videos)[/COLOR]'.format(count) caturl = utils.fix_url(caturl, site.url) img = utils.fix_url(img, site.url) site.add_dir(name, caturl, 'List', img) if 'class="pagination"' in cathtml: re_npurl = 'href="([^"]+)">Next' re_npnr = r'page=(\d+)">Next' re_lpnr = r'>Showing\s*\d+-\d+\s*of\s*(\d+)<' baseurl = url.split('?')[0] utils.next_page(site, 'palimas.Categories', cathtml, re_npurl, re_npnr, re_lpnr=re_lpnr, videos_per_page=30, contextm='palimas.GotoPage', baseurl=baseurl) utils.eod()
def List(url): html = utils.getHtml(url, '') if '0 videos found' in html: utils.notify(msg='Nothing found') utils.eod() return delimiter = 'data-post-id="' re_videopage = 'href="([^"]+)" title' re_name = 'title="([^"]+)"' re_img = 'data-src="([^"]+)"' re_duration = r'duration">([\d:]+)<' utils.videos_list(site, 'pornvid69.Playvid', html, delimiter, re_videopage, re_name=re_name, re_img=re_img, re_duration=re_duration, contextm='pornvid69.Related') re_npurl = 'href="([^"]+)">»<' re_npnr = r'/(\d+)/[^"]*">»<' re_lpnr = r'>(\d+)<\D+next page-link' utils.next_page(site, 'pornvid69.List', html, re_npurl, re_npnr, re_lpnr=re_lpnr, contextm='pornvid69.GotoPage') utils.eod()
def List(url): headers = {'User-Agent': 'iPad', 'Accept-Encoding': 'deflate'} html = utils.getHtml(url, headers=headers) if 'No videos found!' in html: utils.notify(msg='Nothing found') utils.eod() return delimiter = '\t<li>' re_videopage = 'href="([^"]+)">' re_name = 'alt="([^"]+)"' re_img = 'src="([^"]+)"' re_duration = r'class="duration">[\s\t]*([\d:]+)' utils.videos_list(site, 'uflash.Playvid', html.split('VIDEOS')[-1].split('THUMBS')[0], delimiter, re_videopage, re_name, re_img, re_duration=re_duration) re_npurl = r'href="([^"]+)"\s*class="prevnext">Next' re_npnr = r'(\d+)"\s*class="prevnext">Next' re_lpnr = r'>(\d+)</a></li><li><a[^>]+Next' utils.next_page(site, 'uflash.List', html.split('PAGINATION')[-1].split('THUMBS')[0], re_npurl, re_npnr, re_lpnr=re_lpnr, contextm='uflash.GotoPage') utils.eod()
def List(url): html = utils.getHtml(url, '') if '>No posts found.<' in html or 'Sorry, the page you were looking for was not found' in html: utils.notify(msg='Nothing found') utils.eod() return delimiter = '<article class="pinbox"' re_videopage = 'class="thumb">.+?href="([^"]+)"' re_name = 'class="title".+?title="([^"]+)"' re_img = 'img.+?src="([^"]+)"' re_duration = r'title="Duration">([\d:]+)' utils.videos_list(site, 'netfapx.Playvid', html, delimiter, re_videopage, re_name, re_img, re_duration=re_duration) re_npurl = r'href="([^"]+)"\s*class="next">Next' re_npnr = r'/page/(\d+)\D+class="next">Next' utils.next_page(site, 'netfapx.List', html, re_npurl, re_npnr, videos_per_page=30, contextm='netfapx.GotoPage') utils.eod()
def List(url): html = utils.getHtml(url) if 'You have requested a page or file which doesn\'t exist' in html: utils.notify(msg='Nothing found') utils.eod() return html = html.split('>Trending P**n<')[0] delimiter = 'article class="entry-tpl-grid' re_videopage = 'href="([^"]+)"><' re_name = 'title="([^"]+)"' re_img = ' src="([^"]+)"' utils.videos_list(site, 'familypornhd.Playvid', html, delimiter, re_videopage, re_name, re_img, contextm='familypornhd.Related') re_npurl = r'href="([^"]+)">Next' re_npnr = r'next" href="[^"]+/page/(\d+)' utils.next_page(site, 'familypornhd.List', html, re_npurl, re_npnr, contextm='familypornhd.GotoPage') utils.eod()
def List(url): listhtml = utils.getHtml(url) html = listhtml.split('>SHOULD WATCH<')[0] videos = html.split('article data-video-uid') videos.pop(0) for video in videos: match = re.compile( r'href="([^"]+).+?data-src="([^"]+)".+?<span>([^<]+)<', re.DOTALL | re.IGNORECASE).findall(video) if match: videourl, img, name = match[0] name = utils.cleantext(name) site.add_download_link(name, videourl, 'Play', img, name) re_npurl = 'href="([^"]+)"[^>]*>Next' re_npnr = r'/page/(\d+)[^>]*>Next' re_lpnr = r'/page/(\d+)[^>]*>Last' utils.next_page(site, 'erogarga.List', html, re_npurl, re_npnr, re_lpnr=re_lpnr, contextm='erogarga.GotoPage') utils.eod()
def Pornstars(url): cathtml = utils.getHtml(url) match = re.compile( r'class="preview">.+?href="([^"]+)">.+?src="([^"]+)".+?alt="([^"]+)".+?title="Videos">(\d+)', re.IGNORECASE | re.DOTALL).findall(cathtml) for caturl, img, name, count in match: caturl = caturl.replace('/pornstar/', '/videos/') name = utils.cleantext( name) + '[COLOR hotpink] ({} videos)[/COLOR]'.format(count) site.add_dir(name, caturl, 'List', img) re_npurl = r'href="([^"]+)"\s*class="next">Next' re_npnr = r'/page/(\d+)\D+class="next">Next' utils.next_page(site, 'netfapx.Pornstars', cathtml, re_npurl, re_npnr, contextm='palimas.GotoPage') utils.eod()
def Categories(url): cathtml = utils.getHtml(url).replace("'", '"') match = re.compile( r'class="col-6.+?href="([^"]+)"\s*title="([^"]+)".+?data-src="([^"]+)".+?video-datas">([^<]+)<', re.IGNORECASE | re.DOTALL).findall(cathtml) for caturl, name, img, count in match: name = utils.cleantext(name) + '[COLOR hotpink] ({})[/COLOR]'.format( count.strip()) site.add_dir(name, caturl, 'List', img) if 'aria-label="Posts navigation"' in cathtml: re_npurl = 'href="([^"]+)">»<' re_npnr = r'/(\d+)/[^"]*">»<' re_lpnr = r'>(\d+)<\D+next page-link' utils.next_page(site, 'pornvid69.Categories', cathtml, re_npurl, re_npnr=re_npnr, re_lpnr=re_lpnr, contextm='pornvid69.GotoPage') utils.eod()
def List(url): html = utils.getHtml(url, '') if 'Oops! Sorry, no results were found' in html: utils.notify(msg='Nothing found') utils.eod() return delimiter = "class='video-cube'" re_videopage = "href='([^']+)' title" re_name = "title='([^']+)'" re_img = "img src='([^']+)'" re_quality = "class='vquality'>([^<]+)<" re_duration = "class='vmin'>([^<]+)<" utils.videos_list(site, 'palimas.Playvid', html, delimiter, re_videopage, re_name, re_img, re_quality=re_quality, re_duration=re_duration, contextm='palimas.Related') re_npurl = 'href="([^"]+)">Next' re_npnr = r'page=(\d+)">Next' re_lpnr = r'>Showing\s*\d+-\d+\s*of\s*(\d+)<' utils.next_page(site, 'palimas.List', html, re_npurl, re_npnr, re_lpnr=re_lpnr, videos_per_page=30, contextm='palimas.GotoPage') utils.eod()