Socket
Socket
Sign inDemoInstall

4chan-js

Package Overview
Dependencies
282
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    4chan-js

Download images from 4Chan


Version published
Weekly downloads
3
decreased by-62.5%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

4Chan.js thread scrapper

This project is not in an advanced state and is error prone. Don't hesitate to open an issue if you encounter an error.

Install

npm install -g 4chan-js

Usage

-f : Specify a folder where you want to save your images
-e : specify a file format you don't want to download (ex: -e gif)
--noanimation : doesn't download gifs and webms
-u : url of the thread
-m : Specify file system permissions (ex: -e 777) 755 will be used by default

Example

4chan -e png -u https://boards.4chan.org/b/thread/0000000/thread

What it can currently do :

- Download all images and webms from a thread
- Exclude by one or multiple patterns
- Not much else

What will it do in the futur :

- Download depending on file size
- Easily automate scrapping
- Generation of an html page with all images

What it will never do:

- Coffee, sadly
- Scrap other websites
- Scrap entire boards

If you're interested to work on this, have questions or want to yell at me (bad code and stuff): @dupertuiseric

Currently no Windows support

FAQs

Last updated on 10 Nov 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc