Created
March 8, 2018 23:47
-
-
Save jonathanmv/b6c5f269508e0bf15f4b0544fc37ccd7 to your computer and use it in GitHub Desktop.
Generate a video from a medium post
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const makeVideo = async (username, postId) => { | |
const analysis = await mediumHelper.getUserPostAnalysis(username, postId) | |
const speechPath = await awsHelper.saveSpeechLocally(analysis) | |
const screenshotPath = await mediumHelper.saveUserPostScreenshotLocally(username, postId) | |
return mediaHelper.createVideo(screenshotPath, speechPath) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment