https://github.com/muhammadawaisshaikh/web-srcrapper-ror
Web Scrapper using Ruby
https://github.com/muhammadawaisshaikh/web-srcrapper-ror
nokogiri pry ruby
Last synced: over 1 year ago
JSON representation
Web Scrapper using Ruby
- Host: GitHub
- URL: https://github.com/muhammadawaisshaikh/web-srcrapper-ror
- Owner: muhammadawaisshaikh
- Created: 2019-06-26T07:43:16.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-12-31T02:50:53.000Z (over 5 years ago)
- Last Synced: 2025-01-31T15:17:27.357Z (over 1 year ago)
- Topics: nokogiri, pry, ruby
- Language: Ruby
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# web-srcrapper-ror
# creating new app
rails new web-srcrapper-ror
# adding GEMS
gem "nokogiri"
gem "pry"
# show responce in terminal by typing:
ruby main.rb
# refrence
https://medium.com/@jonwu_/scraping-with-nokogiri-without-blowing-your-brains-out-da3137082370
# gem 'sinatra'
Sinatra is a DSL for quickly creating web applications in Ruby with minimal effort
# passing data to view
<% @data.each do |item| %>
<%= item %>
<% end %>
# starting sinatra server
ruby main.rb