mikesteele / dual-captions

🌐 Subtitles in two languages for YouTube & Netflix
https://chrome.google.com/webstore/detail/two-captions-for-youtube/lpeonmjfimoijceaalocpgjjchocbiap/related
MIT License
232 stars 41 forks source link

v1.5.0 - Netflix - Can't intercept Chinese/Japanese/Korean subtitle requests #70

Open mikesteele opened 6 years ago

mikesteele commented 6 years ago

At the moment, DC can't intercept Chinese/Japanese/Korean subtitle requests. They don't follow the pattern used by the background page. (https://github.com/mikesteele/dual-captions/blob/master/public/background.js#L2 and https://github.com/mikesteele/dual-captions/blob/master/src/tests/background.test.js#L48) So they can't be replayed and loaded in the app to be used as second subtitles.

siikamiika commented 5 years ago

I found this repository when looking for ways to get the images from .image-based-timed-text, and managed to create a proof of concept hook into the image subtitles using OCR and userscript. I havent' tried DC, but I'll leave this here hoping it's useful for someone: https://github.com/siikamiika/scripts/tree/master/netflix-sub-ocr

mikesteele commented 5 years ago

Cool! Thanks for sharing! :-)