Skip to main content

Python project fetching a webpage

Project description

build codecov

webloader

Python utility to fetch a webpage and save it to disk

Project Setup for Development

  • source setup.sh

Command to execute

python3 fetch.py <url 1> <url 2> <url N> --metadata --archive_assets

sample

python3 fetch.py --metadata --archive_assets https://www.google.com/

Note:
--metadata : To print metadata of webpage
--archive_assets : To save assets to a directory named after url

Trigger tests:

python3 -m pytest

Uploaded On:

https://pypi.org/project/webloader/

To use this as a python library

Run command: pip intall webloader
Run command: fetch <url 1> <url 2> <url N> --metadata --archive_assets
Sample command: fetch --metadata --archive_assets https://www.google.com/

Project details


Download files

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

Source Distribution

webloader-0.1.0.tar.gz (4.4 kB view hashes)

Uploaded Source

Built Distribution

webloader-0.1.0-py3-none-any.whl (5.9 kB view hashes)

Uploaded Python 3

Supported by

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