How to remove disable-devtoolbe able to use developer toolCode:https://tv0800.com/canais/assistir-combate-online-ao-vivo-gratis/
+ Reply to Thread
Results 1 to 11 of 11
-
-
you can't. use external sniffer like HTTPDebuggerPro or httptoolnix or ext like HTTP Header Live (for FF)
-
some channel work some not...
[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')
-
-
[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()
-
you don't use google ? .... https://httptoolkit.com/
-
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=ENDkeyId = "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
Last edited by PABLITOMAO; 2nd Aug 2023 at 10:31.
-
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.
Similar Threads
-
how to disable downloading on the JW Player?
By pauld2022 in forum Video Streaming DownloadingReplies: 17Last Post: 16th Jan 2022, 07:58 -
Disable lookahead_threads
By Chapy in forum Newbie / General discussionsReplies: 0Last Post: 23rd Aug 2021, 12:03 -
PotPlayer still have ads? How to disable it?
By dhanamerdeka in forum Software PlayingReplies: 2Last Post: 13th Aug 2021, 13:44 -
Disable default subtitle
By marco000 in forum Video ConversionReplies: 16Last Post: 24th Jun 2021, 09:55 -
Potplayer - Disable Subtitles?
By vanbrocklin in forum Software PlayingReplies: 2Last Post: 28th Dec 2019, 21:34