TOOLSP
"
WELCOME !

Please ! Use [CODE] tags for your LINKS and CODE.
Favor usar balisas [CODE] para sus vínculos y código.
Merci d'utiliser les balises [CODE] pour vos liens et code.

[code]http://Thank.you[/code]
"
*** GITHUB ***
.
.
URL Resolver [GIT]
.
.
.
.
Jx Update [REDIRECT]
.
.
*** Associated ***
.
Pastebin Your list online
.
mediafire Upload Files
.
imgur Upload Pics
lyngsat TV logos collection
transparent .png
.
http://hola.org free? VPN
Hola.apk free? VPN App.
.
hidester- free Proxy
.
webgrabplus EPG - Eng
xmltv EPG - Fr
kazer EPG - Fr
.
.wordreference Traduction
.
mail.com (fast sign-in)
.
.
Latest topics
» stop working
Sun 13 Aug - 5:40 by geetee

» firstone.tv regex help
Sat 5 Aug - 4:50 by geetee

» Afromotion
Wed 2 Aug - 12:58 by Sylphilds

» Ayuda con regex
Tue 1 Aug - 17:39 by valent_0687

» play facebook live video in £$π Kodi
Thu 27 Jul - 13:19 by samueljones1

» how to "extract the link" from an ADF.LY ?
Tue 25 Jul - 20:02 by jujuuj

» some help with vaughn
Sat 22 Jul - 18:04 by adrianhn

Friends / Partners

créer un forum


stop working

View previous topic View next topic Go down

stop working

Post by suport on Wed 2 Aug - 3:16

hi to all members can some one take a look to this regex to see if it can be fix
like all ways yhanks for all your help

Code:
<item>
<title>Ustreamix.com usa</title>
<link>$doregex[makelist]</link>
<regex>
<name>makelist</name>
<listrepeat><![CDATA[
  <title>[COLOR yellow][makelist.param2][/COLOR] [COLOR dodgerblue]([makelist.param3])[/COLOR]</title>
<link>$doregex[getUrl]|User-Agent=iPad</link>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
import re, requests
def GetLSProData(page_data,Cookie_Jar,m):
 headers = {'User-Agent': 'Mozilla/5.0 (X11; Linux i686; rv:44.0) Gecko/20100101 Firefox/44.0 Iceweasel/44.0'}
 data = []
 sites = ['http://v2.ustreamix.com/cr.php?q=usa', 'http://v2.ustreamix.com/cr.php?q=sports', 'http://v2.ustreamix.com/cr.php?q=caribbean']

 for site in sites:
    source = requests.get(site, headers=headers).text
    data += re.findall('(?s)<p><a href="(.*?)".*?blank">(.*?)\s*<.*?live">(.*?)<', source)
 return data
]]></expres>
<page></page>
</regex>


