how to use code tags. i guess u don't even bother watch it nor learn how to use it even though admin has emphasis it many time.thank you but what can I do with that program please tell me
how to use code tags. i guess u don't even bother watch it nor learn how to use it even though admin has emphasis it many time.thank you but what can I do with that program please tell me
Yes, I have already submitted the streamango fix to resolveurl githubOk, so that mean the code in resolveurl need to be fix yeah?. Thanks make sense now
Thank you, hope it work![]()
thank you but what can I do with that program please tell me
hi all,
anyone know why suddenly streamango does not work in lsp? im using this code, i already update latest lsp 2.8.4
Code:<item> <title>Better</title> <thumbnail></thumbnail> <urlsolve>https://streamango.com/embed/bspkfntlfpcklfos/</urlsolve> </item> <item> <title>Better direct</title> <thumbnail></thumbnail> <link>https://streamango.com/embed/bspkfntlfpcklfos/</link> </item>
Just small change on the .py code. Check your PMA huge thank you. streamwatcher2013![]()
I got to go but may be this one play for youNeed your help for this link .Than you in advance
seems rtmp ?Code:http://sugarwaterradio.com/sugarwatertv/
<overspillBackup isForce="false" name="procasterbench3" url="rtmp://cp91478.live.edgefcs.net/live/[email protected]"/>
<overspillBackup isForce="false" name="procasterbench2" url="rtmp://cp91478.live.edgefcs.net/live/[email protected]"/>
<overspillBackup isForce="true" name="anupam" url="rtmp://cp112881.live.edgefcs.net/live/[email protected]"/>
<overspillBackup isForce="false" name="oprahsnextchapter" url="rtmp://cp91478.live.edgefcs.net/live/[email protected]"/>
<overspillBackup isForce="false" name="grammyawards" url="rtmp://cp91478.live.edgefcs.net/live/[email protected]"/>
<overspillBackup isForce="true" name="livepaultv" url="rtmp://cp112881.live.edgefcs.net/live/[email protected]"/>
thank you streamwatcher2013 but couldn't use it .I got to go but may be this one play for you
Code:<overspillBackup isForce="false" name="procasterbench3" url="rtmp://cp91478.live.edgefcs.net/live/[email protected]"/> <overspillBackup isForce="false" name="procasterbench2" url="rtmp://cp91478.live.edgefcs.net/live/[email protected]"/> <overspillBackup isForce="true" name="anupam" url="rtmp://cp112881.live.edgefcs.net/live/[email protected]"/> <overspillBackup isForce="false" name="oprahsnextchapter" url="rtmp://cp91478.live.edgefcs.net/live/[email protected]"/> <overspillBackup isForce="false" name="grammyawards" url="rtmp://cp91478.live.edgefcs.net/live/[email protected]"/> <overspillBackup isForce="true" name="livepaultv" url="rtmp://cp112881.live.edgefcs.net/live/[email protected]"/>
http://original.livestream.com/sugarwatertv
Try this. Movie need a streamango updatesPlease, if possible
Thanks in advance.Code:hxxp://www.socceron.md/
<item>
<title>http://www.socceron.md/</title>
<link>$doregex[makelist]</link>
<regex>
<name>makelist</name>
<listrepeat><![CDATA[
<title>[makelist.param2]</title>
<link>$doregex[getUrl]</link>
]]></listrepeat>
<expres><![CDATA[href="(.*?)".class=".*\n(?:.*2">|.*?)(\w.*?)</span]]></expres>
<page>http://www.socceron.md/framev.htm</page>
</regex>
<regex>
<name>getUrl</name>
<expres><',requests.get(purl+re.findall('iframe.src=[\'"](?:.*?md/|)([^\'"]+)',page_data)[0]).text)[0]
if 'streamango' in link:
return urlresolver.resolve(link)
else:
return re.findall('source.*?[\'"]([^\'"]+)',requests.get(purl+link).text)[0]+'|User-Agent=VLC'
]]></expres>
<page>http://www.socceron.md/[makelist.param1]</page>
</regex>
</item>
Hi there streamwatcher2013Try this. Movie need a streamango updates
Code:<item> <title>http://www.socceron.md/</title> <link>$doregex[makelist]</link> <regex> <name>makelist</name> <listrepeat><![CDATA[ <title>[makelist.param2]</title> <link>$doregex[getUrl]</link> ]]></listrepeat> <expres><![CDATA[href="(.*?)".class=".*\n(?:.*2">|.*?)(\w.*?)</span]]></expres> <page>http://www.socceron.md/framev.htm</page> </regex> <regex> <name>getUrl</name> <expres><',requests.get(purl+re.findall('iframe.src=[\'"](?:.*?md/|)([^\'"]+)',page_data)[0]).text)[0] if 'streamango' in link: return urlresolver.resolve(link) else: return re.findall('source.*?[\'"]([^\'"]+)',requests.get(purl+link).text)[0]+'|User-Agent=VLC' ]]></expres> <page>http://www.socceron.md/[makelist.param1]</page> </regex> </item>
![]()
![]()
I'm interested too. what kind of small change is need? with this code that isn't work too.Just small change on the .py code. Check your PM
![]()
![]()
def GetLSProData(page_data,Cookie_Jar,m,url='https://streamango.com/embed/[makelist.param1]'):
import resolveurl
u = resolveurl.resolve(url)
return u
Check your PM. It should work for both urlresolver and resolveurlI'm interested too. what kind of small change is need? with this code that isn't work too.
Code:def GetLSProData(page_data,Cookie_Jar,m,url='https://streamango.com/embed/[makelist.param1]'): import resolveurl u = resolveurl.resolve(url) return u
They changed link so often.Hi there streamwatcher2013
Thanks very very much.
But it seems that it does not work...
(i'm workin' with LSP 2.8.2)
Hi streamwatcher2013.They changed link so often.
I will make an other one for youHi streamwatcher2013.
I see...
Regex can load the list, but can't start the streaming...
Thanks anyway
<item>
<title> Drama (Chinese)</title>
<link>$doregex[makelist]</link>
<regex>
<name>makelist</name>
<listrepeat><![CDATA[
<title>[COLOR gold] [makelist.param2][/COLOR] [COLOR dodgerblue][makelist.param4][/COLOR]</title>
<link>$doregex[makelist2]</link>
<thumbnail>[makelist.param3]</thumbnail>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
import re,requests
def GetLSProData(page_data,Cookie_Jar,m):#streamwatcher2013
baseurl='http://kissdrama.club/browse/chinese/dramas/all/all/all/0/';startpage=1;tagurl=''
numregex='href="/browse.*?([1-9])">'+re.escape(tagurl)+'\n';dataregex='href="/(.*?)".title="(.*?)\s-.*?src="(.*?)".*\n.*"status">(.*?)<';furl=baseurl+str(startpage)+tagurl
source=requests.get(furl,headers={'User-Agent':'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0'}).text
data=[]
try:
last=sorted(map(int,re.findall(numregex, source)))[-1]
except:
last=9
while startpage <= last:
try:
furl=baseurl+str(startpage)+tagurl;source=requests.get(furl,headers={'User-Agent':'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0'}).text
lists=re.findall('class="grid">(?s)(.*?)class="paging"',source)[0].replace(''','\'');data += re.findall(dataregex,lists)
startpage += 1
except:
pass
return data
]]></expres>
<page></page>
<cookieJar></cookieJar>
</regex>
<regex>
<name>makelist2</name>
<listrepeat><![CDATA[
<title>[COLOR gold] [makelist.param2][/COLOR] [COLOR dodgerblue](Episode [makelist2.param2])[/COLOR]</title>
<link>$doregex[getUrl]</link>
<thumbnail>[makelist.param3]</thumbnail>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
import re
def GetLSProData(page_data,Cookie_Jar,m):#streamwatcher2013
return re.findall('"eps-left".*\n.*href="/(.*?(\d+))"',page_data)
]]></expres>
<page>http://kissdrama.club/[makelist.param1]</page>
<agent>Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0</agent>
<cookieJar></cookieJar>
</regex>
<regex>
<name>getUrl</name>
<expres><![CDATA[#$pyFunction
import re,requests
def GetLSProData(page_data,Cookie_Jar,m):#streamwatcher2013
url=re.findall('src="(http.*?embed.*?)"',page_data)[0];source=requests.get(url,headers={'User-Agent':'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0','Referer':'http://kissdrama.club/[makelist2.param1]','Accept':'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'}).text
link='http://hdfree.se'+re.findall('src="(.*?embed[^"]+)"',source)[0];headers={'User-Agent':'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0','Host':'hdfree.se','Referer':url,'Accept':'video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5'}
source=requests.get(link,headers=headers,allow_redirects=False);return source.headers['Location']
]]></expres>
<page>http://kissdrama.club/[makelist2.param1]</page>
<agent>Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0</agent>
<cookieJar></cookieJar>
</regex>
</item>
change the last regex to this code and check if urlresolver is installed :hi master,
anyone can check why the code not able to play the stream. im using latest lsp from gujal repo.
Code:<item> <title> Drama (Chinese)</title> <link>https://www.tvaddons.co/forums/$doregex[makelist]</link> <regex> <name>makelist</name> <listrepeat><=!=[=C=D=A=T=A=[ <title>[COLOR gold] [makelist.param2][/COLOR] [COLOR dodgerblue][makelist.param4][/COLOR]</title> <link>https://www.tvaddons.co/forums/$doregex[makelist2]</link> <thumbnail>[makelist.param3]</thumbnail> ]=]=></listrepeat> <expres><=!=[=C=D=A=T=A=[#$pyFunction import re,requests def GetLSProData(page_data,Cookie_Jar,m):#streamwatcher2013 baseurl='http://kissdrama.club/browse/chinese/dramas/all/all/all/0/';startpage=1;tagurl='' numregex='href="/browse.*?([1-9])">'+re.escape(tagurl)+'\n';dataregex='href="/(.*?)".title="(.*?)\s-.*?src="(.*?)".*\n.*"status">(.*?)<';furl=baseurl+str(startpage)+tagurl source=requests.get(furl,headers={'User-Agent':'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0'}).text data=[] try: last=sorted(map(int,re.findall(numregex, source)))[-1] except: last=9 while startpage <= last: try: furl=baseurl+str(startpage)+tagurl;source=requests.get(furl,headers={'User-Agent':'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0'}).text lists=re.findall('class="grid">(?s)(.*?)class="paging"',source)[0].replace(''','\'');data += re.findall(dataregex,lists) startpage += 1 except: pass return data ]=]=></expres> <page></page> <cookieJar></cookieJar> </regex> <regex> <name>makelist2</name> <listrepeat><=!=[=C=D=A=T=A=[ <title>[COLOR gold] [makelist.param2][/COLOR] [COLOR dodgerblue](Episode [makelist2.param2])[/COLOR]</title> <link>https://www.tvaddons.co/forums/$doregex[getUrl]</link> <thumbnail>[makelist.param3]</thumbnail> ]=]=></listrepeat> <expres><=!=[=C=D=A=T=A=[#$pyFunction import re def GetLSProData(page_data,Cookie_Jar,m):#streamwatcher2013 return re.findall('"eps-left".*\n.*href="/(.*?(\d+))"',page_data) ]=]=></expres> <page>http://kissdrama.club/[makelist.param1]</page> <agent>Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0</agent> <cookieJar></cookieJar> </regex> <regex> <name>getUrl</name> <expres><=!=[=C=D=A=T=A=[#$pyFunction import re,requests def GetLSProData(page_data,Cookie_Jar,m):#streamwatcher2013 url=re.findall('src="(http.*?embed.*?)"',page_data)[0];source=requests.get(url,headers={'User-Agent':'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0','Referer':'http://kissdrama.club/[makelist2.param1]','Accept':'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'}).text link='http://hdfree.se'+re.findall('src="(.*?embed[^"]+)"',source)[0];headers={'User-Agent':'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0','Host':'hdfree.se','Referer':url,'Accept':'video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5'} source=requests.get(link,headers=headers,allow_redirects=False);return source.headers['Location'] ]=]=></expres> <page>http://kissdrama.club/[makelist2.param1]</page> <agent>Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0</agent> <cookieJar></cookieJar> </regex> </item>
<regex>
<name>getUrl</name>
<expres><![CDATA[#$pyFunction
import re,requests , resolveurl , urlresolver
def GetLSProData(page_data,Cookie_Jar,m):#streamwatcher2013
url=re.findall('src="(http.*?embed.*?)"',page_data)[0]
source=requests.get(url,headers={'User-Agent':'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0',
'Referer':'http://kissdrama.club/[makelist2.param1]','Accept':'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'}).text
link='http://hdfree.se'+re.findall('src="(.*?embed[^"]+)"',source)[0]
headers={'User-Agent':'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0','Host':'hdfree.se','Referer':url,'Accept':'video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5'}
source=requests.get(link,headers=headers,allow_redirects=False)
url = source.headers['Location']
try :
u = resolveurl.resolve(url)
except : u = urlresolver.resolve(url)
return u
]]></expres>
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
P | Request someone can helpme please, a like have this regex to livestreampor pleas | Addon Requests | 0 | |
A | Need help with regex | Kodi Support | 2 | |
A | [help]Regex in Python | Kodi Support | 2 |