Skip to content

Steam gameplay hours tracker which captures hours from hidden steam profiles

License

Notifications You must be signed in to change notification settings

darrenwatt/steam_tracker_scraping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Steam Tracker (HTML Scraping)

Steam gameplay hours tracker which captures hours from steam profiles. This is useful in case the player is gaming with their profile hidden which broken the previous script.

What it does

  • Scrapes HTML from Steam profile.
  • Logs total hours of gameplay for a game.
  • Compares against previous days result.
  • Plots it on a pretty graph which you can link to, put on a website, etc.

How to use

You need a plot.ly account for the graphs, signup here: https://plot.ly/

Rename the sample-config.py to config.py and edit values.

Set up steam_logging.py and graphing.py to run as a crontab once a day.

55 23 * * * python /home/user/scripts/steam_logging.py > /dev/null 2>&1

58 23 * * * python /home/user/scripts/graphing.py > /dev/null 2>&1

That's it. If it all works, updated graphs will appear in your plot.ly page.

About

Steam gameplay hours tracker which captures hours from hidden steam profiles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages