Coder Social home page Coder Social logo

jeopardyscraper's Introduction

Jeopardy Scraper

James Holzhauer has been on a Streak of continually winning Jeopardy. There is a site called TheJeopardyFan.com that blogs results of Jeopardy games.

I wrote a simple script using Puppeteer to extract data from the site including the current day's winnings, current streak, and total winnings for James.

There are plenty of kinks in the scraper currently such as if James does not play a day for some event on Jeopardy or if the blog post hasn't been published that day. This will be improved over time.

How to run

  1. Clone this repo down
  2. Install dependencies (yarn install or npm install)
  3. Run the script: node index.js

jeopardyscraper's People

Contributors

lannonbr avatar

Watchers

 avatar

jeopardyscraper's Issues

Alexa / Google Assistant support

It would be neat to say things like the following:

  • "Ask Jeopardy Scraper how much James has won?"
  • "Ask Jeopardy Scraper how much did James win today?"
  • "Ask Jeopardy Scraper how many days James has been playing for?"
  • etc.

Containerize scraper

Wrap this in a Docker container so it can be easily run without necessarily needing to download dependencies directly on a machine but rather in a container that can be easily blown away.

Grab last day's results if show hasn't aired today

If the current day's round hasn't aired, grab the last day's results. For Tuesday through Friday I can subtract a day to get the day. For Monday, I will have to subtract 3 days.

I am thinking of using a fetch request to the site and if it doesn't return a 200 OK response, then subtract the time amount and run through the scraper

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.