开发者

meta tag scraper

开发者 https://www.devze.com 2022-12-09 06:41 出处:网络
I\'m trying to get meta tag information for each page on a particular site, preferable in a txt file.What\'s the simplest way of doing this?

I'm trying to get meta tag information for each page on a particular site, preferable in a txt file. What's the simplest way of doing this?

(I mean besides going to each page one by on开发者_高级运维e, viewing source and then copying and pasting the tags, which would be the simplest but also wouldn't be any fun)


You could use a tool like this: Scraping Links With PHP, or you could use fopen to open the pages and then regunales expressions may take out the tags html tags.

0

精彩评论

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