Git Product home page Git Product logo

chancrawler's Introduction

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.

chancrawler's People

Contributors

lithiil avatar

Stargazers

 avatar  avatar  avatar James Phipps avatar

Watchers

James Cloos avatar  avatar

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.