开发者

store wget link into a database (php)

开发者 https://www.devze.com 2022-12-10 19:29 出处:网络
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)

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消