且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

检查下载链接是否失败!

更新时间:2023-11-26 20:27:04

如果您想查看某个特定链接是否具有Rapidshare/mediafire左右,则只需在URL上进行正则表达式搜索,然后查看关键字像流鼻涕/军火之类的东西是否存在.

如果要检查url是否有效,则需要单击url并分析响应以查看它们是否有效.
If you want to see if a particular link is of rapidshare/mediafire or so, then just do a regex search on the URL and see if the keywords like rapidhsare/mdiafire, etc exits or not.

If you want to check the url''s are valid or not then you need to hit the url and parse the response to see if they are valid.