June 20th, 2014, 07:54 PM
Crawler saving cookies
I am looking for a piece of existing php code what crawls a website using relative and absolute links to a depth (actually I found one what works). The trick is that I would like to get all cookies from the crawled sites saved into sequentially numbered (1.txt, 2.txt, etc.) text files (first line: URL, second line: depth, third line: the cookie itself).
Is there out a good example doing the same job? Or any guidance on how I collect all cookies once I downloaded (crawled) a website using "DOMDocument" and "loadHTMLFile"?
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.