0.0
No commit activity in last 3 years
No release in over 3 years
Gives you a list of all courses in Spanish vocational education.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0

Runtime

 Project Readme

course_scraper

A course scraper that gets all the vocational training courses in Catalonia and Spain.

Install

In your Gemfile:

gem 'course_scraper', git: 'git://github.com/codegram/course_scraper'

Usage

require 'course_scraper'
catalan_categories = CourseScraper::Catalonia.scrape

catalan_categories.each do |category|
  category.name
  # => "Administracio"
  category.courses.each do |course|
    course.name
    # => "Transport"
    course.type
    # => :medium
  end
end

spanish_categories = CourseScraper::Spain.scrape

spanish_categories.each do |category|
  category.name
  # => "Administracion"
  category.courses.each do |course|
    course.name
    # => "Transporte"
    course.type
    # => :medium
  end
end