python - How do I simulate Google robots in scrapy spider? -
i want crawl website robots.txt :
user-agent: mediapartners-google* user-agent:googlebot disallow: i have added line settings.py :
user_agent = 'googlebot' but doesn't work, site still refuse spider's connection.
any ?
Comments
Post a Comment