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


TV5 monde Europe

Go down

TV5 monde Europe Empty TV5 monde Europe

Post by Sylphilds on Mon 29 Apr - 8:19

Hi
can someone can help and make regex for
Code:
http://live.tv5monde.com/europe.html
available in UK only perhaps need proxy

thanks in advance

Sylphilds

Messages : 34
Date d'inscription : 2017-04-17

View user profile

Back to top Go down

TV5 monde Europe Empty Re: TV5 monde Europe

Post by Goldonx on Wed 1 May - 22:52

Here
Code:
<item>
<title>tv5monde</title>
<link>$doregex[url]</link>
<regex>
<name>url</name>
<expres><![CDATA[#$pyFunction
def GetLSProData(page_data,Cookie_Jar,m):
  import re,requests
  ua='Mozilla/5.0 (Windows NT 10; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36'
  url=re.findall('"url":"([^"]+)',page_data)[0].replace('\\','')
  return url+'|'+ua
]]></expres>
<page>http://live.tv5monde.com/europe.html</page>
<agent>Mozilla/5.0 (Windows NT 10; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36</agent>
</regex>
</item>

Goldonx

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

View user profile

Back to top Go down

TV5 monde Europe Empty Re: TV5 monde Europe

Post by Sylphilds on Thu 2 May - 8:20

thanks Goldonx ! can you tell me how to add proxy in the code?

Sylphilds

Messages : 34
Date d'inscription : 2017-04-17

View user profile

Back to top Go down

TV5 monde Europe Empty Re: TV5 monde Europe

Post by Goldonx on Thu 2 May - 15:37

In regex you have to add
Code:
<proxy>11.11.11.111:1111</proxy>

or if you have a proxy that requires authentication

Code:
<proxy>user:password@11.11.11.111:1111</proxy>

You have to add proxy in the url stream too in this way:
Code:
$PLAYERPROXY$=11.11.11.111:1111

Code:
<item>
<title>tv5monde</title>
<link>$doregex[url]</link>
<regex>
<name>url</name>
<expres><![CDATA[#$pyFunction
def GetLSProData(page_data,Cookie_Jar,m):
  import re,requests
  ua='Mozilla/5.0 (Windows NT 10; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36'
  url=re.findall('"url":"([^"]+)',page_data)[0].replace('\\','')
  return url+'|User-Agent='+ua+'$PLAYERPROXY$=11.11.11.111:1111'
]]></expres>
<page>http://live.tv5monde.com/europe.html</page>
<agent>Mozilla/5.0 (Windows NT 10; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36</agent>
<proxy>11.11.11.111:1111</proxy>
</regex>
</item>

Use the proxy if you have a really good one, otherwise use a vpn that is better


Last edited by Goldonx on Sat 4 May - 10:27; edited 1 time in total

Goldonx

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

View user profile

Back to top Go down

TV5 monde Europe Empty Re: TV5 monde Europe

Post by Sylphilds on Sat 4 May - 4:18

thanks for your help Goldonx

Sylphilds

Messages : 34
Date d'inscription : 2017-04-17

View user profile

Back to top Go down

TV5 monde Europe Empty Re: TV5 monde Europe

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