VideoHelp Forum
+ Reply to Thread
Results 1 to 1 of 1
Thread
  1. Hi, im new here.... someone can help me?

    im trying to use this site on kodi with livestreamplayer but im getting error;;;; someone can help me please??

    http://www.livrefilmeshd.net/

    My regex code:

    Code:
    <item>
    <title>http://www.livrefilmeshd.net/ | ResolverURL</title>
    <link>$doregex[makelist]</link>
    <regex>
    <name>makelist</name>
    <listrepeat><![CDATA[
      <title>[COLOR gold][makelist.param1][/COLOR] ([makelist.param2])</title>
      <link>$doregex[makelist2]</link>
      <thumbnail>[makelist.param4]</thumbnail>
    ]]></listrepeat>
    <expres><![CDATA[#$pyFunction
    import re,requests
    def GetLSProData(page_data,Cookie_Jar,m):#streamwatcher2013
      mdata=re.findall('class="toltips"><h3>(.*?)<.*?fa-calendar-alt.*?(\d+).*?fa-user".*?href="(.*?)".+?src="([^"]+)',re.findall('<ul id="posts">(?s)(.*?)(?:id="posts"|navigation)',page_data)[0])
      count=200;pn=2;data=[]
      while pn <= int(count):
        page='http://www.livrefilmeshd.net/page/'+str(pn)+'/';source=requests.get(page).content.decode('ascii','ignore')
        data +=re.findall('class="toltips"><h3>(.*?)<.*?fa-calendar-alt.*?(\d+).*?fa-user".*?href="(.*?)".+?src="([^"]+)',re.findall('<ul id="posts">(?s)(.*?)(?:id="posts"|navigation)',source)[0]);pn +=1
      return  mdata+data
    ]]></expres>
    <page>http://www.livrefilmeshd.net/</page>
    </regex>
    <regex>
    <name>makelist2</name>
    <listrepeat><![CDATA[
      <title>Server: [COLOR gold][makelist2.param2][/COLOR]</title>
      <urlsolve>[makelist2.param1]</urlsolve>
      <thumbnail>[makelist.param4]</thumbnail>
    ]]></listrepeat>
    <expres><![CDATA[#$pyFunction
    import re
    def GetLSProData(page_data,Cookie_Jar,m):#streamwatcher2013
      return re.findall('div><div.class="embed\d-play".*?data-src="(h.+?//(?:www.|)(.*?)\.[^"]+)',re.findall('class="player">(?s)(.*?)<ul',page_data)[0])
    ]]></expres>
    <page>[makelist.param3]</page>
    <referer>http://www.livrefilmeshd.net/</referer>
    </regex>
    </item>
    Last edited by hawkdown77; 24th Mar 2019 at 19:46.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!