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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for chandl-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5c81eae37d4fa6cfefdce66da5d7e79c067fe469852c26b63174a343807801dd
MD5 4574b7cbde1ce4e2d224c9b191d9f313
BLAKE2b-256 5f74201e7e12a981ec7cb2971979f381bd7e7806a5a38c0f4e550d6c0cd5b709

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