class CrowdFundingParser::Parser::Webackers
Public Class Methods
new()
click to toggle source
# File lib/crowd_funding_parser/parser/webackers.rb, line 4 def initialize @platform_url = "http://www.webackers.com" @item_css_class = ".cbp-item" @status_css_class = "li.timeitem" end
Public Instance Methods
get_lists()
click to toggle source
# File lib/crowd_funding_parser/parser/webackers.rb, line 10 def get_lists categories = ["ART", "PUBLICATION", "MUSIC", "DESIGN", "TECHNOLOGY", "ACG", "SURPRISE", "CHARITY", "VIDEO"] categories.map do |category| category_url = @platform_url + "/Proposal/Browse?queryType=ALL&fundedStatus=ALL&category=#{category}" HTTParty.get(category_url) end end