Cookie Scraping and print

code for cookie scraping and formatted cookie printing