actualizado pedroplis y pelisplanet
This commit is contained in:
@@ -2,11 +2,11 @@
|
||||
"id": "pedropolis",
|
||||
"name": "PedroPolis",
|
||||
"active": true,
|
||||
"adult": false,
|
||||
"adult": true,
|
||||
"language": ["cast", "lat"],
|
||||
"fanart": "https://scontent-lht6-1.xx.fbcdn.net/v/t31.0-8/21056316_670362456502498_8317422545691005578_o.png?oh=1f13a23a931d82e944a7ec743a19f583&oe=5A599F4D",
|
||||
"thumbnail": "https://scontent-lht6-1.xx.fbcdn.net/v/t1.0-9/20292600_467501756957771_6794721577753226614_n.jpg?oh=bba1479eccf0adceeb8c0d3450cc2531&oe=5A4EE0F5",
|
||||
"banner": "",
|
||||
"fanart": "https://s33.postimg.cc/d3ioghaof/image.png",
|
||||
"thumbnail": "https://s33.postimg.cc/aft86728f/image.jpg",
|
||||
"banner": "https://s33.postimg.cc/cyex6xlen/image.png",
|
||||
"categories": [
|
||||
"movie",
|
||||
"tvshow",
|
||||
|
||||
@@ -177,50 +177,25 @@ def peliculas(item):
|
||||
patron += 'browse-movie-link-qd.*?>([^<]+)</.+?'
|
||||
patron += '<p>([^<]+)</p>.+?'
|
||||
patron += 'title one-line">([^<]+)</h2>.+?'
|
||||
patron += 'title-category">([^<]+)</span>.*?'
|
||||
patron += 'img-responsive" src="([^"]+)".*?'
|
||||
|
||||
matches = re.compile(patron, re.DOTALL).findall(data)
|
||||
|
||||
for scrapedurl, quality, year, scrapedtitle, category, scrapedthumbnail in matches:
|
||||
for scrapedurl, quality, year, scrapedtitle, scrapedthumbnail in matches:
|
||||
if '/ ' in scrapedtitle:
|
||||
scrapedtitle = scrapedtitle.partition('/ ')[2]
|
||||
title = scrapedtitle
|
||||
contentTitle = title
|
||||
url = scrapedurl
|
||||
quality = quality
|
||||
thumbnail = scrapedthumbnail
|
||||
|
||||
itemlist.append(Item(channel=item.channel,
|
||||
action="findvideos",
|
||||
title="%s [COLOR yellowgreen][%s][/COLOR] [COLOR violet][%s][/COLOR]" % (title, category, year),
|
||||
url=url,
|
||||
title=scrapedtitle,
|
||||
url=scrapedurl,
|
||||
quality=quality,
|
||||
thumbnail=thumbnail,
|
||||
contentTitle=contentTitle,
|
||||
thumbnail=scrapedthumbnail,
|
||||
contentTitle=scrapedtitle,
|
||||
infoLabels={"year": year},
|
||||
text_color=color3
|
||||
))
|
||||
|
||||
# for scrapedurl, calidad, year, scrapedtitle, scrapedthumbnail in matches:
|
||||
# datas = httptools.downloadpage(scrapedurl).data
|
||||
# datas = re.sub(r"\n|\r|\t|\s{2}| ", "", datas)
|
||||
# # logger.info(datas)
|
||||
# if '/ ' in scrapedtitle:
|
||||
# scrapedtitle = scrapedtitle.partition('/ ')[2]
|
||||
# contentTitle = scrapertools.find_single_match(datas, '<em class="pull-left">Titulo original: </em>([^<]+)</p>')
|
||||
# contentTitle = scrapertools.decodeHtmlentities(contentTitle.strip())
|
||||
# rating = scrapertools.find_single_match(datas, 'alt="Puntaje MPA IMDb" /></a><span>([^<]+)</span>')
|
||||
# director = scrapertools.find_single_match(
|
||||
# datas, '<div class="list-cast-info tableCell"><a href="[^"]+" rel="tag">([^<]+)</a></div>')
|
||||
# title = "%s [COLOR yellow][%s][/COLOR]" % (scrapedtitle.strip(), calidad.upper())
|
||||
#
|
||||
# logger.debug('thumbnail: %s' % scrapedthumbnail)
|
||||
# new_item = Item(channel=item.channel, action="findvideos", title=title, plot='', contentType='movie',
|
||||
# url=scrapedurl, contentQuality=calidad, thumbnail=scrapedthumbnail,
|
||||
# contentTitle=contentTitle, infoLabels={"year": year, 'rating': rating, 'director': director},
|
||||
# text_color=color3)
|
||||
# itemlist.append(new_item)
|
||||
tmdb.set_infoLabels_itemlist(itemlist, __modo_grafico__)
|
||||
|
||||
paginacion = scrapertools.find_single_match(data, '<a class="nextpostslink" rel="next" href="([^"]+)">')
|
||||
@@ -290,7 +265,7 @@ def findvideos(item):
|
||||
|
||||
itemlist.sort(key=lambda it: it.title, reverse=True)
|
||||
|
||||
if 'drive' not in servidores and 'streamvips' not in servidores and 'mediastream' not in servidores:
|
||||
if 'drive' not in servidores and 'streamvips' not in servidores and 'mediastream' not in servidores and 'megavips' not in servidores:
|
||||
if 'ultrastream' not in servidores:
|
||||
server = servertools.get_server_from_url(scrapedurl)
|
||||
quality = scrapertools.find_single_match(
|
||||
|
||||
Reference in New Issue
Block a user