I have been working on a python code which shows the time spent on an applicaton based on keyboard and mouse movement. I can set the start and stop time, the output of this code is the duration I spend on each application in the set duration. I have also added "idle time" which happens when I am not working on the system.
My question is, In case I am using a browser app like chrome or firefox or others, I need the name of the website. This will help me track how much time I am spenting on those websites