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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file fourget-0.10.6.tar.gz.

File metadata

  • Download URL: fourget-0.10.6.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.1 Linux/5.11.0-1022-azure

File hashes

Hashes for fourget-0.10.6.tar.gz
Algorithm Hash digest
SHA256 2de9c5ae9fc4c7bab9a4dae666f9e65809c8d159c2eb2b50c68ecba2a91f8a59
MD5 21880216fd374196529fd2a77cf9e5c9
BLAKE2b-256 3df8cabfbd30b06170790c80e498e50a15410e2a1ce437e86daa683fb03965f6

See more details on using hashes here.

File details

Details for the file fourget-0.10.6-py3-none-any.whl.

File metadata

  • Download URL: fourget-0.10.6-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.1 Linux/5.11.0-1022-azure

File hashes

Hashes for fourget-0.10.6-py3-none-any.whl
Algorithm Hash digest
SHA256 188deaf7dc96325975de05dd4b25c18f9d227ded79a36e3a029e18bcd00ddaa2
MD5 b710b3c274b827fdeee325d871ac09be
BLAKE2b-256 e0114bdf9e2dd1d9076dcc9f3270ef43987f2510fbe3ae6b6e034ee754b4f244

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