Code Monkey home page Code Monkey logo

4chan-media-downloader's Introduction

4chan-media-downloader

Python script to download all media from any thread in 4chan, with options to download to specific folder, make subfolders for each thread, batch download, ASCI art of thumbnail on terminal, chose only specific extension, autoscrap per specified minutes.

Dependencies: requests, bs4, climage(required only for -i argument)
Usage: 4chan.py [-h] (-t THREAD || -l LIST) [-f USERFOLDER] [-m MINUTES] [-b BATCH] [-i IMAGE]
Requires at least Thread(-t) or List(-l) argument, all else are optional.

-h, --help

-t , --thread : {THREAD}
Thread link.

-l, --list : {LIST}
Path to list file.

-f, --folder : {USERFOLDER}
Specify in which folder to save the thread or the list of threads and their subfolders. 
If folder doesnt exist or isnt specified, creates one with thread name.

-m, --minutes : {MINUTES}
Autorun every -m or --minutes. OFF if not specified.

-b, --batch 
If enabled Batch download without making subfolder for threads.

-e, --extension : {EXTENSION}
Specify the extension of the files to download.

-i, --image
If enabled, display an image preview like the one on the video bellow (requires climage)

asciicast

Examples:

python 4chan.py -t https://boards.4channel.org/vrpg/thread/2

Will make a folder on the current directory with thread name and then download all media from thread.

python 4chan.py -l 4links.txt -f .

Will create a subfolder with the name and board of each thread/link in 4links.txt and download every media on it.

4chan-media-downloader's People

Contributors

altair47 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

sam-dinmi

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.