TOOLSP
"
WELCOME !

Please ! USE [CODE] tags for your LINKS and CODE.

Favor usar balisas [CODE] para sus vínculos y código.

Merci d'utiliser les balises [CODE] pour vos liens et code.


[code]http://Thank.you[/code]
"
*** Doc. Kodi & PYthon ***
.
.
Python & Modules PY
.
.
.
.
(Video) Cache Kodi
.
.
.
Addons Kodi
.
.
.
Addons Kodi
.
.
*** GITHUB ***
.
.
URLresolver (J.S.) [GIT] +
.
.
.
URLresolver (elD.) [GIT] -
.
.
URLresolver (tvA.) [GIT] -
.
.
.
.
Cloudflare (external) [GIT]
.
.
.
*** Associated ***
.
Pastebin Your list online
.
mediafire Upload Files
.
imgur Upload Pics
lyngsat TV logos collection
transparent .png
.
http://hola.org free? VPN
Hola.apk free? VPN App.
.
hidester- free Proxy
.
webgrabplus EPG - Eng
xmltv EPG - Fr
kazer EPG - Fr
.
.wordreference Traduction
.
mail.com (fast sign-in)
.
.
FRIENDS / PARTNERS

TVaddon's  community

créer un forum


next page regex

Go down

next page regex Empty next page regex

Post by bender mutt on Thu 28 Feb - 12:28

does any one know how to add next page to a live stream regex ive been tryng somthing like this

<item>
<title>Next Page</title>
<thumbnail></thumbnail>
<info>Bender Mutt</info>
<parentalblock>true</parentalblock>
<link>$doregex[Page1]</link>

<regex>
<name>Page1</name>
<expres><![CDATA[#$pyFunction
import requests, xbmcgui, xbmcplugin, xbmc, re, sys, os, xbmcaddon, json, urllib
def GetLSProData(page_data,Cookie_Jar,m):

def home(url):
html = requests.get(url).content
match = re.compile('a\s.*f="(.*?)">\n.*l="(.*?)"\s.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*title">(.*?)<\/s',re.MULTILINE).findall(html)
for pagez,iconz,title in match:
title = title.replace('&amp;',' & ')
title = title.replace(''','\'')
titlez = '[COLOR dodgerblue]%s-[/COLOR] %s' %('',title)
Play(titlez,'https://www.thumbzilla.com'+pagez,22,iconz,'','','')
nexzt = re.compile('<li class="page_number"><a href="(.*?)">.*?</a></li>',re.DOTALL).findall(html)
for next_Page in nexzt:
Menu('NEXT PAGE','https://www.thumbzilla.com+next_Page',23,'https://i.imgur.com/s1x9dPi.png','','','')

bender mutt

Messages : 4
Date d'inscription : 2019-02-28

View user profile

Back to top Go down

next page regex Empty Re: next page regex

Post by vbprofi on Mon 4 Mar - 8:55

Hello,
does your code work?
best regards

vbprofi

Messages : 90
Date d'inscription : 2017-05-03

View user profile

Back to top Go down

next page regex Empty Re: next page regex

Post by bender mutt on Wed 6 Mar - 6:13

not yet but its a start its up for some upgrade needs a return post

bender mutt

Messages : 4
Date d'inscription : 2019-02-28

View user profile

Back to top Go down

next page regex Empty Re: next page regex

Post by jujuuj on Thu 7 Mar - 1:00

Bender, MUUUUUUUUY arrecho lo que pides ...

De lo que he visto en otro addon (de ciné), hasta hoy, no existe un "codigo next page" universal ; y cuando existe un link y codigo para next page, es especifico a 1 sitio web.

Esta pregunta del Next Page, es una pregunta que vuelve regularmente, y queda sin repuesta (me parece) . Entonces te voy a hacer la misma repuesta q la veces anteriores, no existe Next page sino en nuestros sue~nos. Lo que SI existe son los item dichos "multipage" q combinanavarias paginas web en una sola pagina o lista £$π : ver ejemplos multipage en foro.

Toma en cuenta que lo que haces NO ha sido hecho antes ... Asi q no sirve rega~narnos Wink
jujuuj
jujuuj

Messages : 271
Date d'inscription : 2017-03-28

View user profile

Back to top Go down

next page regex Empty Re: next page regex

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum