Skip to main content

A lightweight tool for parsing and downloading 4chan threads.

Project description

https://img.shields.io/pypi/v/chandl.svg https://img.shields.io/pypi/pyversions/chandl.svg https://travis-ci.org/gebn/chandl.svg?branch=master https://coveralls.io/repos/github/gebn/chandl/badge.svg?branch=master

A lightweight tool for parsing and downloading 4chan threads.

Features

  • An API for programmatically analysing 4chan content.

  • Customise the each file name using a lambda function.

  • Filter out images or videos.

  • Concurrent downloading, with parallelism linked to the number of cores.

Installation

To install chandl, simply run:

$ pip install chandl

Usage

$ chandl -h
usage: chandl [-h] [-c] [-t THREADS] [-v] url [url ...]

A lightweight tool for parsing and downloading 4chan threads.

positional arguments:
  url                   the URL(s) of the thread(s) whose files to download

optional arguments:
  -h, --help            show this help message and exit
  -c, --cwd             download to the working directory
  -t THREADS, --threads THREADS
                        the maximum number of download threads to use per core
  -v, --verbosity       increase output verbosity

Roadmap

  • Implement tracking of threads until they are deleted

  • File exclusion

  • Improve test coverage

  • Pylint or flake8 integration

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

chandl-0.1.0.tar.gz (9.5 kB view details)

Uploaded Source

File details

Details for the file chandl-0.1.0.tar.gz.

File metadata

  • Download URL: chandl-0.1.0.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for chandl-0.1.0.tar.gz
Algorithm Hash digest
SHA256 42e001cdb5d3db41c038048556096ea44d1f9095abe2b9d4b8721d3e704cd74f
MD5 7dfb29aebe65251bb11ec79b8f41b7a7
BLAKE2b-256 512e6a3173e93da17084655116a698b5a014ecc6abc4b181f8ac3d59a03b7ac0

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