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]
"
*** GITHUB ***
.
.
URL Resolver [GIT]
.
.
.
.
Jx Update [REDIRECT]
.
.
*** 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)
.
.
Latest topics
» SportsDevil back on Mega
Yesterday at 14:38 by skyhigh

» SportsDevil back on Mega
Fri 17 Nov - 5:30 by jairoxyz

» youtube playlists
Tue 14 Nov - 2:43 by jujuuj

» afromotion
Thu 9 Nov - 13:59 by doctor4979

» ? works on VLC, but not on kodi ?
Mon 6 Nov - 13:06 by jujuuj

» how make a request.post to get a repond
Tue 31 Oct - 16:01 by jujuuj

» how to play this in kodi
Tue 31 Oct - 15:21 by jujuuj

FRIENDS / PARTNERS

forum

créer un forum


restrict number of results

View previous topic View next topic Go down

restrict number of results

Post by geetee on Mon 29 May - 22:17

Using the following code to pull playlists from m3uliste site. Is there any way I can limit results to say 20 lists? It's sometimes really slow to load, I'm assuming because of the sheer number of lists its grabbing.

Code:
<item>
  <title>Daily IPTV lists</title>
<link>$doregex[makelist]</link>
<regex>
<name>makelist</name>
<listrepeat><![CDATA[
     <title>      [makelist.param2]   ( [makelist.param1] )  </title>
    <link>NA</link>
    <externallink>[makelist.param1][DE]$$TSDOWNLOADER$$</externallink>

]]></listrepeat>
<expres>>(http:\/\/(.*?)\/.*?get.php.*?)<</expres>
<page>http://www.m3u</page>
<referer></referer>
<cookieJar></cookieJar>
</regex>
</item>

geetee

Messages : 7
Date d'inscription : 2017-05-28

View user profile

Back to top Go down

Re: restrict number of results

Post by Admin on Tue 30 May - 2:01

I deleted the real link ... as it is one of the last sites that are not overbooked and has working links.

I don't really care about links clickable or not or hidden ... I just want to save that source and my makelist ... Wink

Admin

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

View user profile http://toolsp.forumactif.com

Back to top Go down

Re: restrict number of results

Post by jujuuj on Tue 30 May - 2:31

I don't think it is possible to restrict the results,

but u may try to reduce the part of code LSP read (?)    i mean  <page>not-the-whole-page</page>

in source code, dates are appearing, so it might be possible to compare the today's date with the text, to select only the last 2 or 3 days ...

or try an expres like this ?
(?s)(date=.*?)date=.*?Endofsourcecode

just ideas ...


Last edited by jujuuj on Tue 30 May - 2:35; edited 1 time in total
avatar
jujuuj

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

View user profile

Back to top Go down

Re: restrict number of results

Post by geetee on Tue 30 May - 2:33

That makes sense, thanks, I'll have a play around with that idea.

geetee

Messages : 7
Date d'inscription : 2017-05-28

View user profile

Back to top Go down

Re: restrict number of results

Post by geetee on Tue 30 May - 2:40

Admin wrote:I deleted the real link ... as it is one of the last sites that are not overbooked and has working links.

I don't really care about links clickable or not or hidden ... I just want to save that source and my makelist ... Wink

Whoops, should have thought of that, sorry....

geetee

Messages : 7
Date d'inscription : 2017-05-28

View user profile

Back to top Go down

Re: restrict number of results

Post by jujuuj on Tue 30 May - 11:09

no problemo Wink
avatar
jujuuj

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

View user profile

Back to top Go down

Re: restrict number of results

Post by solved on Tue 27 Jun - 0:23

.

solved

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

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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