Skip to main content

Wget-compatible web downloader and crawler.

Project description

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

A dog pulling a box via a harness.

Features:

  • Written in Python: lightweight, modifiable, & robust

  • Familiar Wget options and behavior

  • Graceful stopping; on-disk database resume

  • Python & Lua scripting support

  • PhantomJS & youtube-dl integration (experimental)

Install

Wpull uses Python 3.

Once Python is installed, download Wpull from PyPI using pip:

pip3 install wpull

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

Run

To download the About page of Google.com:

wpull google.com/about

To archive a website:

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-allow linked-pages,page-requisites \
    --escaped-fragment --strip-session-id \
    --sitemaps \
    --reject-regex "/login\.php" \
    --tries 3 --retry-connrefused --retry-dns-error \
    --timeout 60 --session-timeout 21600 \
    --delete-after --database blogsite-billy.db \
    --quiet --output-file blogsite-billy.log

To see all options:

wpull --help

Documentation

Documentation is located at http://wpull.readthedocs.org/. Please have a look at it before using Wpull’s advanced features.

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 Coveralls report

Contributions and feedback are greatly appreciated.

Credits

Copyright 2013-2015 by Christopher Foo and others. License GPL v3.

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

  • wpull.backport.logging

  • wpull.backport.textwrap

  • wpull.thirdparty.robotexclusionrulesparser

  • wpull.thirdparty.dammit

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-1.1.1.tar.gz (657.7 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for wpull-1.1.1.tar.gz
Algorithm Hash digest
SHA256 78de9d48c7cad68a662b908b4ad63563a00a8b34d3560182e624d1254e8591d2
MD5 27edb97f7ad715265fd217558567050f
BLAKE2b-256 0684ace79a751031d69ad8ac1875a7245e51931487c1675d2e4fd5f2b3929f1c

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