This project was created to display remote/digital events from Women Who Code Digital, which is a community that provide events for empowering women in technology.
This app use Nokogiri gem to extract info and displays all the events grabed on the original page and also provide a way to search events by keywords.It shows the date and also provide the link to register on each event.
You can clone or download this repo (you need ruby installed in your computer).
git clone [email protected]:enelesmai/Ruby-Scraper.git
Move to the app directory
cd Ruby-scraper
And run the next instruction to get the gems that are needed for this project
bundle install
IMPORTANT To run this application you should add execute permissions to the main file. Here you can find more information.
chmod 755 main.rb
And after that you can start the app by typing
./bin/main.rb
To run the test cases with RSpec we have to follow this steps:
installing RSpec
gem install rspec
Once that’s done, you can verify your version of RSpec with, for this project we had used the version 3.9
rspec --version
finally run for watch the results
rspec
This scraper extracts the information from Women Who Code page, you can use it for showing this info in another place or making another wonderful application to share these events!
This application starts with a menu:
===================
Select an option:
1. Show all events
2. Search an event
3. Exit
===================
If you choose all events it is going to display the all list of existent events:
DATE: 3 Part Mini Data Science Bootcamp (Learn the data science stack / tools and how to approach DS projects with WWCode Data Science
NAME: WWCode San Diego
LINK: http://womenwhocode.com/sandiego
You can also choose option 2) Search an event and type a keyword to look for. Example:
What are you looking for?: Javascript
=========================
DATE: MON 6 APR | 00:00 UTC (6:00 PM MDT)
NAME: Monthly JavaScript Study Series
LINK: https://www.meetup.com/Women-Who-Code-Boulder-Denver/events/lxxdnrybcgbjb/
----------------------
DATE: TUES 5 MAY | 18:00 UTC (7:00 PM British Summer Time)
NAME: Gimgen - Dive Deep Into Javascript Generators
LINK: https://zoom.us/webinar/register/WN_hbOmFdHuTfu69RaHDb3GbA
----------------------
=========================
2 events.
Enjoy it!
Concepts used on this project
- Ruby
- OOP
- Describe, it and context for testing with RSpec
Tools used on this project
- Visual Studio Code
- VSCode Ruby by Stafford Brunk 0.27.0
- Rubocop 0.8.3
- RSpec 3.9
- Nokogiri gem
You can see the live preview
👤 Xóchitl Selene Flores Pérez
- Github: @enelesmai
- Twitter: @enelesmai
- Linkedin: xochitlselene
Contributions, issues and feature requests are welcome!
Feel free to check the issues.
Give a ⭐️ if you like this project!
This project is MIT licensed.