fetch page content in main.rb