Question

I'm trying to find a solution to download automatically .flv link everyday from a website using wget and to store all the links into a database to stream them in my website. (all in php) How to do that? I don't need to store the files only links into the database.

Best regards,

Was it helpful?

Solution

I don't know why you would need wget.

You could use curl to go to the website and get the new link. After you have the link, just store the information in the database and your done.

You are basically scrapping other sites for content.

This article looks like it is promising:

http://www.merchantos.com/makebeta/php/scraping-links-with-php/

You could also try to search google. I used the term:

scrapping site php curl

Have fun.

Regards.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top