LBBO / netflix-migrate

A command-line tool to migrate data to and from Netflix profiles
MIT License
266 stars 32 forks source link

Cant import data to new netflix account #70

Closed ChunkyCookie88 closed 1 year ago

ChunkyCookie88 commented 2 years ago

C:\Users\perchr> C:\Users\perchr>netflix-migrate --email example@email.com --profile Christoble --import downloads\netflixdata.json (this is the location I exported the data to before anyone says anything about it) Password: Logging into Netflix as example@email.com C:\Users\perchr\bin\nodejs\node-v16.15.1-win-x64\node_modules\netflix-migrate\node_modules\netflix2\lib\netflix2.js:465 self.authUrls[url] = context.netflix.reactContext.models.memberContext.data.userInfo.authURL ^

TypeError: Cannot read properties of undefined (reading 'data') at Request._callback (C:\Users\perchr\bin\nodejs\node-v16.15.1-win-x64\node_modules\netflix-migrate\node_modules\netflix2\lib\netflix2.js:465:78) at Request.self.callback (C:\Users\perchr\bin\nodejs\node-v16.15.1-win-x64\node_modules\netflix-migrate\node_modules\request\request.js:185:22) at Request.emit (node:events:527:28) at Request. (C:\Users\perchr\bin\nodejs\node-v16.15.1-win-x64\node_modules\netflix-migrate\node_modules\request\request.js:1154:10) at Request.emit (node:events:527:28) at Gunzip. (C:\Users\perchr\bin\nodejs\node-v16.15.1-win-x64\node_modules\netflix-migrate\node_modules\request\request.js:1076:12) at Object.onceWrapper (node:events:641:28) at Gunzip.emit (node:events:527:28) at endReadableNT (node:internal/streams/readable:1345:12) at processTicksAndRejections (node:internal/process/task_queues:83:21)

C:\Users\perchr>

webknjaz commented 2 years ago

I'm also having the same problem. Except I'm under Gentoo Linux. I suppose something's changed on the Netflix's side and this project needs to account for that now.

webknjaz commented 2 years ago

I've re-run the export command just now, and it didn't crash with this traceback, but succeeded. I suppose it may've been a temporary issue or a corner case happening in rare circumstances.

TechRemarker commented 2 years ago

This is happening for me as well. Exported the data back in April. Attempting to import now from a Mac using latest Ventura beta.

`Logging into Netflix as [myemail] /opt/homebrew/lib/node_modules/netflix-migrate/node_modules/netflix2/lib/netflix2.js:465 self.authUrls[url] = context.netflix.reactContext.models.memberContext.data.userInfo.authURL ^

TypeError: Cannot read properties of undefined (reading 'data') at Request._callback (/opt/homebrew/lib/node_modules/netflix-migrate/node_modules/netflix2/lib/netflix2.js:465:78) at Request.self.callback (/opt/homebrew/lib/node_modules/netflix-migrate/node_modules/request/request.js:185:22) at Request.emit (node:events:527:28) at Request. (/opt/homebrew/lib/node_modules/netflix-migrate/node_modules/request/request.js:1154:10) at Request.emit (node:events:527:28) at Gunzip. (/opt/homebrew/lib/node_modules/netflix-migrate/node_modules/request/request.js:1076:12) at Object.onceWrapper (node:events:641:28) at Gunzip.emit (node:events:527:28) at endReadableNT (node:internal/streams/readable:1345:12) at processTicksAndRejections (node:internal/process/task_queues:83:21)

Node.js v17.8.0 `

TechRemarker commented 2 years ago

Figured it out based on a similar issue on here. The issue is that when it asks for Password, I assume it was asking for my computer password but it meant "Netflix" password. Entering that worked! However, from my very long list of films 4577 most seem to no longer be on Netflix as all feature films and seems Netflix mostly only has their only shows now, so none of those ratings were applied since the shows no longer exist. Also all the old movies had 1-5 rating system so those wouldn't work now anyway it seems since netflix uses up and down. But on more recent shows on my list that use thumbs up, those did successfully apply however that was only 107, so had been hoping Netflix's algorithm from having Netflix since college would still apply with my new account since ex partner retain the previous account, but since will only be based on 107 likes doesn't seem like will be very helpful, but it's something.

LBBO commented 1 year ago

Hey everyone! Sorry for not helping out with this issue for so long, I was just really busy and, quite frankly, fed up with playing catchup with changes to Netflix's API or DOM structure or whatever every couple of months.

However, there's some good news! In case anyone hasn't heard, Netflix now officially supports account migration, including viewing history! For more details, see their official documentation. Since that feature implements exactly what this project was aiming to do, I will officially archive this repository now (see #73). Feel free to reach out if you have any further questions!