Giter Club home page Giter Club logo

get-top-anime's Introduction

GET-TOP-ANIME

You never have to search for a top anime listicle again!.

This is a web scraper built using ruby and some scraping gems to generate a list of top anime from myanimelist.net

screenshot

Built With

  • Ruby
  • Nokogiri
  • HTTparty
  • JSON

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

Ruby installed locally

Setup

 Clone repository into your local machine via :

     $ git clone https://github.com/apricot12/get-top-anime

 Install the gems required by running the following in terminal inside your project folder :

     $ bundle install

Usage

1) Navigate into the project folder and run main.rb by typing in : 

     $ ruby ./bin/main.rb

2) You will be prompted to input a multiple of 50, doing so will generate a top anime list from 1 to input number.

3) Once you get an output "DONE!" in your terminal, a new anime_list.json file will be found in ./json/ folder.

4) Inside the anime_list.json you'll find the anime list ordered according to rank and rating from the site as seen in the screenshot -

screenshot

5) Enjoy watching anime.. :)

Run tests

You can run tests simply by running the given command in terminal :

     $ rspec ./spec/tests_spec.rb

Authors

๐Ÿ‘ค Author1

๐Ÿค Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a โญ๏ธ if you like this project!

๐Ÿ“ License

This project is MIT licensed.

get-top-anime's People

Contributors

apricot12 avatar

Stargazers

 avatar

Watchers

 avatar

get-top-anime's Issues

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.