statement 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/statement/scraper.rb +1 -1
- data/lib/statement/version.rb +1 -1
- metadata +3 -3
data/lib/statement/scraper.rb
CHANGED
@@ -413,7 +413,7 @@ module Statement
|
|
413
413
|
doc = open_html(url)
|
414
414
|
return if doc.nil?
|
415
415
|
doc.xpath("//li")[7..-1].each do |row|
|
416
|
-
results << { :source => url, :url => "http://"+domain
|
416
|
+
results << { :source => url, :url => "http://"+domain+'/public/'+row.children[3].children[1].children[4].children[0]['href'], :title => row.children[3].children[1].children[4].text, :date => Date.strptime(row.children[3].children[1].children[0].text, "%m/%d/%y"), :domain => domain}
|
417
417
|
end
|
418
418
|
results
|
419
419
|
end
|
data/lib/statement/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: statement
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 5
|
10
|
+
version: 1.0.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Derek Willis
|