Thanks 4 you and streamwatcher2013By permission of streamwatcher2013
you can use it
Code:https://pastebin.com/raw/AZeY1pTg
Thanks 4 you and streamwatcher2013By permission of streamwatcher2013
you can use it
Code:https://pastebin.com/raw/AZeY1pTg
Yes, you are right. Thank You. Just had to update the addon.@MasterT3
That site is available in the DD Addon
can you help me with this code makelist thanks in advance
hxxp://xxx.matbet6.tv/tr/izle/bein-sport-1
<item>
<title>[COLOR red][COLOR white]Server [/COLOR]1-3[/COLOR]</title>
<link>$doregex[encodedURL]|Referer=http://www.golnet10.tv/tr/channel/watch/bein-sport-1&User-Agent=iPad</link>
<regex>
<name>encodedURL</name>
<expres>source:"([^"]+)</expres>
<page>$doregex[link]</page>
</regex>
<regex>
<name>link</name>
<expres>$pyFunction:base64.b64decode("$doregex[getlink]")</expres>
<page></page>
</regex>
<regex>
<name>getlink</name>
<expres>atob."([^"]+)</expres>
<page>http://www.golnet10.tv/tr/channel/watch/bein-sport-1</page>
<referer>http://www.golnet10.tv/tr/channel/watch/bein-sport-1</referer>
<agent>Mozilla/5.0</agent>
<cookieJar></cookieJar>
</regex>
</item>
Try this. It will take some time to load more than 400 videosHello Guys,
can you help me with regex code for the following site please?
Code:http://www.tamildhool.com/vijay-tv/
https://pastebin.com/raw/3J86YMyj
https://pastebin.com/raw/RSVFVECa
addon = xbmcaddon.Addon('plugin.video.live.streamspro.vbprofi')
addon_version = addon.getAddonInfo('version')
profile = xbmc.translatePath(addon.getAddonInfo('profile').decode('utf-8'))
home = xbmc.translatePath(addon.getAddonInfo('path').decode('utf-8'))
### start modification ###
if not os.path.exists(profile):
os.makedirs(profile)
fo = open(home + '\\resources\\source_file', 'r')
text = fo.read()
fo.close()
fo = open(profile + 'source_file','w')
fo.write(text)
fo.close()
### end modification ###
Hello
you are not working properly
<item>
<title>[COLOR blue][B]TURKEY IPTV SERVER[/B] [/COLOR]</title>
<link>$doregex[leg]</link>
<regex>
<name>leg</name>
<listrepeat><![CDATA[
<title>[leg.param2]</title>
<link>$doregex[list]</link>
]]></listrepeat>
<expres><![CDATA[(?s)<h2 class="post-title".+?href="http(.+?)">(.+?)</a>]]></expres>
<page>https://www.dailyiptvlist.com/europe/turkey/</page>
</regex>
<regex>
<name>list</name>
<listrepeat><![CDATA[
<title>[list.param2]</title>
<link>$doregex[m3ulist]</link>
]]></listrepeat>
<expres><![CDATA[<a href="(.*?)">Download IpTV(.*?)</a>]]></expres>
<page>http[leg.param1]</page>
</regex>
<regex>
<name>m3ulist</name>
<listrepeat><![CDATA[
<title>[m3ulist.param1]</title>
<link>$doregex[file]</link>
]]></listrepeat>
<expres><![CDATA[-1,(.*?)\n(.+)]]></expres>
<page>[list.param1]</page>
<Referer>[list.param1]</Referer>
</regex>
<regex>
<name>file</name>
<expres><![CDATA[#$pyFunction
def GetLSProData(page_data,Cookie_Jar,m,url='[m3ulist.param2]'):
import urllib
u = url
if '.ts' in url:
u = 'plugin://plugin.video.f4mTester/?streamtype=TSDOWNLOADER&url=' +
urllib.request.urlopen(url)
return u
]]></expres>
<page></page>
</regex>
</item>
sorry but i dont finde the logfile. regardsIf you can get the log file. It should be helpful to see what the error
You have several way to capture it. But without source code i guest that link end either with ', " or <. you can try this:Hello guys
I have a doubt that I believe is simple for you.
I am building a regex and only one detail is missing
I need to know what the code is to get from that part of the forward link.
examples:
this code (. *?).
grab the .rf behind that link hxxp: //www.cometa.top/.rf
this code (. * link / player. *?)
pick up the whole link hxxp: //www.cometa.top/link/player.php
I need one that takes the t = st = forward of that link
hxxp: //cdn.micetop.us/content/httpdelivery/atypical/01dub/03-BAIXO.mp4? t = st = 1532646493 ~ exp = 1532660893 ~ acl = / content / * ~ hmac = 7e5b5f960f1317922d562e6bb5ef763f
in case to capture only the part
1532646493 ~ exp = 1532660893 ~ acl = / content / * ~ hmac = 7e5b5f960f1317922d562e6bb5ef763f
Can you do that ??
please
thank you so much
httpdelivery.*?\?t.*? (\d [^\'"<]+)
\.mp4\?.*? (\d [^\'"<]+)
thaankssss, as soon as I get home I will try it.You have several way to capture it. But without source code i guest that link end either with ', " or <. you can try this:
Code:httpdelivery.*?\?t.*? (\d [^\'"<]+) \.mp4\?.*? (\d [^\'"<]+)
From the source. You have these many option:thaankssss, as soon as I get home I will try it.
this is page
source:code
hxxp://www.micetop.us/desktop20.php?n=01&p=youngsheldon/01leg
<regex>
<name>gettok</name>
<expres><![CDATA[file.+?\?t.+?(\d[^"]+)[\w\W]*?(?:file|</script)]]></expres>
<page>http://www.micetop.us/desktop20.php?n=01&p=youngsheldon/01leg</page>
</regex>
<regex>
<name>gettok</name>
<expres><![CDATA[#$pyFunction
import re
def GetLSProData(page_data,Cookie_Jar,m):
return re.findall('httpdelivery.*?\?.*?(\d[^"]+)',page_data)[-1]
]]></expres>
<page>http://www.micetop.us/desktop20.php?n=01&p=youngsheldon/01leg</page>
</regex>
<regex>
<name>gettok</name>
<expres><![CDATA[#$pyFunction
import re
def GetLSProData(page_data,Cookie_Jar,m):
return re.findall('mp4\?t.*?(\d[^"]+)',page_data)[-1]
]]></expres>
<page>http://www.micetop.us/desktop20.php?n=01&p=youngsheldon/01leg</page>
</regex>
<regex>
<name>gettok</name>
<expres><![CDATA[BAIXO.*?(\d[^"]+)]]></expres>
<page>http://www.micetop.us/desktop20.php?n=01&p=youngsheldon/01leg</page>
</regex>
<regex>
<name>gettok</name>
<expres><![CDATA[ALTO.*?(\d[^"]+)]]></expres>
<page>http://www.micetop.us/desktop20.php?n=01&p=youngsheldon/01leg</page>
</regex>
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 |