Skip to main content

Fetch web pages as robot

Project description

fetchas

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:
  url

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

0.2

Download files

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

Source Distribution

fetchas-0.2.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fetchas-0.2-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file fetchas-0.2.tar.gz.

File metadata

  • Download URL: fetchas-0.2.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for fetchas-0.2.tar.gz
Algorithm Hash digest
SHA256 9450c58d5ae8c615575fff68b8532ed94bd392a60a6f6f2385b16dabb247f2b0
MD5 297fb30f3a3ec4728b554437fb1d1b74
BLAKE2b-256 d7e5f992e52a88955440c0fd33d9fcafd7db99fbe5d68756f3fb5909279a513b

See more details on using hashes here.

File details

Details for the file fetchas-0.2-py3-none-any.whl.

File metadata

  • Download URL: fetchas-0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for fetchas-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 94daa0c229858cc4eeee5ba57abc5edac36b74f3d1cc9d8e749140a98bb8cb8e
MD5 0f8c842698b997ccd42d6a855ecbcd4a
BLAKE2b-256 6de6e6bbff066b01034eecc6af617f1aa587f2745887ace04bb00e108c78bee0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page