diff --git a/plugin.video.alfa/channels/unsoloclic.py b/plugin.video.alfa/channels/unsoloclic.py deleted file mode 100755 index a6cf396f..00000000 --- a/plugin.video.alfa/channels/unsoloclic.py +++ /dev/null @@ -1,144 +0,0 @@ -# -*- coding: utf-8 -*- - -import re -import urlparse - -from core import scrapertools -from core.item import Item -from platformcode import logger - - -def mainlist(item): - logger.info() - item.url = "http://unsoloclic.info" - return novedades(item) - - -def novedades(item): - logger.info() - itemlist = [] - - # Descarga la página - data = scrapertools.cachePage(item.url) - ''' -
noviembre 5th, 2012
-
-
diciembre 24th, 2012
-
- « Peliculas anteriores
- '''
- patron = '\«\; Peliculas anteriores'
- matches = re.compile(patron, re.DOTALL).findall(data)
-
- for match in matches:
- scrapedtitle = ">> Página siguiente"
- scrapedplot = ""
- scrapedurl = urlparse.urljoin(item.url, match)
- scrapedthumbnail = ""
- logger.debug("title=[" + scrapedtitle + "], url=[" + scrapedurl + "], thumbnail=[" + scrapedthumbnail + "]")
- itemlist.append(Item(channel=item.channel, action="novedades", title=scrapedtitle, url=scrapedurl,
- thumbnail=scrapedthumbnail, plot=scrapedplot, folder=True))
-
- return itemlist
-
-
-def findvideos(item):
- logger.info()
- data = scrapertools.cache_page(item.url)
- itemlist = []
-
- # 
- patron = ']+>