Giter Site home page Giter Site logo

for_jeff's Introduction

Prereqs

  1. ruby
  2. bundler

Instructions

  1. run bundle install
  2. run cp config.env.example config.env
  3. add access ID and secret key to config.env
  4. run CONFIG=./config.env bundle exec rake scrape['ride a bike,food,keyboard']
  • Some rake idiosyncrasies to keep in mind:
  • terms should be surrounded by single quotes (to handle spaces)
  • do not put spaces between commas
  • for zsh we need to escape brackets CONFIG=./config.env bundle exec rake scrape\['ride a bike,food,keyboard'\]

Expected Results

{"pda"=>91.47334822052612, "umrp"=>4.282840309591484, "umrr"=>2.2769165748150057e-11, "upa"=>64.05914663184276, "uu"=>"www.wikihow.com/Ride-a-Bicycle"}
{"pda"=>100, "umrp"=>3.6991472459861594, "umrr"=>3.566524391984878e-12, "upa"=>50.4958788474628, "uu"=>"www.youtube.com/watch?v=pRk1xZbahf0"}
{"pda"=>39.918327608172646, "umrp"=>5.1356199784352565, "umrr"=>3.4166987037344435e-10, "upa"=>50.00431865416945, "uu"=>"ridesabike.com/"}
{"pda"=>84.97257848938378, "umrp"=>4.295605922382171, "umrr"=>2.3711282027473694e-11, "upa"=>55.061651658231774, "uu"=>"www.rei.com/learn/expert-advice/teach-child-to-ride-a-bike.html"}
{"pda"=>21.917990686742694, "umrp"=>5.183644428165988, "umrr"=>3.979678278509527e-10, "upa"=>33.91593451658509, "uu"=>"www.rideabike.com/"}
{"pda"=>18.150572902923773, "umrp"=>4.1106356616400825, "umrr"=>1.3177138007888433e-11, "upa"=>29.71654345393226, "uu"=>"rideabikeright.com.au/"}

for_jeff's People

Contributors

daniely avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.