Hello to you all. I just quickly made this rather stupid script that i thought i'd share with you.
Basically it grabs a page that you specify from the internet, saves it to the disk of the server, parses the page that it has grabbed to find all the hyperlinks in that page, randomly selects one of those links, and redirects to that page after a few seconds, continuously repeating.
So far i have a simple working version, though it still doesn't work to well with some CSS and relative links, and tends to get hung up on RSS feeds, so you may find it "firing blanks" every now and then. Nothing that can't be fixed in time though, so expect to see it progress with better reliability, speed, a "History" and a much needed "Pause" button
Also, from various reasons, it doesn't work in forums, such as Aqua-Soft, which is a shame, but i'm working on it. If you're lucky it'll string 50 pages together, and if you're not, just 1 or 2.
Anyhow, give it a go, and see where you end up!
I'm wondering how long it will take to download 10GBs of internet ![]()
Oh and sorry if it's very slow, the parsing script to sift through the page and grab all the hyperlinks is very CPU intensive, and this computer that it's running on isn't very speedy! But i'm keeping it on here while i'm still just fiddling around with it, so be kind and don't share this link around
Thanks!
I'll post the source when i've done more.
EDIT: Modified it so that it directs back to google if it gets stuck.
EDIT 2: Now grabs every page the site links to aswell as the site itself.
EDIT3: Got theinfo i wanted, so puleld the link for now ![]()
Aqua-Soft Forums