consadole_aggregator 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -115,7 +115,7 @@ module ConsadoleAggregator
115
115
  end
116
116
 
117
117
  sites.name(:asahi) do |site|
118
- site.resource { HTTPClient.new.get_content('http://www.asahi.com/sports/list/soccer/national_news.html').force_encoding.encode('UTF-8') }
118
+ site.resource { HTTPClient.new.get_content('http://www.asahi.com/sports/list/soccer/national_news.html').force_encoding('EUC-JP').encode('UTF-8') }
119
119
  site.parse_list { |list| Nokogiri::HTML(list).search('#HeadLine2 dl dt a').reverse }
120
120
  site.filter_article { |article| article.text =~ /札幌|コンサ/ }
121
121
  site.parse_article { |article| { url: "http://www.asahi.com#{article['href']}", title: article.text } }
@@ -1,3 +1,3 @@
1
1
  module ConsadoleAggregator
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: consadole_aggregator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: