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 hashes)

Uploaded Source

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