Last active
April 21, 2022 01:16
-
-
Save cliffordp/122c8eda56e2302926b74aec65be4363 to your computer and use it in GitHub Desktop.
Export Netflix's My List, Watch History, and thumbs up/down or ratings. Screenshot of Netflix Ratings vs script's output: https://cl.ly/4e15a4de21a6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// These instructions for exporting Netflix's My List, Watch History, and Ratings worked for each profile on August 4, 2019. | |
// 1) Go to https://www.netflix.com/browse/my-list and use https://addons.mozilla.org/firefox/addon/netflix-list-exporter/ to copy. | |
// 2) Go to https://help.netflix.com/en/node/101917 and follow instructions to download CSV of Watch History. | |
// 3) Use the snippet below in the browser's console at https://www.netflix.com/MoviesYouveSeen, then copy and paste to wherever you wish. | |
// Code was altered from https://www.coollector.com/netflix_import.html, but I haven't ever used their software. | |
// 4) Go to https://www.netflix.com/cancelplan and cancel (if that's why you're doing all this): | |
// "Restart your membership anytime. Your viewing preferences and account details will be saved for 10 months." | |
var result = ''; | |
var $ = jQuery; | |
$( '.retableRow' ).each( function ( i, el ) { | |
if ( $( el ).find( '.rated' ).hasClass( 'rated-up' ) ) { | |
result += '[+] '; | |
} else if ( $( el ).find( '.rated' ).hasClass( 'rated-down' ) ) { | |
result += '[-] '; | |
} else { | |
result += '[' + $( el ).find( '.rating .personal.icon-star' ).length + '] '; | |
} | |
result += '\t' + $( el ).find( '.title' ).text() + '\t'; | |
result += 'https://www.netflix.com' + $( el ).find( '.title a' ).attr( 'href' ) + '\n'; | |
} ); | |
console.log( result ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment