Skip to content

Commit

Permalink
Update scraper.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
iecaff committed May 17, 2015
1 parent f818a27 commit 4381bfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
con_image = con_page.uri.merge image_url
puts con_image

con_nodes = con_page.parser.css("div[class='node node-article clearfix']")
con_nodes = con_page.search("div[class='node node-article clearfix']")
con_text=con_nodes.map(&:text).delete_if{|x| x !~ /\w/}
con_text.each do |con_string|
puts "next"
Expand Down

0 comments on commit 4381bfa

Please sign in to comment.