Just Made: URL Checking Script

Status
Not open for further replies.

QuiGloriam

Member
7
2011
0
0
Hi!

After hours of researching I found a pretty simple way to check a file host URL.

This script works for any host, no limits, just edit a line of code and done, not even code, just text.
I already tried with megaupload, fileserve, uploading and rapidshare (rapidshare don't work because of SSL protection but can be fixed)

The load time is 1.5063118 sec for checking 3 URLs (1/2 sec per URL).
What do you think, it's a good load time?

-On my computer:, 50mb internet connection took 2.70179 sec 3 URLs
-On shared Host: (6$ per month) 1.5063118 sec 3 URLs
-On VPS or Dedicated: Didn't tried yet...

Need to improve this or it's just fine?
I already improved by 20-30%, want to know if my method is fast or not.

Regards,
 
5 comments
Honestly, its terrible.

Try to find APIs and work with that as using the API will give you much faster results (y).

Keep on, try to improve and paste the results later :D

Good Luck.
 
I guess he tries to download the file and checks the response headers since it works for 'any' host without much code.

Anyway, QuiGloriam, I suggest you look into the API's that (some) filehosts give for faster results.
 
if it can work with any host and not need updating when the filehosts update their api's which now is very often i would say i won't mind waiting a 1minute to check 100 links
if you can send me the script i would use it >_>
 
If you code it without use of APIs filehost you risk that your server ip will be banned like mine is :D But if you are skilled like me, you can bypass them like i did :P

Anyway my link checker checks about 200 links of different links filehosts in about 3-5 sec. (on dedi sure :D)
 
Last edited:
if it can work with any host and not need updating when the filehosts update their api's which now is very often i would say i won't mind waiting a 1minute to check 100 links
if you can send me the script i would use it >_>

Thanks, I think it's very useful script almost no code and can work with any host, not only file host, image host or video sharing as well.

If you code it without use of APIs filehost you risk that your server ip will be banned like mine is :D But if you are skilled like me, you can bypass them like i did :P

Anyway my link checker checks about 200 links of different links filehosts in about 3-5 sec. (on dedi sure :D)

Yep, I'm not using any APIs, in fact, I didn't know anything about them.
2.5 sec for 200URL is ultra-fast speed!!!

I want to test my script and improve performance, maybe start using some APIs. Need to check bandwidth and cpu usage also...

I will not get banned, or hope so, can use proxy too.

I guess he tries to download the file and checks the response headers since it works for 'any' host without much code.

Anyway, QuiGloriam, I suggest you look into the API's that (some) filehosts give for faster results.

Not necessary to download file or try, just check the source code of the URL (need download source code of the link).

I will check some APIs!

Honestly, its terrible.

Try to find APIs and work with that as using the API will give you much faster results (y).

Keep on, try to improve and paste the results later :D

Good Luck.
Hi, I will do my best to improve the code, maybe will share... or sell B-)...
To soon to say anything about it...

What I want to do is to check all my warez website URLs with some cron job, like each two hours or something like that. If the link is broken hide the link and show in my admin panel (I use my own CMS) an alert message to reupload the file.

So my goal is to make a website with 100% of links live to get return visits and gain popularity = money, I don't use advertisement only filehost that pays.

Best warez site is coming soon... will be in Spanish, hope to share the result some day.

NEW: Tested my link checker on my VPS
0.63153 sec for checking 3 URL | About 0.20 per URL
 
Status
Not open for further replies.
Back
Top