Skip to main content

Fetches a list of URLs and silly walks through each site to gather information.

Project description

foot

Web Crawling Project

Foot is a library that fetches a list of URLs and silly walks through each site to gather information.

Usage

Install

pip install foot

foot (cli)

  • -u URL(s) (encapsulated in quotes, separated by commas)
  • -f filename (list of urls on new lines)
Options (not required)
  • -c : Specify chunk size (default=10)
  • --recursive : Enable one level of recursion
Examples:

Array of URLS:
foot -u 'http://example.com, http://example1.com'

Array of URLS with Options:
foot 'http://example.com, http://example1.com' -c 5 --recursive

File:
foot -f 'example.txt

File with Options:
foot -f 'example.txt' -c 5 --recursive

Module

Import:
import foot

Functions

The get function takes an array of URLS and options.

foot.get(["http://www.example`.com", "http://www.example2.com"], options);
    => Data output in ./foot/url.json and foot-date.txt

The file function takes a filename and options.

foot.file("./test.txt", recursive=True)
    => Data output in ./foot/url.json and foot-date.txt

Project details


Download files

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

Files for foot, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size foot-0.1.0-py2.py3-none-any.whl (4.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size foot-0.1.0.tar.gz (10.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page