<item>
<title>televisiongratishd</title>
<link>$doregex[makelist]</link>
<thumbnail></thumbnail>
<regex>
<name>makelist</name>
<listrepeat><![CDATA[
<title>[COLOR gold][makelist.param2][/COLOR]</title>
<link>$doregex[getM3U8]</link>
<thumbnail>[makelist.param3]</thumbnail>
<fanart>
https://3.bp.blogspot.com/-HG6MRbQMVFE/XFLv7CmQcKI/AAAAAAAAB90/HsBpbI_OEOURxauXB8gWJUwrB4vyYHQfACEwYBhgL/s1600/maxresdefault.jpg</fanart>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
import re
def GetLSProData(page_data,Cookie_Jar,m):#streamwatcher2013
return re.findall('href="([^"]+).*?alt="([^"]+)\s*en.+?src="([^"]+)',re.findall('channelstv.>(?s)(.*?)desde este lugar',page_data)[0])
]]></expres>
<page>
https://www.televisiongratishd.com/parrilla-gratis.html</page>
</regex>
<regex>
<name>getM3U8</name>
<expres><![CDATA[#$pyFunction
import re,requests
def GetLSProData(page_data,Cookie_Jar,m):#streamwatcher2013
link=re.findall('(?:href|src)="(.*?/live[^#"]+)',page_data)[0]
source=requests.get(link,headers={'user-agent':'Mozilla/5.0','referer':'[makelist.param1]'}).content
stream=re.findall('(?:href|src)="(.*?/live[^#]+)',source)[0]
source = requests.get(stream,headers={'user-agent':'Mozilla/5.0','referer':'[makelist.param1]'}).content
return re.findall('id=.player[\w\W]*?(?:source|src|file):.+?[\'"]([^\'"]+)',source)[0]+'|user-agent=ipad&referer='+stream
]]></expres>
<page>[makelist.param1]</page>
</regex>
</item>