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


restrict number of results

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 : 55
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 : 209
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 : 209
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 : 70
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

Back to top

- Similar topics

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