Página 7 de 95

Re: Italian channels issues and development

Publicado: 25 Jul 2015, 12:37
por zanzibar1982
EDIT:

italianstream.py --> item "peliculas"

Código: Seleccionar todo

def peliculas(item):
    logger.info("pelisalacarta.italianstream peliculas")
    itemlist = []

    # Descarga la pagina
    data = scrapertools.cache_page(item.url)

    # Extrae las entradas (carpetas)
    patron = '<div class="arch-thumb">[^<]+<a href="(.*?)" title="(.*?)"><img[^src]+src="(.*?)"[^<]+</a>[^<]+</div>'
    matches = re.compile(patron,re.DOTALL).findall(data)
    scrapertools.printMatches(matches)

    for scrapedurl,scrapedtitle,scrapedthumbnail in matches:
        response = urllib2.urlopen(scrapedurl)
        html = response.read()
        start = html.find("Trama:")
        end = html.find("</div>", start)
        scrapedplot = html[start:end]
        if scrapedplot.startswith(""):
           scrapedplot = scrapedplot[23:]
        if (DEBUG): logger.info("title=["+scrapedtitle+"], url=["+scrapedurl+"], thumbnail=["+scrapedthumbnail+"]")
        itemlist.append( Item(channel=__channel__, action="findvideos", title=scrapedtitle , url=scrapedurl , thumbnail=scrapedthumbnail , plot=scrapedplot , folder=True, fanart=scrapedthumbnail) )

    # Extrae el paginador
    patronvideos  = '<div class="wp-pagenavi">.*?<a href="([^"]+)" >&rsaquo;</a></div>'
    matches = re.compile(patronvideos,re.DOTALL).findall(data)
    scrapertools.printMatches(matches)

    if len(matches)>0:
        scrapedurl = urlparse.urljoin(item.url,matches[0])
        itemlist.append( Item(channel=__channel__, action="peliculas", title="[COLOR orange]Successivo >>[/COLOR]" , url=scrapedurl , folder=True, thumbnail="http://2.bp.blogspot.com/-fE9tzwmjaeQ/UcM2apxDtjI/AAAAAAAAeeg/WKSGM2TADLM/s1600/pager+old.png") )

    return itemlist
This works for me :|

Need a repack?

Re: Italian channels issues and development

Publicado: 25 Jul 2015, 14:30
por dentaku65
ehm... no và in errore, forse c'e' qualche indentazione che è errata...

Re: Italian channels issues and development

Publicado: 25 Jul 2015, 19:51
por zanzibar1982
Updates for dummies,

added three channels with plots fixed by dentaku65

I just gave a bit of order to the look of the plots.

EDIT: REMOVED

Tested on Kodi android & PC.

These three channels feel a bit slower to to me, maybe because of more web queries?

For those having problems displaying the video streams, check your router at home and be sure

it has google's DNS.

Cheers

Re: Italian channels issues and development

Publicado: 25 Jul 2015, 23:07
por superdanni
C'è un modo per poter impostare la visualizzazione dei vari canali in info media senza dover cambiare ogni volta perchè mi ritorna sempre a visualizzazione "lista" ?
Grazie anticipatamente

Re: Italian channels issues and development

Publicado: 26 Jul 2015, 02:34
por zanzibar1982
Trovai questo illo tempore

http://forum.kodi.tv/showthread.php?tid=133342

ma non ho mai provato perchè mi costerebbe perdere tante altre impostazioni

di kodi che tornerebbero di default.

Il post sopra tiene conto che tu usi la skin Confuence di default.

EDIT:

il file da editare è MyVideoNav.xml e si trova in
C:\Program Files (x86)\Kodi\addons\skin.confluence\720p

Re: Italian channels issues and development

Publicado: 26 Jul 2015, 07:59
por dentaku65
Upadate the github; plot fixing and filmgratiscc added
https://github.com/dentaku65/pelisalacartait
Zanzibar ma filmgratiscc non lo avevi escluso?

Confermo che funziona anche con Kodi su RPI2 e OSMC e i canali con i plot (escluso cb01) sono un po' più lenti ad aprire le liste

Per i DNS ho scritto una guida per OSMC per utilizzare DNSCrypt (ocio non può funzionare con OpenElec perchè è compilato dai sorgenti e OpenElec non consente di farlo; mentre con Xbian dovrebbe andare senza problemi)
https://discourse.osmc.tv/t/howto-insta ... -osmc/5928

In Kodi oltre ai DNS è utile installare lo script URL Resolver, questo bypassa i limiti che molti content provider mettono nei loro contenuti:
https://github.com/Eldorados/script.module.urlresolver

Sò che DNSCrypt è implementabile anche su Mac e Win ma non ho idea di come si installa sui sitemi di topo gigio :D :lol: :D :lol:

Re: Italian channels issues and development

Publicado: 26 Jul 2015, 09:39
por superdanni
Ehm scusate come si installa lo script URL Resolver ?
Si copiano e sostituiscono i file nelle varie cartelle?
O si installa da zip come addons?

edit
Come addons ci sono riuscito,scusate la mia ignoranza XD

Edit 2
Non mi funziona hubberfilm è un problema mio o anche a voi?
Update di hubberfilm dell'ultimo github non mi funziona almeno a me

Re: Italian channels issues and development

Publicado: 26 Jul 2015, 11:08
por dentaku65
L'URL resolver lo installi come un qualsiasi addon, via zip.

Ok, sistemato Hubberfilm (con tutti i file che mi trovo in giro ieri ho messo quello errato) :oops:

Comunque oggi è pronto fresco fresco Filmstreampw con i plot!
https://github.com/dentaku65/pelisalacartait

Please test.... zanzibar, lascia perdere il search su filmstreampw che lo hanno integrato in un javascript... mannaggia... :?

Re: Italian channels issues and development

Publicado: 26 Jul 2015, 13:09
por zanzibar1982
dentaku,

oh you, channel-machine :D

Hats off!

Anyways, here
zanzibar1982 escribió:I think you should uncomment the channel for 2 reasons:

1) the fixed "Ricerca Globale" will look for contents in that site too

2) our plugin is okay, the site management may wake up someday

I think you were looking for this, almost forgot about it

http://www38.zippyshare.com/v/M67vZVLo/file.html

Furthermore, I think we should sort out animesubita.info, guardaserie.net and itastreaming.tv

before we say we're done.

What if we try to get videos from pages like they do it for porn websites?
on page five I fixed filmgratiscc, put your credits tooon github as you started the job.

I am about to update cineblog01 on github as I see that version has

still a broken anime section

EDIT:

I just read your pm, thanks. Also put forkhub on my mobile, just in case

I'd feel like coding while driving. :lol:

Stay tuned

Re: Italian channels issues and development

Publicado: 26 Jul 2015, 14:15
por superdanni
Raga per http://www.guardaserie.net/ avete fatto o farete qualcosa? :oops: