Hay un addon funcionando muy bien ------->htxxp://dom.vizavi.pl/kodi/Hi guys
you could help me with regex of this site:
thanksCode:hxxp://sport-stream365.com/football
ich habe den Anfang für einen Kanal gemacht... I hope, someone can complete that code. The second part of regex is not working.oder der hie hxxpwww.tvyayinakisi.com/
<item>
<title>$doregex[getCname]</title>
<link>$doregex[program]</link>
<regex>
<name>program</name>
<listrepeat><![CDATA[
<title>[COLOR cyan] [program.param2][program.param1][/COLOR]</title>
<link>ignoreme</link>
<thumbnail>[program.param2]</thumbnail>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
def GetLSProData(page_data,Cookie_Jar,m):
import re
return re.findall('two columns time" title="(.*?)".+\n.+?<div.+?ten columns">(.*?)</div',page_data)
]]></expres>
<page>hxxp://www.tvyayinakisi.com/kanal-d-tv</page>
</regex>
<regex>
<name>getCname</name>
<expres><![CDATA[<h1>(.*)</h1>]]></expres>
<page>hxxp://www.tvyayinakisi.com/kanal-d-tv</page>
</regex>
</item>
Nicht so sicher, was genau du auf dieser Seite willst. Es zeigt nur den Zeitplan ohne abspielbare Streams. Möchten Sie die Zeitplanliste? Jedenfalls funktioniert sein Code nichtkann jemand helfden um deb code zum starten zu bekommen von vp profi
<item>
<title>Tv Yayın Akışı Schedule</title>
<link>$doregex[program]</link>
<regex>
<name>program</name>
<listrepeat><![CDATA[
<title>[COLOR cyan] [program.param2][/COLOR]</title>
<link>$doregex[getCname]</link>
<thumbnail>http://www.tvyayinakisi.com/[program.param3]</thumbnail>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
import re
def GetLSProData(page_data,Cookie_Jar,m):
list=re.findall('class="row.all-channels">(?s)(.*?)class="row',page_data)[0]
return re.findall('href="(.*?)".title="(.*?)".*?src="(.*?)"',list)
]]></expres>
<page>http://www.tvyayinakisi.com/</page>
</regex>
<regex>
<name>getCname</name>
<listrepeat><![CDATA[
<title> ([getCname.param1])[COLOR cyan] [getCname.param2][/COLOR]</title>
<link>ignore</link>
<thumbnail>http://www.tvyayinakisi.com/[program.param3]</thumbnail>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
import re
def GetLSProData(page_data,Cookie_Jar,m):
list=re.findall('"row shadow-upward view">(?s)(.*?)shadow-left',page_data)[0].replace(''','\'')
if 'row date' in list:
return re.findall('>(\d+:\d+)<.*\n.*>(.*?)<',list)
elif 'row date' not in list:
return re.findall('class="date">(.*?)\s-\s(.*?)<',list)
]]></expres>
<page>http://www.tvyayinakisi.com/[program.param1]</page>
</regex>
<thumbnail>http://www.tvyayinakisi.com/images/logo2.png</thumbnail>
</item>
Nicht so sicher, was genau du auf dieser Seite willst. Es zeigt nur den Zeitplan ohne abspielbare Streams. Möchten Sie die Zeitplanliste? Jedenfalls funktioniert sein Code nicht
Not so sure exactly what do you want on this site. It shows only the schedule without playable streams. Do you want the schedule list? Anyway his code does not working
hxxp://www.digiturk.com.tr/yayin-akisi
Do you want the schedule as well?Hi, yea I think he wants the schedule regex... do you think that it is possible this
Code:hxxp://www.digiturk.com.tr/yayin-akisi
Do you want the schedule as well?
Be carefully when you do copy and paste. Prove it works with photosya wants to see only the schedule so tv program thanks streamwatcher but the code does not work for me?
Check the code again. when I posted it change ' to '. That why it will not runya wants to see only the schedule so tv program thanks streamwatcher but the code does not work for me?
Try thisYes that would be great streamwatcher2013
<item>
<title>http://www.digiturk.com.tr/yayin-akisiı Schedule</title>
<link>$doregex[makelist]</link>
<regex>
<name>makelist</name>
<listrepeat><![CDATA[
<title>[COLOR cyan] [makelist.param1][/COLOR]</title>
<link>$doregex[makelist2]</link>
<thumbnail>http://contentlibrary.digiturk.com.tr/Channel/[makelist.param3]/Image/[makelist.param2]</thumbnail>
]]></listrepeat>
<expres><![CDATA[Title":"(.*?)".*?FileName":"(.*?)".*?"Id":(\d+)]]></expres>
<page>http://www.digiturk.com.tr/yayin-akisi/api/kanal/index/</page>
</regex>
<regex>
<name>makelist2</name>
<listrepeat><![CDATA[
<title>[COLOR cyan] [makelist2.param1][/COLOR]</title>
<link>$doregex[makelist3]</link>
<thumbnail>http://www.tvyayinakisi.com/[program.param3]</thumbnail>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
import re
def GetLSProData(page_data,Cookie_Jar,m):
list=re.findall('id="results-outer">(?s)(.*)',page_data)[0].replace('Ç','Ç').replace('ü','ü').replace('Ö','Ö')
return re.findall('<h2>(.*?)</h2>(?s)(.*?)</ul',list)
]]></expres>
<page>http://www.digiturk.com.tr/yayin-akisi/api/kanal/liste/[makelist.param3]</page>
</regex>
<regex>
<name>makelist3</name>
<listrepeat><![CDATA[
<title> ([makelist3.param3])[COLOR cyan] [makelist3.param2][/COLOR]</title>
<link>$doregex[makelist4]</link>
<thumbnail>http://www.tvyayinakisi.com/[program.param3]</thumbnail>
]]></listrepeat>
<expres><![CDATA[href="./(\w.*?)"[\w\W\s]*?channel-name.*?>(.*?)<[\w\W\s]*?datetime.*?>(\d+:\d+)]]></expres>
<page>[makelist2.param2]</page>
</regex>
<regex>
<name>makelist4</name>
<listrepeat><![CDATA[
<title> ([makelist4.param2])[COLOR cyan] [makelist4.param1][/COLOR]</title>
<link>https://tvrehberi.digiturk.com.tr/memberfeatures/recordProgram.aspx?BroadcastID=[makelist4.param3]&operation=record</link>
<thumbnail>http://www.tvyayinakisi.com/[program.param3]</thumbnail>
]]></listrepeat>
<expres><![CDATA["day">(\d.*?)<.*\n.*>(\d+:\d+)[\w\W\s]*?data-broadcastid="(.*?)"]]></expres>
<page>http://www.digiturk.com.tr/yayin-akisi/api/[makelist3.param1]</page>
</regex>
<thumbnail>http://www.digiturk.com.tr/App_Themes/Basic/image/Logo-bein.png</thumbnail>
</item>
change the line in addon.xml file of LSP to correct urlresolver instead of resolveurlI have update LSP to be 2.8.2 the UrlResolver play is fail. must be back to 2.8.1 is working. Please help me checked for UrlResolver play.
Thanks.
<import addon="script.module.urlresolver" optional="true" />
Is OK........many thanks.change the line in addon.xml file of LSP to correct urlresolver instead of resolveurl
Code:<import addon="script.module.urlresolver" optional="true" />
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 |