r/programminghelp • u/margusutivus • Oct 16 '20
Python Monitoring Time Spent on Websites
Hey there everyone, I'm currently working on a personal project to get me to stop procrastinating by monitoring how much time I've spent on a particular website (i.e. YouTube, Reddit, Netflix, etc) and closing the tab in question after a given amount of time. Does anyone have some advice as to how I can access that information and how I can get the tab to close, or is there documentation you could refer me to? Thanks so much! (I'm using Python but if that's the wrong language - which is entirely possible given my lack of real experience - let me know!)
3
Upvotes
1
u/[deleted] Oct 16 '20
The best you'll be able to do would be a UserScript