Help for Regex Help for Regex - Page 79 | Kodi Forums
Page 79 of 79 FirstFirst ... 2969777879
Results 781 to 788 of 788

Thread: Help for Regex

  1. #781
    Junior Member
    Join Date
    May 2018
    Posts
    7
    streamwatcher2013 yes active on the site


    <item>
    <title>[COLOR white]TVA[/COLOR] [COLOR gold]Live[/COLOR]</title>
    <link>$doregex[url]|User-Agent=Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20100101 Firefox/14.0.1&amp;X-Forwarded-For=64.201.160.88</link>
    <thumbnail>https://cdn.one.accedo.tv/asset/file/596cc97723eec6000b4f0cf1</thumbnail>
    <regex>
    <name>url</name>
    <expres><![CDATA[#$pyFunction
    def GetLSProData(page_data,Cookie_Jar,m):
    import re, requests
    acc = re.findall('accountId":"([^"]+)',page_data)[0]
    vid = re.findall('assetId":"([^"]+)',page_data)[0]
    headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0',
    'X-Forwarded-For': '64.201.160.88',
    'Referer': 'https://videos.tva.ca/',
    'Origin': 'https://videos.tva.ca'}
    keyurl = 'https://players.brightcove.net/%s/default_default/index.min.js'%acc
    html = requests.get(keyurl,headers=headers).text
    pkey = re.findall('policyKey:"([^"]+)',html)[0]
    headers['Accept'] = 'application/json;pk=%s'%pkey
    url = 'https://edge.api.brightcove.com/playback/v1/accounts/%s/videos/%s'%(acc,vid)
    strurl = requests.get(url, headers=headers).json()['sources'][0]['src']
    return strurl
    ]]></expres>
    <page>https://videos.tva.ca/page/direct?clip=5972573923eec6000b4fe248</page>
    </regex>
    </item>


  2. #782
    Junior Member
    Join Date
    May 2018
    Posts
    9
    Can you help me do a regex for this site? hxxps://verpelis.info/

  3. #783
    Senior Member streamwatcher2013's Avatar
    Join Date
    Oct 2013
    Location
    USA
    Posts
    180
    Quote Originally Posted by regixman View Post
    streamwatcher2013 yes active on the site
    It has 2 versions. Pick either one you like

    Code:
    https://pastebin.com/raw/XBv2JyqN
    If you think my help is valuable, please donate to TV Addons. Your contribution is greatly appreciated.

  4. #784
    Junior Member
    Join Date
    Aug 2014
    Posts
    8
    hallo, can u plz halp me with makelist for this:
    Code:
    https://www.myfree-tivi.com/livetv
    thanx

  5. #785
    Junior Member
    Join Date
    May 2018
    Posts
    7
    Noslomp myfree-tivi
    https://pastebin.com/siqSikJb valid 24h txt link
    replace 5D=????? line 37 username password of the site.
    Last edited by regixman; Today at 01:11 AM.

  6. #786
    Junior Member
    Join Date
    May 2018
    Posts
    7

    Tva

    thank you very much streamwatcher2013

  7. #787
    Junior Member sakarya's Avatar
    Join Date
    Apr 2016
    Posts
    6
    thanks. i understand you but the code dont work.


    Quote Originally Posted by streamwatcher2013 View Post
    Actually It was my code for the other series with over 150 episodes. When you guys copied and pasted it, the Forum will changed it format

    Try this. Right now the series only has 54 episodes. And my code set it for 100. If it gains more than 100 episodes then just increase the number on the 'count':'100'

    Code:
    https://pastebin.com/raw/Kuh9SRQ7

  8. #788
    Junior Member
    Join Date
    Sep 2015
    Posts
    4
    hi , anyone can help for regex this site please ?
    Code:
    hxxp://quartztv.ga/tv/discoveryscience.php
    thank you !

Page 79 of 79 FirstFirst ... 2969777879

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •