This script runs in your browser and allows you to save your watch history from Amazon Prime Video to a CSV file, where it can be processed further or imported into other platforms.
You can run the script by going to primevideo.com/settings/watch-history, copying the code in watch-history-exporter-for-amazon-prime-video.js, and pasting it into your browser's devtools console.
Caution
For security reasons, I do not recommend running scripts from the internet unless you understand what they are doing. If you are not a developer, I recommend reading the comments in the code and/or asking a LLM like ChatGPT to explain it to you.
Detailed instructions:
- Open primevideo.com/settings/watch-history in your browser
- Open your browser's devtools console (how?)
- Copy the code in watch-history-exporter-for-amazon-prime-video.js and paste it into the console. If this doesn't work or you see a warning message about pasting, see the FAQ.
- Press enter to run the script. You should see the script running in the console and you'll be prompted to save a file when it finishes. If this doesn't happen, see the FAQ.
Some browsers prevent you from pasting code in the console because it could be malicious. This is called Paste Protection and you can read more about it on the Chrome for Developers Blog.
If this happens, follow the instructions in the console to re-enable pasting, and then try again. For Chrome, the following steps should work:
- Try to paste something in the console. You should get a warning message about pasting
- Type "allow pasting" in the console and press enter
See this video for a visual walkthrough.
Make sure that you select the entire file with Ctrl + A when copying it. If part of the script is cut off, it won't work.
If you have a default download folder set, check if the file is there.
Otherwise, make sure "Pop-ups and redirects" and "Automatic downloads" are enabled for www.primevideo.com in your browser settings.
If you encounter any problems with the script, feel free to create an issue.
Contributions and forks are welcome. By contributing code, you agree to waive all claim of copyright to your work and release it to the public domain.
This project is released into the public domain. See the LICENSE for details. Attribution is appreciated but not required :)