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 & UPDATES ***
.
.
URL Resolver (elD.) [GIT]
.
.
URL Resolver (tvA.) [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
» Where is my community ? WANTED : GEEKS !
Fri 5 Jan - 18:00 by jujuuj

» Show image
Fri 29 Dec - 9:29 by jujuuj

» list sorting by watched
Wed 20 Dec - 19:03 by vbprofi

» Need to Help for the 3 regex
Thu 14 Dec - 16:32 by beezlo

» how I can fix that?
Wed 13 Dec - 0:33 by vbprofi

» Link sharing post gone from TVadd°n
Tue 12 Dec - 5:54 by jujuuj

» Where to put your list
Sun 10 Dec - 2:20 by mahox

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 : 36
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 : 128
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 : 128
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

Re: restrict number of results

Post by Sponsored content


Sponsored content


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