From c94bbc8c23e0c5439a22af1db8fb2a5f05c14101 Mon Sep 17 00:00:00 2001 From: "I7PAEZ\\paez" Date: Wed, 12 Dec 2018 21:28:21 +0100 Subject: [PATCH] Ultima hornada --- plugin.video.alfa/channels/camwhoresbay.json | 15 ++ plugin.video.alfa/channels/camwhoresbay.py | 97 +++++++++++++ .../channels/eroticasonlinetv.json | 17 +++ .../channels/eroticasonlinetv.py | 89 ++++++++++++ plugin.video.alfa/channels/foxtube.json | 2 +- plugin.video.alfa/channels/foxtube.py | 6 +- plugin.video.alfa/channels/javwhores.json | 15 ++ plugin.video.alfa/channels/javwhores.py | 97 +++++++++++++ plugin.video.alfa/channels/jizzbunker.json | 17 +++ plugin.video.alfa/channels/jizzbunker.py | 89 ++++++++++++ plugin.video.alfa/channels/perfectgirls.py | 24 +++- plugin.video.alfa/channels/pornrewind.json | 15 ++ plugin.video.alfa/channels/pornrewind.py | 76 ++++++++++ plugin.video.alfa/channels/spankbang.py | 136 ++++++++++++++++++ plugin.video.alfa/channels/streamingporn.json | 17 +++ plugin.video.alfa/channels/streamingporn.py | 105 ++++++++++++++ plugin.video.alfa/channels/streamporno.json | 17 +++ plugin.video.alfa/channels/streamporno.py | 78 ++++++++++ plugin.video.alfa/channels/tnaflix.json | 1 + plugin.video.alfa/channels/tnaflix.py | 8 +- plugin.video.alfa/channels/tubedupe.json | 16 +++ plugin.video.alfa/channels/tubedupe.py | 106 ++++++++++++++ plugin.video.alfa/channels/xxxdan.json | 17 +++ plugin.video.alfa/channels/xxxdan.py | 107 ++++++++++++++ plugin.video.alfa/channels/yuuk.json | 1 - plugin.video.alfa/channels/yuuk.py | 15 +- 26 files changed, 1161 insertions(+), 22 deletions(-) create mode 100644 plugin.video.alfa/channels/camwhoresbay.json create mode 100644 plugin.video.alfa/channels/camwhoresbay.py create mode 100644 plugin.video.alfa/channels/eroticasonlinetv.json create mode 100644 plugin.video.alfa/channels/eroticasonlinetv.py create mode 100644 plugin.video.alfa/channels/javwhores.json create mode 100644 plugin.video.alfa/channels/javwhores.py create mode 100644 plugin.video.alfa/channels/jizzbunker.json create mode 100644 plugin.video.alfa/channels/jizzbunker.py create mode 100644 plugin.video.alfa/channels/pornrewind.json create mode 100644 plugin.video.alfa/channels/pornrewind.py create mode 100644 plugin.video.alfa/channels/spankbang.py create mode 100644 plugin.video.alfa/channels/streamingporn.json create mode 100644 plugin.video.alfa/channels/streamingporn.py create mode 100644 plugin.video.alfa/channels/streamporno.json create mode 100644 plugin.video.alfa/channels/streamporno.py create mode 100644 plugin.video.alfa/channels/tubedupe.json create mode 100644 plugin.video.alfa/channels/tubedupe.py create mode 100644 plugin.video.alfa/channels/xxxdan.json create mode 100644 plugin.video.alfa/channels/xxxdan.py diff --git a/plugin.video.alfa/channels/camwhoresbay.json b/plugin.video.alfa/channels/camwhoresbay.json new file mode 100644 index 00000000..f57213ca --- /dev/null +++ b/plugin.video.alfa/channels/camwhoresbay.json @@ -0,0 +1,15 @@ +{ + "id": "camwhoresbay", + "name": "camwhoresbay", + "active": true, + "adult": true, + "language": ["*"], + "thumbnail": "https://www.camwhoresbay.com/images/porntrex.ico", + "banner": "", + "categories": [ + "adult" + ], + "settings": [ + ] +} + diff --git a/plugin.video.alfa/channels/camwhoresbay.py b/plugin.video.alfa/channels/camwhoresbay.py new file mode 100644 index 00000000..2a58733f --- /dev/null +++ b/plugin.video.alfa/channels/camwhoresbay.py @@ -0,0 +1,97 @@ +# -*- coding: utf-8 -*- +#------------------------------------------------------------ +import urlparse,urllib2,urllib,re +import os, sys +from platformcode import config, logger +from core import scrapertools +from core.item import Item +from core import servertools +from core import httptools +from core import tmdb +from core import jsontools + + +host = 'https://www.camwhoresbay.com' + + +def mainlist(item): + logger.info() + itemlist = [] + itemlist.append( Item(channel=item.channel, title="Nuevos" , action="peliculas", url=host + "/latest-updates/")) + itemlist.append( Item(channel=item.channel, title="Mejor valorados" , action="peliculas", url=host + "/top-rated/")) + itemlist.append( Item(channel=item.channel, title="Mas vistos" , action="peliculas", url=host + "/most-popular/")) + + itemlist.append( Item(channel=item.channel, title="Categorias" , action="categorias", url=host + "/categories/")) + itemlist.append( Item(channel=item.channel, title="Buscar", action="search")) + return itemlist + + +def search(item, texto): + logger.info() + texto = texto.replace(" ", "+") + item.url = host + "/search/%s/" % texto + try: + return peliculas(item) + except: + import sys + for line in sys.exc_info(): + logger.error("%s" % line) + return [] + + +def categorias(item): + logger.info() + itemlist = [] + data = httptools.downloadpage(item.url).data + patron = '.*?' + patron += '", "", data) + patron = '
Siguiente »') + if next_page: + next_page = urlparse.urljoin(item.url, next_page) + itemlist.append( Item(channel=item.channel, action="peliculas", title="Página Siguiente >>" , text_color="blue", url=next_page )) + return itemlist + + +def play(item): + logger.info() + itemlist = [] + data = httptools.downloadpage(item.url).data + url = scrapertools.find_single_match(data, '