Fix Ramda scraper (#999)

Fix Ramda scraper

Co-authored-by: Jasper van Merle <jaspervmerle@gmail.com>
pull/1036/head
Jasper van Merle 6 years ago committed by GitHub
commit c4c45f7af3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -11,7 +11,7 @@ module Docs
css('.card').each do |card|
title = card.at_css('h2')
added_in = card.at_css('small')
added_in.parent = title
added_in.parent = title if added_in.present?
end
css('.params').each do |node|

@ -1,8 +1,8 @@
module Docs
class Ramda < UrlScraper
self.type = 'ramda'
self.release = '0.25.0'
self.base_url = "http://ramdajs.com/#{release}/docs/"
self.release = '0.26.1'
self.base_url = "https://ramdajs.com/#{release}/docs/"
self.links = {
home: 'http://ramdajs.com/',
code: 'https://github.com/ramda/ramda/'
@ -22,4 +22,3 @@ module Docs
end
end
end

Loading…
Cancel
Save