<regex>
<name>getUrl</name>
<expres><![CDATA[#$pyFunction
import re, requests
def GetLSProData(page_data,Cookie_Jar,m,):
  first_ip = re.findall("x_first_ip.+?'(.*?)'", page_data)[0]
  first_c = re.findall("x_first_c.+?'(.*?)'", page_data)[0]
  ket2 = re.findall("ket2.+?'(.*?)'", page_data)[0]
  first_ua = re.findall("x_first_ua.+?'(.*?)'", page_data)[0]
  preurl = 'http://wakwaw2.ga/'  # here is the server url which changed most of time
  url = preurl + 'stats.php?q=usa' + first_ip + '&C=' + first_c + '&Ket=' + ket2
  source = requests.get(url, headers = {'Referer': 'http://v2.ustreamix.com/
[makelist.param1]', 'User-Agent': first_ua, 'Accept': '*/*'}).text
  tok = re.findall('var jdtk="(.*?)"', source)[0]
  return preurl + 'tmg.m3u8?' + '[makelist.param1]' + '&token=' + tok
]]></expres>
<page>http://v2.ustreamix.com/
[makelist.param1]</page>
<agent>Mozilla/5.0 (X11; Linux i686; rv:44.0) Gecko/20100101 Firefox/44.0 Iceweasel/44.0</agent>
<cookieJar></cookieJar>
</regex>
</item>

suport

Messages : 4
Date d'inscription : 2017-07-10

View user profile

Back to top Go down

Re: stop working

Post by makal on Wed 2 Aug - 4:00

suport wrote:hi to all members can some one take a look to this regex to see if it can be fix
like all ways yhanks for all your help

Code:
<item>
<title>Ustreamix.com usa</title>
<link>$doregex[makelist]</link>
<regex>
<name>makelist</name>
<listrepeat><![CDATA[
  <title>[COLOR yellow][makelist.param2][/COLOR] [COLOR dodgerblue]([makelist.param3])[/COLOR]</title>
<link>$doregex[getUrl]|User-Agent=iPad</link>
]]></listrepeat>
<expres><![CDATA[#$pyFunction
import re, requests
def GetLSProData(page_data,Cookie_Jar,m):
 headers = {'User-Agent': 'Mozilla/5.0 (X11; Linux i686; rv:44.0) Gecko/20100101 Firefox/44.0 Iceweasel/44.0'}
 data = []
 sites = ['http://v2.ustreamix.com/cr.php?q=usa', 'http://v2.ustreamix.com/cr.php?q=sports', 'http://v2.ustreamix.com/cr.php?q=caribbean']

 for site in sites:
    source = requests.get(site, headers=headers).text
    data += re.findall('(?s)<p><a href="(.*?)".*?blank">(.*?)\s*<.*?live">(.*?)<', source)
 return data
]]></expres>
<page></page>
</regex>


<regex>
<name>getUrl</name>
<expres><![CDATA[#$pyFunction
import re, requests
def GetLSProData(page_data,Cookie_Jar,m,):
  first_ip = re.findall("x_first_ip.+?'(.*?)'", page_data)[0]
  first_c = re.findall("x_first_c.+?'(.*?)'", page_data)[0]
  ket2 = re.findall("ket2.+?'(.*?)'", page_data)[0]
  first_ua = re.findall("x_first_ua.+?'(.*?)'", page_data)[0]
  preurl = 'http://wakwaw2.ga/'  # here is the server url which changed most of time
  url = preurl + 'stats.php?q=usa' + first_ip + '&C=' + first_c + '&Ket=' + ket2
  source = requests.get(url, headers = {'Referer': 'http://v2.ustreamix.com/
[makelist.param1]', 'User-Agent': first_ua, 'Accept': '*/*'}).text
  tok = re.findall('var jdtk="(.*?)"', source)[0]
  return preurl + 'tmg.m3u8?' + '[makelist.param1]' + '&token=' + tok
]]></expres>
<page>http://v2.ustreamix.com/
[makelist.param1]</page>
<agent>Mozilla/5.0 (X11; Linux i686; rv:44.0) Gecko/20100101 Firefox/44.0 Iceweasel/44.0</agent>
<cookieJar></cookieJar>
</regex>
</item>

Change this
Code:
preurl = 'http://wakwaw2.ga/'
for this
Code:
preurl = 'http://tmg.ustreamix.com/'
avatar
makal

Messages : 9
Date d'inscription : 2017-06-14
Localisation : USA

View user profile

Back to top Go down

Re: stop working

Post by suport on Wed 2 Aug - 22:03

thank you makal it is great to see you here

suport

Messages : 4
Date d'inscription : 2017-07-10

View user profile

Back to top Go down

Re: stop working

Post by goten on Fri 11 Aug - 16:30

is this still can be used?

goten

Messages : 2
Date d'inscription : 2017-08-01

View user profile

Back to top Go down

Re: stop working

Post by makal on Sat 12 Aug - 8:24

goten wrote:is this still can be used?

You have to make some changes to make the code work again
avatar
makal

Messages : 9
Date d'inscription : 2017-06-14
Localisation : USA

View user profile

Back to top Go down

Re: stop working

Post by goten on Sat 12 Aug - 9:56

makal wrote:
goten wrote:is this still can be used?

You have to make some changes to make the code work again

may i know which part? i already change this, still not working

Code:
preurl = 'http://tmg.ustreamix.com/'

goten

Messages : 2
Date d'inscription : 2017-08-01

View user profile

Back to top Go down

Re: stop working

Post by makal on Sun 13 Aug - 0:19

goten wrote:
makal wrote:
goten wrote:is this still can be used?

You have to make some changes to make the code work again

may i know which part? i already change this, still not working

Code:
preurl = 'http://tmg.ustreamix.com/'

Check your inbox!!
avatar
makal

Messages : 9
Date d'inscription : 2017-06-14
Localisation : USA

View user profile

Back to top Go down

Re: stop working

Post by geetee on Sun 13 Aug - 5:40

is there a fix for ustreamix?

geetee

Messages : 7
Date d'inscription : 2017-05-28

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum