LSP Regex & Makelist Discussion.

boomski

New member
Mar 23, 2017
18
1
3
can anyone help with this
Code:
https://www.youtube.com/channel/UCff_CBVJDTHP4wOHPjP5BMg/live
I used this code before , but it doesn't work anymore
Code:
<item>
<title>ES | IB3 Televisió</title>
<link>ignorme</link>
<jsonrpc>plugin://plugin.video.youtube/channel/UCff_CBVJDTHP4wOHPjP5BMg/live/</jsonrpc>
<thumbnail>https://i.imgur.com/S4VxjoH.jpg</thumbnail> 
<fanart>https://i.imgur.com/2sMPKw7.jpg</fanart>     
</item>
 

kavan

Member
Aug 14, 2016
45
2
8
Here it is..

Code:
<item>
<title>IB3 TELEVISIÓ DIRECTE</title>
<link>plugin://plugin.video.youtube/play/?video_id=$doregex[id]</link>
<regex>
<name>id</name>
<expres>data-context-item-id="([^"]+)<expres>
<page>https://www.youtube.com/channel/UCff_CBVJDTHP4wOHPjP5BMg</page>
</regex>
<thumbnail></thumbnail>
</item
 
  • Like
Reactions: udomrat and boomski

efradncr

New member
Mar 26, 2018
29
0
1
Porque utilizando este mismo regex esta señal se me corta??
Code:
<item>
<title>RT EN VIVO</title>
<link>plugin://plugin.video.youtube/play/?video_id=$doregex[id]</link>
<regex>
<name>id</name>
<expres>data-context-item-id="([^"]+)<expres>
<page>https://www.youtube.com/channel/UCEIhICHOQOonjE6V0SLdrHQ</page>
</regex>
<thumbnail>https://i.ytimg.com/vi/JqY92qg_yPs/maxresdefault.jpg</thumbnail>
</item
 

streamwatcher2013

Active member
Oct 24, 2013
461
81
28
USA
@efradncr may be try this:

Code:
<item>
<title>RT en vivo</title>     
<link>plugin://plugin.video.youtube/play/?video_id=$doregex[id]</link>   
<regex>
<name>id</name>
<expres><![CDATA[#$pyFunction
import re,urllib2
def GetLSProData(page_data,Cookie_Jar,m):#streamwatcher2013
  return re.findall('video_ids=([^%,]+)',urllib2.urlopen('https://www.youtube.com/channel/UCEIhICHOQOonjE6V0SLdrHQ').read())[0]
]]></expres>
<page></page>
</regex>
<thumbnail>https://yt3.ggpht.com/a/AGF-l7_nW9u4arS_Jm3b0fGpuU7tGfChK28woRqhqQ=s288-c-k-c0xffffffff-no-rj-mo</thumbnail>
</item>

<item>
<title>RT en vivo</title>    
<link>plugin://plugin.video.youtube/play/?video_id=$doregex[id]</link>   
<regex>
<name>id</name>
<expres><![CDATA[video_ids=([^%,]+)]]></expres>
<page>https://www.youtube.com/channel/UCEIhICHOQOonjE6V0SLdrHQ</page>
</regex>
<thumbnail>https://yt3.ggpht.com/a/AGF-l7_nW9u4arS_Jm3b0fGpuU7tGfChK28woRqhqQ=s288-c-k-c0xffffffff-no-rj-mo</thumbnail>
</item>
 

efradncr

