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

£$π community

créer un forum


Adding 'Next Page' link in listrepeat item

Go down

Adding 'Next Page' link in listrepeat item

Post by shamcheani on Tue 5 Dec - 22:06

Hi. Just to know if we can add 'next page' link in listrepeat item. I know if we add code ie:-
url = ''
url + = client.request('http://test.com/film')
url + = client.request('http://test.com/film/page2')
we can grab all the link in both page

shamcheani

Messages : 2
Date d'inscription : 2017-09-18

View user profile

Back to top Go down

Re: Adding 'Next Page' link in listrepeat item

Post by jujuuj on Thu 7 Dec - 1:17

no ... No way, amigo ...

you may try to add the text "Next page" after the source code

then you could select or a link, or the "Next page" link

...but, to do that, you will have to modify your <expres>my-expres(.*?)</expres>
in a <expres>my-expres(.*?)|(Next page)</expres>

you may use conditional regex (see tuto of twogun) so
it will act differently depending if condition=Next page , or not :

it will (actually) run 2 diferent regex, and one will be <regex>openfinallink</regex>
and the other will be <regex>makelistPagePlusOne</regex>

of course, this is very theorical, and that means a lot of steps to build it ...

As you see it is possible (probably) but very complicated ...

I don't think it has been done before in £$π, but I have seen it in other addons similars (Even if our addon is very unique ...)

The main problem I faced with this video-sites is that every page has a very few videos in it, so you use all your time changing of page, and then changing of view for every little page ... (because nobody want a list of titles, but thumbs, panels ...).

IF you are in the same,
I propose you two solutions easier to realise :

1 (-) : is to use <SetViewMode>50</SetViewMode> (anywhere in your xml) number is variable

2 (++) : is to use multipage to join page, so you will change the view only once.

check in wiki widget, for info on conditional doregex, and setmodeview
check tutorials for more info about multipage ...

bye GL ... and don't forget to share your results ! Wink
avatar
jujuuj

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

View user profile

Back to top Go down

Re: Adding 'Next Page' link in listrepeat item

Post by shamcheani on Thu 7 Dec - 5:52

Thanks a lot... Need to do a lot of reading now esp in tutorial & exmples. Smile

shamcheani

Messages : 2
Date d'inscription : 2017-09-18

View user profile

Back to top Go down

Re: Adding 'Next Page' link in listrepeat item

Post by solved on Thu 22 Feb - 0:38

solved

solved

Messages : 53
Date d'inscription : 2017-06-27

View user profile

Back to top Go down

Re: Adding 'Next Page' link in listrepeat item

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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