Created
July 9, 2018 23:13
-
-
Save schappim/1a74ad35a097ad9050684a234c4beaa6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'httparty' | |
require 'nokogiri' | |
# Set the URL of the page we want to scrape | |
url = "https://www.kitronik.co.uk/5632-klip-halo-for-the-bbc-microbit.html" | |
# Download the webpage | |
response = HTTParty.get url | |
# Print out the webpage | |
puts response.body |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment