In LBBO/netflix-migrate#31 is was discussed, that setting viewing history was not possible based on the known APIs. Since that means, that migrating multiple profiles to the same account is not possible, I took a shot and created a working variant based on what was already given.
netflix2.js
// TODO: use ES6 import / export
// import async from 'async'
// import cheerio from 'cheerio'