Skip to main content

Fetch web pages as robot

Project description


Fetch URLs as search engine robot ("fetch as")

Show content or headers of a given URL with the HTTP "User-Agent" header set to a search engine robot. Defaults to Googlebot.

Online help:

usage: fetchas [-h] [-r] [-I] [-a ROBOT_AGENT] url

Fetch URLs as search engine robot.

positional arguments:

optional arguments:
  -h, --help            show this help message and exit
  -r, --follow-redirects
                        Follow redirects, if any occur
  -I, --headers         Show only response headers
  -a ROBOT_AGENT, --robot-agent ROBOT_AGENT
                        ROBOT_AGENT should be one of the following values
                        (default: 'googlebot'): default, desktop, googlebot,
                        mobile, googlebot-mobile, googlebot2, bingbot,
                        bingbot-mobile, browser, iphone, pixel

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for fetchas, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size fetchas-0.2.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View
Filename, size fetchas-0.2-py3-none-any.whl (3.7 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page