New member
Mar 26, 2018
29
0
1
@streamwatcher2013 tengo este error al abrir el canal
Code:
19:56:50.992 T:18446744072554243424 WARNING: CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.live.streamspro/?url=http%3A%2F%2Fignore.me&mode=12
19:56:50.993 T:18446744072554243424   ERROR: InputStream: Error opening, plugin://plugin.video.live.streamspro/?url=http%3A%2F%2Fignore.me&mode=12
19:56:51.011 T:18446744072554243424 WARNING: CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.live.streamspro/?url=http%3A%2F%2Fignore.me&mode=12
19:56:51.012 T:18446744072554243424   ERROR: InputStream: Error opening, plugin://plugin.video.live.streamspro/?url=http%3A%2F%2Fignore.me&mode=12
19:56:51.053 T:18446744072552913904 WARNING: CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.live.streamspro/?url=http%3A%2F%2Fignore.me&mode=12
19:56:51.054 T:18446744072552913904   ERROR: InputStream: Error opening, plugin://plugin.video.live.streamspro/?url=http%3A%2F%2Fignore.me&mode=12
19:56:51.078 T:18446744072552913904 WARNING: CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.live.streamspro/?url=http%3A%2F%2Fignore.me&mode=12
19:56:51.078 T:18446744072552913904   ERROR: InputStream: Error opening, plugin://plugin.video.live.streamspro/?url=http%3A%2F%2Fignore.me&mode=12
19:56:51.107 T:18446744072554243424 WARNING: CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.live.streamspro/?url=http%3A%2F%2Fignore.me&mode=12
19:56:51.107 T:18446744072554243424   ERROR: InputStream: Error opening, plugin://plugin.video.live.streamspro/?url=http%3A%2F%2Fignore.me&mode=12
19:56:51.114 T:18446744072552913904 WARNING: CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.live.streamspro/?url=http%3A%2F%2Fignore.me&mode=12
19:56:51.114 T:18446744072552913904   ERROR: InputStream: Error opening, plugin://plugin.video.live.streamspro/?url=http%3A%2F%2Fignore.me&mode=12
19:56:51.120 T:18446744072554243424 WARNING: CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.live.streamspro/?url=http%3A%2F%2Fignore.me&mode=12
19:56:51.120 T:18446744072554243424   ERROR: InputStream: Error opening, plugin://plugin.video.live.streamspro/?url=http%3A%2F%2Fignore.me&mode=12
19:56:51.126 T:18446744072552913904 WARNING: CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.live.streamspro/?url=http%3A%2F%2Fignore.me&mode=12
19:56:51.126 T:18446744072552913904   ERROR: InputStream: Error opening, plugin://plugin.video.live.streamspro/?url=http%3A%2F%2Fignore.me&mode=12
19:56:51.135 T:18446744072554243424 WARNING: CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.live.streamspro/?url=http%3A%2F%2Fignore.me&mode=12
19:56:51.135 T:18446744072554243424   ERROR: InputStream: Error opening, plugin://plugin.video.live.streamspro/?url=http%3A%2F%2Fignore.me&mode=12
.
 

boomski2

New member
Aug 19, 2019
5
0
1
hi guys,

anyone know how i can play this link on lsp

Code:
http://50.7.161.82:8278/Aec/playlist.m3u8?tid=15490429&ct=18157&tsum=9b7fedf73f84e34d4daed9529754205a
i try using $$tsdownloader$$ function, its not working
 

gujal

Developer
Dec 26, 2013
266
59
28
$$tsdownloader$$ is not for m3u8 files, it is for .ts only
Anyway, where is the stream from as it probably needs headers
Without headers it is getting a 403 error
Code:
HTTP/1.1 403 Forbidden
Server: openresty/1.11.2.2
Date: Sat, 28 Sep 2019 22:16:59 GMT
Content-Type: text/html
Content-Length: 175
Connection: keep-alive

<html>
<head><title>403 Forbidden</title></head>
<body bgcolor="white">
<center><h1>403 Forbidden</h1></center>
<hr><center>openresty/1.11.2.2</center>
</body>
</html>
 

gujal

Developer
Dec 26, 2013
266
59
28
It is not a m3u playlist. It is a m3u8 HLS Stream. It doesn't play for me in VLC and the error I posted is what I see, may be it is geo restricted and I am not allowed to play.
 

streamwatcher2013

Active member
Oct 24, 2013
461
81
28
USA
You may need to open it a second time to get the stream playing. I tried with dif. UA or without UA

Code:
<item>
<title>astro AEC</title>          
<link>http://50.7.161.82:8278/Aec/playlist.m3u8?tid=15490429&amp;ct=18157&amp;tsum=9b7fedf73f84e34d4daed9529754205a|user-agent=ipad</link>
<thumbnail>https://upload.wikimedia.org/wikipedia/zh/thumb/d/dd/Astro_AEC.jpg/200px-Astro_AEC.jpg</thumbnail>
</item>
 
  • Like
Reactions: umonkey and udomrat

afzal

New member
Jul 19, 2014
24
1
3
Hello,
After long time now i am unable to write a simple regex :( what a shame, need your help guys

Code:
<item>
<title1>ABC</title>
<title2>CDE</title>
<link>
<sublink>1</sublink>
<sublink>2</sublink>
<sublink>3</sublink>
</sublink>a</sublink>
</sublink>b</sublink>
</sublink>C</sublink>
</link>
<thumbnail>DEF</thumbnail>
<fanart>GHI</fanart>
<info>KLM</Info>
</item>
This is e.x code, but a complete xml has many items, how to write a makelist of that xml file

Thanks in advance
 

afzal

New member
Jul 19, 2014
24
1
3
The code above is XML file and i wanted to have a regex expression to get the title, sublink, thumbnail, and fanart
Thanks
 

afzal

New member
Jul 19, 2014
24
1
3
The code above is XML file and i wanted to have a regex expression to get the title, sublink, thumbnail, and fanart
Thanks
 

afzal

New member
Jul 19, 2014
24
1
3
Thanks, could you please write me one example for that
 

gujal

Developer
Dec 26, 2013
266
59
28
Post a meaningful XML, not the broken stuff that you have shown above ( tags dont start with / for example nor do they start with one tag and end with an unrelated other tag) and then one can attempt.
Detailed tutorial and example is shown here
Code:
https://docs.python.org/2/library/xml.etree.elementtree.html
 
  • Like
Reactions: afzal

boomski2

New member
Aug 19, 2019
5
0
1
anyone can help me check this one. i got this from here. suddenly it stop working. tq for your kind help

Code:
<item>
<title>tennis-channel</title>
<link>$doregex[m3u8]|User-Agent=iPad&amp;Referer=http://ustvgo.tv/</link>
<regex>
<name>m3u8</name>
<expres><![CDATA[#$pyFunction
import re
def GetLSProData(page_data,Cookie_Jar,m):
  return re.findall("file: '(.*?)'",page_data)[0]
]]></expres>
<page>http://ustvgo.tv/tennis-channel-live-free/</page>
<referer>http://ustvgo.tv/</referer>
</regex>
</item>
 

makal

Member
Jul 23, 2014
54
8
8
change this
Code:
<page>http://player.ustvgo.to/link.php?stream=Tennis</page>
<referer>http://ustvgo.tv/tennis-channel-live-free/</referer>
 
  • Like
Reactions: boomski2
Apr 6, 2018
4
0
1
i need help with this REGEX dont work, please

<item>
<title>MX | TUDN</title>
<link>$doregex|User-Agent=iPad</link> <thumbnail>https://i.imgur.com/ffr2L7v.jpg</thumbnail> <fanart>https://i.imgur.com/Cn2LvDU.jpg</fanart> <regex> <name>url</name> <expres>file:\s*"([^"]+)</expres> <page>http://www.tv-onlinehd.com/vip/tvonlinehd.php?id=22</page> <referer>http://www.tv-onlinehd.com/</referer> </regex> </item> [/QUOTE]
 

boomski

New member
Mar 23, 2017
18
1
3
Can Someone make a regex for this channel?
Code:
https://canal1.com.co/senal-en-vivo/
 

udomrat

New member
Nov 10, 2016
12
4
3
try
Rich (BB code):
<item>
<title>https://canal1.com.co/senal-en-vivo/</title>
<link>$doregex[getm3u8]User-Agent=iPad</link>
<regex>
<name>getUrl</name>
<expres>iframe src='(.*?)'</expres>
<page>https://canal1.com.co/senal-en-vivo/</page>
</regex>
<regex>
<name>getm3u8</name>
<expres>"hls":"(.*?)"</expres>
<page>https:$doregex[getUrl]</page>
</regex>
</item>
 
  • Like
Reactions: boomski

AGAMEN0N

New member
Jul 4, 2019
10
2
3
Hi! Can you help me with the regex for this site:

hxxp://vtvuruguayenvivohd.blogspot.com

Thanks!!
 

afzal

New member
Jul 19, 2014
24
1
3
Hello folks,

Does anyone have a link to kodi leia with ksv patch for arm apk, e.g. need for fire tv 1st generation

Thanks
 

efradncr

New member
Mar 26, 2018
29
0
1
Kodi Leia en FTS 1gen no creo que te funcione, yo tuve problemas con el hasta en 2gen, me parece de debes utilizar el Kripton o en última instancia Jarvis.
 
Thread starter Similar threads Forum Replies Date
J Scraper Development 0
D Apple TV 4 44
O Addon Requests 5