LBBO / netflix-migrate

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

Add viewing history and version to export #23

Closed LBBO closed 5 years ago

LBBO commented 5 years ago

The export function doesn't export just an array containing the rating history anymore. Instead, it exports an object, containing information about the current version of the package (just in case that information is needed in the future), the rating history and the viewing history.

The viewing history can not be imported yet. However, now users will always have that information and whenever the ability to import viewing history is added, they can just import their old data.

This version is also backwards compatible, as it can still import data from exports made with previous versions.