description
Script was used to migrate article videos to new version of a website
workflow
- Clean up destination database
- Read video data from source database
- Process data:
- For YouTube - extract video id
- For Brightcove - convert ids to ids from new video hosting platform
- Store data in destination database
technologies
Node.js with Async/Await
knex library for MySQL and SqlServer
cheerio
JSON