Let's say I want to make some sort of program together with Arduino that can track websites the user uses.
Is there someway to either: use the browsing history or the website usage realtime, and use this in Processing?
I did something like that once with a proxy. You can write a simple proxy with mitmproxy.py (https://github.com/mitmproxy/mitmproxy) that saves or sends you the urls that pass through. You will just have to set your browser to use the proxy and you can get the realtime browsing information.
Okay so: I downloaded a chrome app that stores web browsing data.
This saves me some time. Basically this app generates a file in Localstorage from chrome. Now I found a way to check this localstorage file for strings and export the websites. The only problem is that processing doesn't seem to convert the file very well after a while.
Answers
I guess that you could browse the files and find the google chrome history files. not sure if that is possible though
I did something like that once with a proxy. You can write a simple proxy with mitmproxy.py (https://github.com/mitmproxy/mitmproxy) that saves or sends you the urls that pass through. You will just have to set your browser to use the proxy and you can get the realtime browsing information.
Okay so: I downloaded a chrome app that stores web browsing data. This saves me some time. Basically this app generates a file in Localstorage from chrome. Now I found a way to check this localstorage file for strings and export the websites. The only problem is that processing doesn't seem to convert the file very well after a while.
My current code:
It works pretty great with the "Time Tracker" chrome app. Only after a while the text seems to be corrupted.
Is this a good way to tackle the problem?
Greetings.
highlight code, press ctrl-o