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]
"
*** Doc. Kodi & PYthon ***
.
.
Python & Modules PY
.
.
.
.
(Video) Cache Kodi
.
.
.
Addons Kodi
.
.
.
Addons Kodi
.
.
*** GITHUB ***
.
.
URLresolver (J.S.) [GIT] +
.
.
.
URLresolver (elD.) [GIT] -
.
.
URLresolver (tvA.) [GIT] -
.
.
.
.
Cloudflare (external) [GIT]
.
.
.
*** 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)
.
.
FRIENDS / PARTNERS

£$π community

créer un forum


help rgx bro.adcast

Go down

help rgx bro.adcast

Post by jujuuj on Wed 14 Feb - 0:45

hello,

Anyone has a new <regex>bro.ad.cast  ?? please   (it changed few days ago ...)

(I can send the old one by PM)
avatar
jujuuj

Messages : 187
Date d'inscription : 2017-03-28

View user profile

Back to top Go down

Re: help rgx bro.adcast

Post by makal on Wed 14 Feb - 2:39

jujuuj wrote:hello,

Anyone has a new <regex>bro.ad.cast  ?? please   (it changed few days ago ...)

(I can send the old one by PM)

check your email
avatar
makal

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

View user profile

Back to top Go down

Re: help rgx bro.adcast

Post by sesame on Fri 16 Feb - 11:38

@makal @jujuuj
Can you PM me the regex of bro.ad.cast please
Thanks in advance

sesame

Messages : 9
Date d'inscription : 2017-12-15

View user profile

Back to top Go down

Re: help rgx bro.adcast

Post by jujuuj on Thu 1 Mar - 17:37


no way to make it work ... sorry Sad

(and .. it was not mine ... you know)
avatar
jujuuj

Messages : 187
Date d'inscription : 2017-03-28

View user profile

Back to top Go down

Re: help rgx bro.adcast

Post by Goldonx on Thu 1 Mar - 22:53

how not !? Here

Code:
<item>
<title>Test bro.adca.st</title>
<link>$doregex[url]</link>
<regex>
<name>url</name>
<expres><![CDATA[#$pyFunction
def GetLSProData(page_data,Cookie_Jar,m):
  import requests
  import re
  import base64

  id = re.findall("javascript.*?id='(.*?)'", page_data)[0]
  url = 'http://bro.adca.st/stream.php?id=' + id + '&p=1&c=0&stretching=uniform&old=0'
  headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 10; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.119 Safari/537.36', 'Referer': 'http://wizhdsports.fi'}
  source = requests.get(url, headers = headers)
  furl = re.search(r'(?s)tambor\s*=\s*"(.*?)".+?firme\s*=\s*"(.*?)"', source.text)
  file = furl.group(1)
  tokfile = furl.group(2)
  tokurl = 'http://bro.adca.st'+tokfile
  headers2 = {'User-Agent': 'Mozilla/5.0 (Windows NT 10; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.119 Safari/537.36', 'Referer': url, 'X-Requested-With': 'XMLHttpRequest'}
  source2 = requests.get(tokurl, headers = headers2)
  token = re.findall('"rumba":"(.*?)"', source2.text)[0]
  return file + token + '|Referer=' + url +'&User-Agent=Mozilla/5.0 (Windows NT 10; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.119 Safari/537.36'
]]></expres>
<page>http://wizhdsports.fi/live/stream10.html</page>
<referer>http://wizhdsports.fi</referer>
</regex>
</item>

I tested it with a working wizhdsports link that it uses bro.adca.st as  player

Goldonx

Messages : 9
Date d'inscription : 2018-02-11

View user profile

Back to top Go down

Re: help rgx bro.adcast

Post by efradncr on Thu 1 Mar - 23:20

Excelente aporte Goldonx, funciona perfecto!

efradncr

Messages : 27
Date d'inscription : 2018-02-02

View user profile

Back to top Go down

Re: help rgx bro.adcast

Post by sesame on Fri 2 Mar - 10:47

Thanks Goldonx. Your regex works perfectly.
It works also now with SD because of the good job of Jairoxyz

sesame

Messages : 9
Date d'inscription : 2017-12-15

View user profile

Back to top Go down

Re: help rgx bro.adcast

Post by jujuuj on Sun 4 Mar - 21:40

Thank you sir Goldonx,

I liked the .group(1) function,
thanks for the lesson, and the link
avatar
jujuuj

Messages : 187
Date d'inscription : 2017-03-28

View user profile

Back to top Go down

Re: help rgx bro.adcast

Post by jujuuj on Mon 5 Mar - 13:45

Goldonx wrote:how not !? Here
...
I tested it with a working wizhdsports link that it uses bro.adca.st as  player

Works also with <page>http://www.streamfoot.co/stream/ch7.php  and  'Referer': 'http://www.streamfoot.co'   ... Regards
EDIT :  for streamfoot.co ,
id = re.findall('src="http.*?\.php\?file=([^&]+)&[^"]+"', page_data)[0]


Last edited by jujuuj on Tue 6 Mar - 14:56; edited 1 time in total (Reason for editing : error)
avatar
jujuuj

Messages : 187
Date d'inscription : 2017-03-28

View user profile

Back to top Go down

Re: help rgx bro.adcast

Post by solved on Mon 5 Mar - 14:23

Nice one Goldonx ...

SOLVED

solved

Messages : 53
Date d'inscription : 2017-06-27

View user profile

Back to top Go down

Re: help rgx bro.adcast

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


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