得到Mediafire.com直接下载链接和文件的网站 [英] Get direct download link and file site from Mediafire.com
本文介绍了得到Mediafire.com直接下载链接和文件的网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
例如,我有链接 http://www.mediafire.com/?dr7j413wv5dc3n7t
什么是获得DIREKT下载链接,这是
What would be the best way to get the direkt download link, which is
http://download656.mediafire.com/8qgjk46xjcag/dr7j413wv5dc3n7/Test.rar一>
和C#中的文件大小(347.31 KB)?
and the file size (347.31 KB) in C#?
推荐答案
最好的方法是使用一个HTML解析器如 HTML敏捷性包解析HTML,然后查询。
The best way would be to use an HTML parser such as the HTML Agility Pack to parse the HTML then query it.
它可以让你使用XPath查询HTML,很像的XmlDocument
。
It allows you to query the HTML using XPath, very much like XmlDocument
.
这篇关于得到Mediafire.com直接下载链接和文件的网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文