dilkhush / page_source

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

page_source

Gem to fatch page source of a given url.

How to use: Step 1. include the gem 'page_source' in your Gemfile

gem 'page_source'

Step 2. include in PageSource in your code

Include PageSource

Step 3. call the method get_page_source with a valid url.

get_page_source 'https://www.google.co.in'

In Future:

  • save the page source and save it on aws cloud (s3) Or locally.
  • get the dependent resource also like script, css files

About


Languages

Language:Ruby 100.0%