Skip to main content

Wget-compatible web downloader.

Project description

Wpull is a Wget-compatible (or remake/clone/replacement/alternative) web downloader.

A dog pulling a box via a harness.

Features:

  • Written in Python: lightweight & robust

  • Familiar Wget options and behavior

  • Graceful stopping and resuming

  • Python & Lua scripting support

  • Modular, extensible, & asynchronous API

  • PhantomJS integration

Currently in beta quality! Some features are not implemented yet and the API is not considered stable.

Install

Requires:

Once you install the requirements, install Wpull from PyPI using pip:

pip3 install wpull

For detailed installation instructions, please see http://wpull.readthedocs.org/en/master/install.html.

Run

To download the About page of Google.com:

python3 -m wpull google.com/about

To archive a website:

python3 -m wpull billy.blogsite.example --warc-file blogsite-billy \
--no-check-certificate \
--no-robots --user-agent "InconspiuousWebBrowser/1.0" \
--wait 0.5 --random-wait --waitretry 600 \
--page-requisites --recursive --level inf \
--span-hosts --domains blogsitecdn.example,cloudspeeder.example \
--hostnames billy.blogsite.example \
--reject-regex "/login\.php"  \
--tries inf --retry-connrefused --retry-dns-error \
--delete-after --database blogsite-billy.db \
--quiet --output-file blogsite-billy.log

To see all options:

python3 -m wpull --help

Documentation

Documentation is located at http://wpull.readthedocs.org/.

Help

Need help? Please see our Help page which contains frequently asked questions and support information.

The issue tracker is located at https://github.com/chfoo/wpull/issues.

Dev

Travis CI build status

Contributions and feedback are greatly appreciated.

Credits

Copyright 2013-2014 by Christopher Foo. License GPL v3.

This project contains third-party source code licensed under different terms:

  • backport

  • wpull.backport.argparse

  • wpull.backport.collections

  • wpull.backport.functools

  • wpull.backport.tempfile

  • wpull.backport.urlparse

  • wpull.thirdparty.robotexclusionrulesparser

We would like to acknowledge the authors of GNU Wget as Wpull uses algorithms from Wget.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

wpull-0.21.1.tar.gz (356.4 kB view details)

Uploaded Source

File details

Details for the file wpull-0.21.1.tar.gz.

File metadata

  • Download URL: wpull-0.21.1.tar.gz
  • Upload date:
  • Size: 356.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for wpull-0.21.1.tar.gz
Algorithm Hash digest
SHA256 824d1e743295bba117d0ed0b7f112ec3190cf3a8af1df14ccf42a4305ba94f43
MD5 65a9a7f70d945b8b42e1f0629d1bba48
BLAKE2b-256 830d27b34c4556cc3da76d065ab84bce1e442b6444ee933c8d06a95fb26eeeaa

See more details on using hashes here.

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