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

 

 

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.