Last active
March 16, 2018 20:48
-
-
Save salma71/b7c83a0b0f133bddcaf0800e38d30994 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def self.scrape | |
@doc = Nokogiri::HTML(open("http://www.packopumps.com/en/products/different-kind-of-pumps")) | |
@scraping_block = @doc.css("div.listingByBlockContainer div.categoryBlock") | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment