Skip to content

This project is a scraper to get some anime titles and URLs from the page animeflv.net. This project also contains some test cases using RSpec.

Notifications You must be signed in to change notification settings

julian3493/Ruby_Scraper_Capstone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ruby Scraper Capstone

In this project, I created a scraper script that obtains a list of anime from https://www3.animeflv.net/browse and shows the data in the terminal. It asks if you want more information about one of the anime listed and shows that information if you want. I choose that page because it could be useful for me and some of my friends.

Built With

  • Ruby

Gems:

  • HTTParty
  • Nokogiri

Prerequisites

  • Ruby Installed

Setup

  • Open your terminal and go to the directory where you want to clone the repo.

  • Clone the repository to your local machine. Type $ git clone https://github.com/julian3493/Ruby_Scraper_Capstone.git

  • Go to the Ruby_Scraper_Capstone directory. Type $ cd Ruby_Scraper_Capstone

  • Install bundler. Type $ gem install bundler

  • Install the necessary gems to run the scraper. Type $ bundle install

  • Now your environment is ready to run the scraper. Type $ ruby bin/main.rb

Using the scraper

screenshot

  • When you run the scraper. You will see a welcome message and it will ask you if you want to see the registers found.

  • You need to write 'y' and press enter if you want to see the registers. When you do that you will see a list of anime that includes Title, Type, and, URL for each Anime.

  • At the end of the list you will see a message asking if you want more information about one anime. If you want to see more information you need need to write 'y' and press enter. You can also press any other key if you want to finish the script.

  • If you choose to see more information about, you need to write the title of the anime in which you want more information. You must write the title exactly how it appears in the list.

  • When you write the name, you will see the Anime Title, Description, and Status. After that, you will see a goodbye message and the script finish.

Run tests

  • Just type the command rspec in your terminal to check the results of the tests.

Author

👤 Julian Ramos

🤝 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!

Acknowledgments

  • The Odin Project

About

This project is a scraper to get some anime titles and URLs from the page animeflv.net. This project also contains some test cases using RSpec.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages