VideoHelp Forum




+ Reply to Thread
Results 1 to 11 of 11
  1. How to remove disable-devtool
    Code:
    https://tv0800.com/canais/assistir-combate-online-ao-vivo-gratis/
    be able to use developer tool
    Quote Quote  
  2. you can't. use external sniffer like HTTPDebuggerPro or httptoolnix or ext like HTTP Header Live (for FF)
    Quote Quote  
  3. some channel work some not...

    Image
    [Attachment 72784 - Click to enlarge]


    Code:
    import re
    
    print('\ntest link: https://tv0800.com/canais/assistir-red-bull-tv-online-ao-vivo-gratis/\ntest link: https://tv0800.com/canais/assistir-combate-online-ao-vivo-gratis/\n')
    
    link = input('link: ')
    
    import requests
    
    headers = {
        'authority': 'tv0800.com',
        'content-type': 'application/x-www-form-urlencoded; charset=UTF-8',
        'origin': 'https://tv0800.com',
        'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36',
    }
    
    response = requests.post(link, headers=headers).text
    
    postId = re.findall(r'\"postId\":\"(.*?)\"', response)[0].strip()
    print(postId)
    
    ########################
    
    import requests
    
    headers1 = {
        'authority': 'tv0800.com',
        'content-type': 'application/x-www-form-urlencoded; charset=UTF-8',
        'origin': 'https://tv0800.com',
        'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36',
        'x-requested-with': 'XMLHttpRequest',
    }
    
    data1 = {
        'action': 'doo_player_ajax',
        'post': str(postId),
        'nume': '2',
        'type': 'movie',
    }
    
    response1 = requests.post('https://tv0800.com/wp-admin/admin-ajax.php', headers=headers1, data=data1).json()
    print(f'response1:\n{response1}\n')
    
    embed_url = response1['embed_url']
    
    print(f'\nembed_url: {embed_url}\n')
    
    ##############
    
    import requests
    
    headers2 = {
        'authority': 'playertv.net',
        'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8',
        'referer': 'https://tv0800.com/',
        'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36',
    }
    
    response2 = requests.get(embed_url, headers=headers2).text
    
    try:
        m3u8 = re.findall(r'file\":\"(http.*?)\"', response2)[0].strip()
        m3u8 = re.sub(r'\\', r'', m3u8)
    except IndexError:    
        m3u8 = re.findall(r'(http.*m3u8.*token.*)&', response2)[0].strip()
    
    print(f'm3u8:\n{m3u8}\n')
    Quote Quote  
  4. Originally Posted by lomero View Post
    you can't. use external sniffer like HTTPDebuggerPro or httptoolnix or ext like HTTP Header Live (for FF)
    thank you lomero
    Quote Quote  
  5. Originally Posted by sk8ordi3 View Post
    some channel work some not...

    Image
    [Attachment 72784 - Click to enlarge]


    Code:
    import re
    
    print('\ntest link: https://tv0800.com/canais/assistir-red-bull-tv-online-ao-vivo-gratis/\ntest link: https://tv0800.com/canais/assistir-combate-online-ao-vivo-gratis/\n')
    
    link = input('link: ')
    
    import requests
    
    headers = {
        'authority': 'tv0800.com',
        'content-type': 'application/x-www-form-urlencoded; charset=UTF-8',
        'origin': 'https://tv0800.com',
        'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36',
    }
    
    response = requests.post(link, headers=headers).text
    
    postId = re.findall(r'\"postId\":\"(.*?)\"', response)[0].strip()
    print(postId)
    
    ########################
    
    import requests
    
    headers1 = {
        'authority': 'tv0800.com',
        'content-type': 'application/x-www-form-urlencoded; charset=UTF-8',
        'origin': 'https://tv0800.com',
        'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36',
        'x-requested-with': 'XMLHttpRequest',
    }
    
    data1 = {
        'action': 'doo_player_ajax',
        'post': str(postId),
        'nume': '2',
        'type': 'movie',
    }
    
    response1 = requests.post('https://tv0800.com/wp-admin/admin-ajax.php', headers=headers1, data=data1).json()
    print(f'response1:\n{response1}\n')
    
    embed_url = response1['embed_url']
    
    print(f'\nembed_url: {embed_url}\n')
    
    ##############
    
    import requests
    
    headers2 = {
        'authority': 'playertv.net',
        'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8',
        'referer': 'https://tv0800.com/',
        'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36',
    }
    
    response2 = requests.get(embed_url, headers=headers2).text
    
    try:
        m3u8 = re.findall(r'file\":\"(http.*?)\"', response2)[0].strip()
        m3u8 = re.sub(r'\\', r'', m3u8)
    except IndexError:    
        m3u8 = re.findall(r'(http.*m3u8.*token.*)&', response2)[0].strip()
    
    print(f'm3u8:\n{m3u8}\n')

    If you wanted the eleven 3, I think it has the mpd token
    Quote Quote  
  6. Image
    [Attachment 72799 - Click to enlarge]


    added the option to select num, if a link contains multiple channels, BUT
    the mpd is not an option, still just only m3u8
    since the all mpd part is encoded at high leveled javascript...

    Code:
    import re
    import json
    from bs4 import BeautifulSoup
    
    print('\ntest link: https://tv0800.com/canais/assistir-red-bull-tv-online-ao-vivo-gratis/\ntest link: https://tv0800.com/canais/assistir-combate-online-ao-vivo-gratis/\n')
    
    link = input('link: ')
    print()
    
    import requests
    
    headers = {
        'authority': 'tv0800.com',
        'content-type': 'application/x-www-form-urlencoded; charset=UTF-8',
        'origin': 'https://tv0800.com',
        'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36',
    }
    
    response = requests.post(link, headers=headers).text
    
    soup = BeautifulSoup(response, 'html.parser')
    li_elements = soup.find_all('li', {'data-nume': True})
    
    data_li = []
    for li in li_elements:
        data_num = li['data-nume']
        title = li.find('span', class_='title').text.strip()
        data_li.append({'data-nume': data_num, 'title': title})
    
    json_data = json.dumps(data_li, indent=2)
    data = json.loads(json_data)
    
    for item in data:
        data_num = int(item['data-nume'])
        print(f"{data_num:2d} - {item['title']}")
    
    input_num = int(input("\nPick a number: "))
    
    for item in data:
        if int(item['data-nume']) == input_num:
            picked_item_number = f"{item['data-nume']}"
            picked_item_name = f"{item['title']}"
            break
    else:
        print("No 'data-nume' value found for the given number.")
    
    print(f'{picked_item_name}\n')
    
    postId = re.findall(r'\"postId\":\"(.*?)\"', response)[0].strip()
    print(postId)
    
    ########################
    
    import requests
    
    headers1 = {
        'authority': 'tv0800.com',
        'content-type': 'application/x-www-form-urlencoded; charset=UTF-8',
        'origin': 'https://tv0800.com',
        'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36',
        'x-requested-with': 'XMLHttpRequest',
    }
    
    data1 = {
        'action': 'doo_player_ajax',
        'post': str(postId),
        'nume': picked_item_number,
        'type': 'movie',
    }
    
    response1 = requests.post('https://tv0800.com/wp-admin/admin-ajax.php', headers=headers1, data=data1).json()
    
    embed_url = response1['embed_url']
    
    print(f'\nembed_url: {embed_url}\n')
    
    ##############
    
    import requests
    
    headers2 = {
        'authority': 'playertv.net',
        'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8',
        'referer': 'https://tv0800.com/',
        'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36',
    }
    
    response2 = requests.get(embed_url, headers=headers2).text
    
    try:
        try:
            m3u8 = re.findall(r'file\":\"(http.*?)\"', response2)[0].strip()
            m3u8 = re.sub(r'\\', r'', m3u8)
        except IndexError:
            print('first method - [m3u8 link not found!]')
    
            print('try second method:')
            m3u8 = re.findall(r'(http.*m3u8.*token.*)&', response2)[0].strip()
    except IndexError:
        print('second method - [m3u8 link not found!]')
    
    try:
        print(f'm3u8:\n{m3u8}\n')
    except NameError:
        print()
    Quote Quote  
  7. Originally Posted by lomero View Post
    httptoolnix
    link please
    click click2
    If I/my posts ever helped you, and you want to give back, send me a private message!
    Quote Quote  
  8. Originally Posted by [ss]vegeta View Post
    Originally Posted by lomero View Post
    httptoolnix
    link please
    you don't use google ? .... https://httptoolkit.com/
    Quote Quote  
  9. https://cdn-er-vspp-pcs1-mp.online.meo.pt/sdash/LIVE$Eleven_Sports_3_HD/index.mpd,vxttoken=cGF0aFVSST0lMmZzZGFzaCUyZkxJVkU lMjRFbGV2ZW5fU3BvcnRzXzNfSEQlMmZpbmRleC5tcGQlMmYqJ mV4cGlyeT0xNjkxMDI0NzI3Jng6dXNlcj01NjQ3MDIyMTMmeDp pcD0xMDMuMTQ1LjEyLjExNCxiMWQ2YTVhZjgzNGQ0OTllZjY4Z jFlOTk5ZDYyMzY1ZmMzNDk0NWUxNGVmM2NjMThiZGRjYWEwZjg zYzhjZjNi/Manifest?device=PC_CHROME_Live&start=LIVE&end=END
    keyId = "c8d0f2797b6a4dea8aff4cb45358bfd3"; key = "7bed8e83615a16aef2b0a5f79e306710";
    pathURI=/sdash/LIVE$Eleven_Sports_3_HD/index.mpd/*&expiry=1691024727&x:user=564702213&x:ip=103.145. 12.114,b1d6a5af834d499ef68f1e999d62365fc34945e14ef 3cc18bddcaa0f83c8cf3b
    is a script needed?
    Last edited by PABLITOMAO; 2nd Aug 2023 at 10:31.
    Quote Quote  
  10. Originally Posted by lomero View Post
    Originally Posted by [ss]vegeta View Post
    Originally Posted by lomero View Post
    httptoolnix
    link please
    you don't use google ? .... https://httptoolkit.com/
    I do, but you wrote toolnix, not toolkit. That's somewhat of a big typo. Also, it reminded me of MKVToolnix. So I thought, perhaps, there's another tool.
    click click2
    If I/my posts ever helped you, and you want to give back, send me a private message!
    Quote Quote  
  11. yep my apologies. I wrote wrong
    Quote Quote  



Similar Threads

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