curl - Use Selenium to retrieve Backlink, HTTP code and IP address -
im using selenium 'scrap' pages looking backlinks website. had been using plain curl scrape curl doesn't play nice javascript (in fact wont play @ all).
my issue need http header response (200, 301, 404, 503 etc) code pages scrape. ideally id ip address of domain i'm scraping well.
im using facebook php webdriver php @ following link , cannot find how retrieve header information.
https://github.com/facebook/php-webdriver
my question is, there way selenium return header information , or ip address?
if don't know answer question know of better way scrape , or http headers?
thanks in advance.
selenium doesn't http status codes or headers. i've never used it, commonly-suggested tool browsermob proxy, created 1 of selenium committers. captures requests , responses, including headers, status codes, , timing information.
Comments
Post a Comment