admin 管理员组

文章数量: 887021

腾讯视频 老版本

老版本 f12直接搜索m3u8就行了

腾讯视频 新的改变

hls地址隐藏在 如下
Request URL: https://vd.l.qq/proxyhttp
Request Method: POST
Status Code: 200 
Remote Address: 58.247.206.177:443
Referrer Policy: no-referrer-when-downgrade


返回body 写入("./test.txt"),再如下代码读取出

using System;
using System.Linq;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
using System.Threading;
using System.Text;
namespace TX
{
    public class Program
    {

        const string stastr = "{\\\"url\\\":\\\"";
        const string endstr = "\\\",\\\"vt\\\"";

        public static void Main(string[] args)
        {
            HttpClient hc = new HttpClient() { Timeout = TimeSpan.FromSeconds(10) };
            string lookstr = File.ReadAllText("./test.txt");
            ReadOnlySpan<char> startspan = stastr.AsSpan();
            ReadOnlySpan<char> endspan = endstr.AsSpan();

            var lookspan = lookstr.AsSpan();
            int a = lookspan.IndexOf(stastr);
            //Console.WriteLine(a);
            int b = lookspan.IndexOf(endstr);
            Console.WriteLine(b);
            Console.WriteLine(lookstr.Length);

            a = a + stastr.Length;
            var s = lookspan.Slice(a, b- a);
            string url1 = s.ToString();
            var arr = url1.Split(new char[] { '/' }, StringSplitOptions.RemoveEmptyEntries);
            Console.WriteLine(url1);
            string hlsname = arr.Last().Split('?')[0];
            
            var byss = hc.GetByteArrayAsync(url1).Result;
            File.WriteAllBytes(hlsname, byss);
            
            Console.WriteLine();
        }
    }
}

“u00290elf5o.321004.ts.m3u8” 蓝光
“u00290elf5o.321003.ts.m3u8” 超清
“u00290elf5o.321001.ts.m3u8” 标清

前面作废

2022年11月30日更新 

h5vv6.video.qq/getvinfo   get请求

本文标签: 腾讯 蓝光 视频