I'm trying to find a so开发者_C百科lution 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,
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.
精彩评论