Closed syzer closed 6 years ago
I just tried this..
const { getSubtitles } = require('youtube-captions-scraper');
getSubtitles({
videoID: 'JueUvj6X3DA',
lang: 'en'
}).then(captions => {
console.log(captions);
});
and it works fine. I see there is a PR. Has it not been merged because this works?
Maybe now it works... 👍 It wasn't the case earlier.
Hi, thanks for the great work. Some videos are still not working for english subtitles!
Try this one Uar2hXRrckY. Thanks.
@rvizcaino80
Here's fix for this one :
npm i --save youtube-captions-scraper-fix
Do you accept PR's ? Because I have a fix and not sure shall I publish fix on npm or PR here.. Ok I did both. BTW Great work guys.