Jump to content

Ideas for automated link following of downloads?


hellonoko

Recommended Posts

I am trying to design a way in wich I could automate the following of download links in PHP.

 

For example:

https://www.yousendit.com/transfer.php?action=batch_download&batch_id=TTZuZXR6Y1M3bUN4dnc9PQ

Or:

http://www.zshare.net/audio/5176345521c01f22

 

I would like to automate the downloading of files from sites like these so that I could batch download a series of links.

 

I have made something similar before where a PHP script I wrote would load a HTML page from myspace and scan it for certain content.

 

I think in this case what I would need to do is depending on the site allow for processing of multiple pages or delays. How would I accomplish this with PHP?

 

Also some download sites use a header pushing the download rather a direct link to the file.

 

How would I incorporate that into something like

file_get_contents()  fopen() and fputs()

 

Is php capable of this kind of thing?

 

Thanks,

ian

 

 

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.