Skip to main content

Download/scrape media files from 4chan threads

Project description

fourget

Download/scrape media files from 4chan threads

Demo

Features

  • fast concurrent downloading with asyncio
  • skip download if already it already exists locally
  • progress bar

Example

$ fourget https://boards.4channel.org/g/thread/76759434
$ fourget --help

FileNotFoundError on Windows

fourget will sometimes crash with a FileNotFoundError exception on Windows. This is due to limitations on the maximum length a file path. However, this limitation can be removed by following the steps at https://docs.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=cmd#enable-long-paths-in-windows-10-version-1607-and-later.

Installation

$ pip install fourget

Releasing

  1. Bump the version with bump2version, which also commits and tags.

    $ bump2version patch  # or minor or major, fmt: major.minor.patch
    $ git push
    

The GitHub Actions CI workflow will take care of the rest.

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

fourget-0.10.6.tar.gz (8.6 kB view hashes)

Uploaded Source

Built Distribution

fourget-0.10.6-py3-none-any.whl (9.4 kB view hashes)

Uploaded Python 3

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