0.0
No release in over 3 years
Low commit activity in last 3 years
This gem scowers 4chan (or any chan copy theoretically) searching for threads that contains key words specified by you on boards specified by you and downloads all the images, gifs and webms to a specified folder
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.17
>= 0
>= 0
>= 0
>= 0
~> 10.0
~> 3.0
 Project Readme

ChanCrawlerGem

Gem Version

This gem scowers 4chan (or any chan copy theoretically) searching for threads that contains key words specified by you on boards specified by you and downloads all the images, gifs and webms to a specified folder

You can also find the gem at https://rubygems.org/gems/chanCrawlerGem

Installation

gem 'chanCrawlerGem'

And then execute:

$ bundle

Or install it yourself as:

$ gem install chanCrawlerGem

Usage

Set up a .env following the pattern described in the .env_template and then run ChanCrawlerGem.give_me_the_documents as shown in the example.rb file. In facut, simply running the example.rb file after creating the .env will work just fine

So just to be clear here's a step by step:

Step 1 Create .env file

For this step use the .env_template provided and fill in the desired values

Step 2 Create a downloads directory

Create the directory and put it's path in the DEST_FOLDER variable

Step 3 Create the script

Create a simple script that requires the gem and runs the "give_me_the_documents" method like so

require 'chanCrawlerGem'

ChanCrawlerGem.give_me_the_documents

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the ChanCrawlerGem project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.