Help for Regex

Status
Not open for further replies.

Lacasitos74

Member
Nov 21, 2016
43
1
8
Hi people..
can you help me.. i dont understand why i can't play this

Code:
<item>
<title>space filmes Deadpool 2 </title>
<link>$doregex[servidor]</link>
<regex>
<name>servidor</name>
<listrepeat><![CDATA[
	<SetViewMode>55</SetViewMode>
			<title>[COLOR lime][B] - [/B][/COLOR] [COLOR white][B][I] Servidor [servidor.param2][/I][/B][/COLOR]</title>
			<urlsolve>$doregex[getUrl]</urlsolve>
]]></listrepeat>
<expres><![CDATA[(?s)href="(.*?)"\s+class="modal\-embedded"\s+data\-target=".*?">Servidor\s+(.*?)<\/a]]></expres>
<page>https://spacefilmes.xyz/watch-movies/Deadpool-2-35</page>
</regex>

<regex>
<name>getUrl</name>
<expres><![CDATA[(?s)src="(.*?)"]]></expres>
<page>[servidor.param1]</page>
</regex>
</item>
if explain me where i fail i apreciate

Thanks a lot...
 

streamwatcher2013

Well-known member
Oct 24, 2013
849
352
63
USA
Hi people..
can you help me.. i dont understand why i can't play this

Code:
<item>
<title>space filmes Deadpool 2 </title>
<link>https://www.tvaddons.co/forums/$doregex[servidor]</link>
<regex>
<name>servidor</name>
<listrepeat><=!=[=C=D=A=T=A=[
	<SetViewMode>55</SetViewMode>
			<title>[COLOR lime][B] - [/B][/COLOR] [COLOR white][B][I] Servidor [servidor.param2][/I][/B][/COLOR]</title>
			<urlsolve>$doregex[getUrl]</urlsolve>
]=]=></listrepeat>
<expres><=!=[=C=D=A=T=A=[(?s)href="(.*?)"\s+class="modal\-embedded"\s+data\-target=".*?">Servidor\s+(.*?)<\/a]=]=></expres>
<page>https://spacefilmes.xyz/watch-movies/Deadpool-2-35</page>
</regex>

<regex>
<name>getUrl</name>
<expres><=!=[=C=D=A=T=A=[(?s)src="(.*?)"]=]=></expres>
<page>[servidor.param1]</page>
</regex>
</item>
if explain me where i fail i apreciate

Thanks a lot...
In the source code, search for this "movie_links", you will see a lot of option to choose from dif. servers: openload, streamango,....
Your code will not work with your expression
Look at the regex101 site:
https://regex101.com/r/qDvT6t/3

and the regex expression works with this:
1/ Openload & Streamango: https://regex101.com/r/qDvT6t/6

and try this:

Code:
<item>
<title>space filmes Deadpool 2</title>
<link>$doregex[servidor]</link>
<regex>
<name>servidor</name>
<listrepeat><![CDATA[
<SetViewMode>55</SetViewMode>
<title>[COLOR lime] - [/COLOR] [COLOR white] Servidor [servidor.param2][/COLOR]</title>
<urlsolve>$doregex[getUrl]</urlsolve>
]]></listrepeat>
<expres><![CDATA[movie_links.*\n.*\n.*?href="(.*?)".+?(Streamango|Openload)]]></expres>
<page>https://spacefilmes.xyz/watch-movies/Deadpool-2-35</page>
</regex>
<regex>
<name>getUrl</name>
<expres>src="([^"]+)</expres>
<page>[servidor.param1]</page>
</regex>
</item>
 
Last edited:

vbprofi

Member
Feb 9, 2016
75
3
8
Hello experts,
please help to find an solution for this stream:
Code:
http://tv.live-fernsehen.com/10688
regards
 

turko03

Member
Mar 27, 2018
52
1
8
can you help me this code a makelist


hxxps://www.liveonlinetv247.info/tvchannels.php



thanks in advance
 
Last edited:

Lacasitos74

Member
Nov 21, 2016
43
1
8
In the source code, search for this "movie_links", you will see a lot of option to choose from dif. servers: openload, streamango,....
Your code will not work with your expression
Look at the regex101 site:
https://regex101.com/r/qDvT6t/3

and the regex expression works with this:
1/ Openload & Streamango: https://regex101.com/r/qDvT6t/6

and try this:

Code:
<item>
<title>space filmes Deadpool 2</title>
<link>https://www.tvaddons.co/forums/$doregex[servidor]</link>
<regex>
<name>servidor</name>
<listrepeat><=!=[=C=D=A=T=A=[
<SetViewMode>55</SetViewMode>
<title>[COLOR lime] - [/COLOR] [COLOR white] Servidor [servidor.param2][/COLOR]</title>
<urlsolve>$doregex[getUrl]</urlsolve>
]=]=></listrepeat>
<expres><=!=[=C=D=A=T=A=[movie_links.*\n.*\n.*?href="(.*?)".+?(Streamango|Openload)]=]=></expres>
<page>https://spacefilmes.xyz/watch-movies/Deadpool-2-35</page>
</regex>
<regex>
<name>getUrl</name>
<expres>src="([^"]+)</expres>
<page>[servidor.param1]</page>
</regex>
</item>
Thanks a lot..
The app i use for do regex catch in a difrent way..
Now i star use this site..
thanks a lot for explain me..
 

adrianhn

New member
Mar 20, 2014
25
4
3
hi.. some help with this please .

some ideas??

hxxps://player.limpi.tv/embed/41023
hxxp://player.latino-webtv.com/channels/azteca7.html

thanks
 

trejo1

New member
Sep 7, 2018
2
0
0
hello forum,
I am new to regex and using LSPro in kodi 17.6 The version I have managed to find is 2.8 does anyone point me to a latest working one.

I am also trying to import selenium without any success. I have installed selenium using pip in win 7 but kodi log fails to find selenium.
 
Status
Not open for further replies.