Cynical-advanced articles, cynical advanced articles

Source: Internet
Author: User

Cynical-advanced articles, cynical advanced articles

 

After the previous article was written to capture data and capture the data, I was prepared to do a big job. As a result, I encountered a big problem and a magnetic analysis problem. It seems that you can only watch the video after downloading it offline through thunder. It is totally different from what I previously imagined. This is totally different from my original intention. What I want is to experience it without having to do it now, it can be played smoothly like iQiYi. Therefore, after tossing N pieces of information, I found some tips. There are many sayings on the Internet, such:

Part of a post:

 

After looking for the materials for a few days, I found that I may have taken the wrong path. Magnetic resolution is not parsed by algorithms. These files are all based on some offline cache servers, such as thunder and Tornado, cloud disks.

Through these ideas, I cannot construct these offline servers. Can I use these offline servers and fixed Hash to obtain these files for my purpose of playing. With this in mind, I went crazy about finding a few pieces of information on the Internet and found that there were successful cases. This gave me a boost.

Not much nonsense. First paste a piece of parsing code:

List <dhtItemDTO> items = new List <dhtItemDTO> (); string xl_jxurl = string. format ("delimiter", hashKey); CommHttp. httpProc jxpro = new CommHttp. httpProc (xl_jxurl); jxpro. encoding = Encoding. UTF8; string jxjson1 = Server. urlDecode (jxpro. proc (); var item = JsonConvert. deserializeObject <dhtrespDTO> (jxjson1); if (item! = Null & item. resp. record_num> 0) {foreach (var jxitem in item. resp. subfile_list) {listDHT. add (new dhtShowDetailDTO () {title = jxitem. name, key = item.resp.info _ hash, keytype = 1, index = jxitem. index, filesize = jxitem. file_size/1024/1024 + "Mb"}); // parse HASH data }}

  

This is the first article in the advanced article. It comes with my APP. The next article will describe the specific ideas and part of the parsing code.

 

Write at lastQQ technology exchange group: 485247202 hope to discuss and exchange technologies and experiences

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.