0.3.6 • Published 3 years ago

netflix-migrate v0.3.6

Weekly downloads
23
License
MIT
Repository
github
Last release
3 years ago

netflix-migrate Build Status

A command line utility to export and import your ratings.

Usage

To do its task, this tool needs to make Netflix believe that it is you. Sadly, this can no longer be done with just your username and password. Instead, you will have to extract the cookie Netflix sets for you and provide it to the CLI. But don't worry, I'll guide you through the entire process.

Extracting the cookie

First, you'll need to login to Netflix and select your profile, just as usual. Now, please open your browser's dev tools by pressing F12 or right-clicking on the website and choosing "Inspect". Please select the "Network" tab on the top of the window that just popped up.

You should see a list of requests that Netflix is making. Scroll to the very top, where you should find a request to www.netflix.com. If you don't see this request, just reload the page while the network tab is open and look for it, again.

Next, please click on this request. A new area should appear with a tab named "Headers". In that tab, please scroll down to the area titled "Request Headers" and search for cookie: [very long value]. Please copy this entire value. Make sure you do not miss any characters.

Passing the cookie to the CLI

Now that you've got your cookie, you can execute the actual commands. Please replace the actual values below with your own. Make sure the cookie is surrounded by quotation marks! That section of the command should look somewhat like --cookie "memclid=...%7D" (your value inside the quotation marks might vary!). Here are the commands you'll need:

npx netflix-migrate --cookie "your=cookie from=just-now" --profile Lana --export netflixData.json
npx netflix-migrate --cookie "your=cookie from=just-now" --profile Lana --import netflixData.json

You will be prompted for your cookie, and/or profile name if not provided as a parameter. In this case, please make sure you don't wrap the value by quotation marks! If you do not specify a file path for --export or --import, stdout and stdin will be used, respectively. If --export or --import are not provided, --export is assumed ( and stdout will be used).

Your exported data will also contain your viewing history. Currently, the import function is only able to import the rating history, but that will hopefully change soon. However, you now already have your data and once the functionality is added you will be able to import your old viewing history too, even if you don't have any access to the old account anymore.

Warning

Use of this software may constitute a breach in the Netflix Terms of Use and/or the End User License Agreement. Use at your own risk.

2.0.0-beta.2

3 years ago

2.0.0-beta.1

3 years ago

2.0.0-beta.0

3 years ago

0.3.6

5 years ago

0.3.5

5 years ago

0.3.4

5 years ago

0.3.3

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

6 years ago

0.0.7

6 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

8 years ago

0.0.1

8 years ago