Download Japanese subtitles as TEXT from Netflix using a Kodi plugin

Note: while this article is written from the perspective of obtaining Japanese subtitles, it should work just as well for subtitles in other languages.

Update 9/9/18: New version 0.13.12 of the plugin released, should fix login issues.

My journey of obtaining Japanese subtitles from Netflix has been a long one, but I’ve finally arrived at the holy grail: downloading the Japanese subs as TEXT. We had previously discovered that you could download Japanese subtitles as images using a script in your web browser. You could then perform OCR to turn those subtitles into text. While this worked alright, the subtitles weren’t perfect, and would contain some amount of errors that would need to be manually corrected.

This new method is a little more difficult to get set up, but lets you get the subtitles perfectly without any errors. However, there is still one caveat with this method: available subtitles are mostly based on your location. So, this means that MOST Japanese subtitles are only available for people who are physically located in Japan, or who are using one of the few working Japanese VPNs. So the other method of downloading the image-based subtitles might work better for some people, depending on your situation.

I just want the subs!

I have already downloaded Japanese subtitles from over 100 shows and movies, including most native Japanese Netflix originals, and you can grab them all here.

I want to do it myself!

This process involves installing a home theater application called Kodi, and then installing a plugin for it that will allow you to sign into Netflix and then automatically save SRT subtitles for any files videos that you try to play.

The NetflixSubs plugin and installation instructions have been moved to a GitHub page here: https://github.com/Zarxrax/NetflixSubs

Just click through to that page and scroll down for instructions on how to download and install the plugin.

Here is a video tutorial by Matt VS Japan, which shows how to install Kodi and the NetflixSubs plugin, and download subtitles. This uses an older version of the plugin, and some things have changed, but this still gives you a basic overview of how to get things set up.

 

 

217 thoughts to “Download Japanese subtitles as TEXT from Netflix using a Kodi plugin”

  1. Great news!!!
    The whole process it’s not too cumbersome for me using the original tool, except when using a VPN to watch Japanese Netflix (it can take ages depending of how many episodes there are). So I would be eagerly waiting for the VPN workaround 🙂
    Thanks!

    1. Just to let you know, it is working with VPNs. Turns out the one I was originally testing it on didn’t actually work with Netflix. Once I found one that actually works, there were no problems.

  2. This is amazing!
    I gave up on the OCR method and was thinking there no hopes of extracting netflix subs anymore. Then bam! This page popped up, I was blind not seeing this page first LOL This method is so fast to get subs on netflix~
    Thank you so much for your hard work ^^

    1. Hmmm, this is interesting. I’m not really sure why the arabic subtitles aren’t coming up now. I didn’t really change anything from the original AhmedBakfir code that should cause them to NOT show up. In fact I even tried reverting to that original code now, and I still don’t see them, even if I set my netflix to arabic.

      1. I already downloaded arabic subs with your script , but there is a a wierd thing
        the download only work in first time after installing kodi+script, closing kodi and opening it
        it won’t start downloading

        1. Looking at your log, it appears that it is failing before it even gets to any of my modified code, so I think it might be an issue in the netflix plugin itself. It’s really strange that it works at first, but then wont work any more when you restart kodi.

          After you exit kodi, have you checked the task manager to make sure that the kodi process is completely stopped? What happens if you reboot your pc and then try again?

          1. I installed the latest build of kodi 18 ,It works very well and twaeking the setting works also
            thank you

  3. When I tried this on March 22, it worked perfectly. However, when I tried to do it today, I could not download any of the subtitles. Nothing was appearing in the Subtitles folder anymore. Has this happened to anyone else? I tried over 15 different series and nothing.

    1. It’s still working for me. Is the file “Subtitle_urls.txt” in your Kodi folder getting updated when you try to download anything? Did you try to modify the file MSL.py to change any settings?
      You may need to try completely uninstalling Kodi (or maybe just the netflix plugin) and set it back up again.

      Are you trying to get a specific language, and what are a couple of the show titles you were trying?

      1. I actually reinstalled kodi after doing a permanent uninstall (kodi 18) and re-followed the instructions to install the netflix plugin. It still didn’t work lol. One thing I noticed was that the “Subtitle_urls.txt” is no longer there after the reinstall.
        I did not modify the MSL.py file.
        For the language I’m do Japanese (set skin font to Arial based because my Netflix language is in Japanese). Some titles I’ve been trying to download are: Attack on Titan, Ghost in the Shell, B: The Beginning, Erased (live action).
        I’m also using a VPN to get Japanese Netflix, though I don’t think that’s the problem as I had no issues a week ago.

        1. One other thing you can test out. Browse to your userdata folder:
          https://kodi.wiki/view/Userdata

          From there, go into the addon_data folder, then the service.msl folder, and locate a file called manifest.json.

          This file gets replaced each time you try to load a video in the netflix plugin. Open it up in a text editor to view the contents.

          Whenever I try using an unsupported proxy server, this file will end up containing an error message saying that I can’t access netflix through that proxy. But when things are working normally, I find a really long line of text containing some key words such as “viewables”, “videoenctrypted”, “texttracks”, “downloadables”, and so on, as well as some really long URLs.

          Perhaps this can give some insight into whats going on.

          1. I took a look but there weren’t any errors in that file. It was like you said with the long line of text. Thanks for helping me troubleshoot, hopefully I can figure it out sometime.

    1. Fixed my own problem. The bug—which may be Mac-specific if this didn’t happen for you on Windows; I’m on macOS Sierra—is in MSL.py, on Lines 50 and 52. (/Users/$USER/Library/Application Support/Kodi/addons/plugin.video.netflix/MSL.py).

      With `os.makedirs(‘Subtitles’)`, Kodi was trying to create a “Subtitles” directory where it didn’t have permission to do so. So that, and the corresponding `os.path.isdir(‘Subtitles’)` had to be changed to a different location. In my case I changed them to point to `’/Users/$USER/Downloads/Subtitles’` (replace $USER with your username). Saved, restarted Kodi, the error went away and I was finally able to log in.

      1. Thanks for your feedback, its a big help!
        I’ll see if I can’t learn how to implement the file handling in a more cross-platform manner.

      2. I’ve released a new version of the plugin that lets you properly select where you want to save the files from within the plugin settings menu. This should make it work across all systems. Thanks for letting me know about this issue!

  4. Can we carry the Arabic translation by adding a Netflix to the Cody program?

    If the answer is no.

    Can you modify the addition to download the Arabic language translation

    1. I’m having some difficulty to understand your question. You are asking about a translation for the interface of this plugin? Or about how to download arabic subtitles? Or how to play back video with arabic subtitles?

        1. Netflix decides what subtitles you can download based on your location.
          If you are inside a country that uses Arabic, then you should be able to download the Arabic subtitles. But if you live in a country where the primary writing is not Arabic, then the arabic subtitles will not be available.
          If you can’t see arabic subtitles, you might be able to use a VPN from an arabic location, and the subtitles will become available.

  5. One thing I care about more. I don’t know if it’s a kodi client’s problem. Long-term works only show up to 42 episodes.

        1. Thanks, I checked into it and it looks like this is a known problem in the Netflix plugin for Kodi. Once the bug is fixed by them, I will release a fixed version of my plugin. It has been posted on their issue tracker since february, so I don’t know when it will be fixed.

  6. I’m getting an error with the dependency script.module.pyrcryptodrome version.

    I cant get a capture of the full version but i tried ti pip install pycryptodrome and it still didnt work. Any suggestions?

      1. CAddonInstaller: installing from zip ‘/Users/ybfe1853/Downloads/plugin.video.netflixsubs-0.12.7.zip’
        00:37:51.237 T:123145303453696 DEBUG: CAddonInstallJob[plugin.video.netflixsubs]: requires script.module.pycryptodome version 3.4.3 which is not available
        00:37:51.237 T:123145303453696 ERROR: CAddonInstallJob[plugin.video.netflixsubs]: The dependency on script.module.pycryptodome version 3.4.3 could not be satisfied.

        1. I reviewed the list of dependencies for netflix, and I do see there is a dependency for pycryptodomex which appears to be a modified version of pycryptodome. So you can try pip install pycryptodomex

          I’m curious why the dependencies wouldn’t automatically be fullfilled, as I have never had to manually install anything like that. Did you make sure you are using kodi 18 rather than 17? And what OS are you on?

          1. It works now, turns out I was using the wrong version… silly me. However Now I am having another problem. The subtittles downloaded properly a few nights ago, but now clicking a video won’t download anything.

            I found this snippet in the log:
            19:02:47.044 T:10608 NOTICE: VideoPlayer::OpenFile: [url removed due to causing formating issues]
            19:02:47.044 T:12788 NOTICE: Creating InputStream
            19:02:47.678 T:12788 ERROR: AddOnLog: InputStream Adaptive: Could not open / parse mpdURL (http://localhost:61990/manifest?id=80174933)
            19:02:47.678 T:12788 ERROR: CVideoPlayer::OpenInputStream - error opening [url removed due to causing formating issues]
            19:02:47.678 T:12788 NOTICE: CVideoPlayer::OnExit()

          2. After taking a look at the code i noticed that the mpdURL that the play_item function in kodihelper.py is trying to put together:
            http://localhost:61990/manifest?id=80174933

            returns a page with a status error code of 400 stating that the document is empty….
            not sure if you’ve seen that before or know what it means.

          3. Ended up uninstalling Kodi and going with an earlier build (March-24th), works like a charm now. Awesome plugin!

          4. Thanks for all of your feedback. I’ll do some further testing to try and isolate where the problem was introduced, so that it can either be fixed, or at least to let people know what versions they can to use.

    1. Wait! Now i found the way how this working! First i change my download folder! Then i just click to a video and of curse no need to play! If you click to the video then automaticaly download your correct language for subtitlte!

        1. If you selected a specific language in the settings, then its possible that language is not available for you, and nothing will be downloaded. If you don’t select any language in the settings, then it will get every language that is available to you.

          Since you said it was working before, I suspect that you are just trying to get a language that you can’t get for a certain show.

  7. Hi, Alan. I wanted to download only Japanese subtitles but I’ve found that writing “JA” in the settings doesn’t work (it doesn’t download anything), BUT writing “ja” (lowercase) works.
    So, it seems that this option is case sensitive. I used the all caps “JA” because that’s the way it’s written in the name of the .srt file, but it’s lowercase in the Subtitle_urls.txt file, and that’s the one that counts.
    If you can’t modify the script to make it case insensitive, maybe you could just write something like “(lowercase)” near that option. It’s a stupid problem, I know, but it took me a while to solve it, and maybe this could be useful to other people.

      1. Just want to mention that JONATHAN is right. I did the same for Greek subs and just wrote “el” (el not gr) in the settings instead of capital “EL”. The first worked, the second not. Nice try for this plugin though. Just my thoughts:

        1) Plugin crashes when you “download” the sub you want. This should be fixed. Any eta for this?
        2) We must have the chance to download the WHOLE serie (e.g S01) and not only one sub at the time.
        3) I think the dev of this plugin should talk with this dev here https://github.com/asciidisco/plugin.video.netflix/issues/361. I have open an issue for his plugin.video.netflix for the image-based sub support. I think the NetflixSub plug in may be a possible solution to his problem (if those 2 plugins can be united into one).

        1. 1) The crashing seems to be related to newer builds of Kodi. Somone mentioned that the build from April 9 was working for them. I know I’m using a build that is a month or two old and its working fine. When I get some time, I’ll try to dive a bit deeper into what is causing that problem.

          2) Good idea, but I think that might be a little difficult to implement. I’ll check into it.

          3) This plugin is just a simple hack of that Netflix plugin, I can’t do anything to help add support for image subtitles.

          1. I ve downgraded to a build from 9 April and kodi does not crash. It stores the files (subs) as expected. It even PLAYS the video file normally (you can see that the greek subtitles do exist in subs settings as Greek Modern 1453 file) but – as it is not its purpose – subtitles are not superimposed in video.
            I know it s a different plugin from this (https://github.com/asciidisco/plugin.video.netflix) but in your plugin’s subs settings i can see the greek subs (which they supposed to be image subs like japanese) while in asciidisco’s NOT!. That means that you may have the answer for the lack of greek/hebrew/japanese subs for his plugin…

  8. Hello,

    Thanks for all your hard work. Unfortunately it doesnt seem to be downloading the japanese subtitles for me. I have used a VPN, but it doesnt download irrespective of whether the VPN is being used or not. Any Ideas?

  9. Hi,

    I am on a Mac and when I try to install the zip file, it comes up with a message saying installation failed. Do you know how to resolve this?

    Cheers

  10. Hi, I am a Korean who is trying to use this program. Plugin has been installed, but it generates error in the loging in process. I correctly typed in my e-mail and password, but it says that it has failed to login due to credential issues.

    Here is the log for error parts:
    18:40:44.851 T:8984 ERROR: XFILE::CDirectory::GetDirectory – Error getting
    18:40:46.306 T:6768 ERROR: Previous line repeats 6 times.
    18:40:46.306 T:6768 ERROR: EXCEPTION Thrown (PythonToCppException) : –>Python callback/script returned the following error<–
    – NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
    Error Type:
    Error Contents:
    Traceback (most recent call last):
    File “C:\Users\paulk\AppData\Roaming\Kodi\addons\plugin.video.netflixsubs\addon.py”, line 42, in
    NAVIGATION.router(paramstring=REQUEST_PARAMS)
    File “C:\Users\paulk\AppData\Roaming\Kodi\addons\plugin.video.netflixsubs\resources\lib\utils.py”, line 45, in wrapped
    result = func(*args, **kwargs)
    File “C:\Users\paulk\AppData\Roaming\Kodi\addons\plugin.video.netflixsubs\resources\lib\Navigation.py”, line 85, in router
    options = self.before_routing_action(params=params)
    File “C:\Users\paulk\AppData\Roaming\Kodi\addons\plugin.video.netflixsubs\resources\lib\utils.py”, line 45, in wrapped
    result = func(*args, **kwargs)
    File “C:\Users\paulk\AppData\Roaming\Kodi\addons\plugin.video.netflixsubs\resources\lib\Navigation.py”, line 708, in before_routing_action
    ‘method’: ‘is_logged_in’}))
    File “C:\Users\paulk\AppData\Roaming\Kodi\addons\plugin.video.netflixsubs\resources\lib\Navigation.py”, line 883, in call_netflix_service
    data = urllib2.urlopen(full_url).read(opener)
    File “C:\Program Files\Kodi\system\python\Lib\urllib2.py”, line 154, in urlopen
    return opener.open(url, data, timeout)
    File “C:\Program Files\Kodi\system\python\Lib\urllib2.py”, line 429, in open
    response = self._open(req, data)
    File “C:\Program Files\Kodi\system\python\Lib\urllib2.py”, line 447, in _open
    ‘_open’, req)
    File “C:\Program Files\Kodi\system\python\Lib\urllib2.py”, line 407, in _call_chain
    result = func(*args)
    File “C:\Program Files\Kodi\system\python\Lib\urllib2.py”, line 1228, in http_open
    return self.do_open(httplib.HTTPConnection, req)
    File “C:\Program Files\Kodi\system\python\Lib\urllib2.py”, line 1198, in do_open
    raise URLError(err)
    URLError:
    –>End of Python script error report<–
    18:40:46.329 T:12020 ERROR: XFILE::CDirectory::GetDirectory – Error getting plugin://plugin.video.netflixsubs/
    18:40:46.332 T:10708 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflixsubs/) failed

  11. Getting a very similar error to Paul. I also get the credential failure issue despite typing it correctly. Here is the log with the line before the first error as well.

    NOTICE: ADDON: skin.estuary v2.0.9 installed
    10:58:25.926 T:2480 ERROR: XFILE::CDirectory::GetDirectory – Error getting
    10:58:54.836 T:8276 ERROR: Previous line repeats 6 times.
    10:58:54.836 T:8276 ERROR: XFILE::CDirectory::GetDirectory – Error getting plugin://plugin.video.netflixsubs/
    10:58:54.847 T:8352 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflixsubs/) failed
    10:59:02.336 T:8352 WARNING: CGUIWindowManager – CGUIWindowManager::HandleAction – ignoring action 107, because topmost modal dialog closing animation is running
    10:59:17.127 T:6396 WARNING: Previous line repeats 4 times.
    10:59:17.127 T:6396 ERROR: EXCEPTION Thrown (PythonToCppException) : –>Python callback/script returned the following error<–
    – NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
    Error Type:
    Error Contents: ”
    Traceback (most recent call last):
    File “C:\Users\Xavier\AppData\Roaming\Kodi\addons\plugin.video.netflixsubs\addon.py”, line 42, in
    NAVIGATION.router(paramstring=REQUEST_PARAMS)
    File “C:\Users\Xavier\AppData\Roaming\Kodi\addons\plugin.video.netflixsubs\resources\lib\utils.py”, line 45, in wrapped
    result = func(*args, **kwargs)
    File “C:\Users\Xavier\AppData\Roaming\Kodi\addons\plugin.video.netflixsubs\resources\lib\Navigation.py”, line 81, in router
    return self.switch_account()
    File “C:\Users\Xavier\AppData\Roaming\Kodi\addons\plugin.video.netflixsubs\resources\lib\Navigation.py”, line 642, in switch_account
    self._check_response(self.call_netflix_service({‘method’: ‘logout’}))
    File “C:\Users\Xavier\AppData\Roaming\Kodi\addons\plugin.video.netflixsubs\resources\lib\Navigation.py”, line 883, in call_netflix_service
    data = urllib2.urlopen(full_url).read(opener)
    File “C:\Program Files\Kodi\system\python\Lib\urllib2.py”, line 154, in urlopen
    return opener.open(url, data, timeout)
    File “C:\Program Files\Kodi\system\python\Lib\urllib2.py”, line 429, in open
    response = self._open(req, data)
    File “C:\Program Files\Kodi\system\python\Lib\urllib2.py”, line 447, in _open
    ‘_open’, req)
    File “C:\Program Files\Kodi\system\python\Lib\urllib2.py”, line 407, in _call_chain
    result = func(*args)
    File “C:\Program Files\Kodi\system\python\Lib\urllib2.py”, line 1228, in http_open
    return self.do_open(httplib.HTTPConnection, req)
    File “C:\Program Files\Kodi\system\python\Lib\urllib2.py”, line 1201, in do_open
    r = h.getresponse(buffering=True)
    File “C:\Program Files\Kodi\system\python\Lib\httplib.py”, line 1121, in getresponse
    response.begin()
    File “C:\Program Files\Kodi\system\python\Lib\httplib.py”, line 438, in begin
    version, status, reason = self._read_status()
    File “C:\Program Files\Kodi\system\python\Lib\httplib.py”, line 402, in _read_status
    raise BadStatusLine(line)
    BadStatusLine: ”
    –>End of Python script error report<–

  12. Oh, I think it’s worth mentioning I now get the failed credentials error with the old Ahmed Bafkir script as well. So it’s probably broken due to some update.

  13. Sorry for the triple post… But also wanted to mention it fails if you try to logout or switch accounts in the settings as well. Maybe there is some issue with fetching the data from the original Netflix plugin?

      1. waaa thank you so much for this, i was trying to furiously type in my login credentials like 10 times before I found your fix. Thank you ANONYNEKO, you’re a life saver <3333

    1. Thank you for assistance updating the plugin while I have been away for a while. I have moved the plugin to Github to make things simpler if you would like to assist again in the future. https://github.com/Zarxrax/NetflixSubs
      I’ve released a new version based on the latest release of Kodi. If you dont mind, please review and make sure I didn’t undo any enhancements or fixes that you made!

  14. Hi. With May 29 version and the plugin that ANONYNEKO put above, error occurs when launching. Checking Dependencies, it says script.module.pycryptodome is unavailable. I think this is the problem?
    As someone seems to had the same problem, I looked for March 29 or April 9 version, couldn’t find.
    Any suggestion??

    1. Try different builds of Kodi 18 (this won’t work with 17), I had this issue but I genuinely don’t remember what fixed it, but either way I’ve reinstalled Kodi a gazillion times already since then and I didn’t get this error again.

      You can try installing the plugin.video.netflix plugin itself and see if it installs the requirements, if you get the same error – it’s likely your Kodi version.

  15. Love this so much!! Everything was working, but I had to change my password recently, and now I am unable to log into the plugin. I have tried reinstalling it, etc. Even have the email and password copy and pasted from a notepad, and when pasting into the browser it works, but not when putting it into the plugin. Any help would be greatly appreciated!

  16. I saw the update 13.6 in the comments and installed it and now I’m able to log in, but when I go to download a subtitle, it acts like it is playing in the top right, and then just doesn’t download it.. this happens if I put the subtitle code to ja or leave it blank. 🙁

    It sucks cause you don’t have the big bang theory subtitles already downloaded so now i have a bunch of episodes downloaded without the subtitles

        1. Make a debug log: https://forum.kodi.tv/showthread.php?tid=323719

          Also, what often helps me is changing Netflix password and sometimes clearing out plugin settings (I just remove email and password in %appdata%/Kodi/userdata/plugin.video.netflixsubs/settings.xml – a fresh reinstall of the plugin should do the trick as well)

          That, or just trying to open the plugin several times until it suddenly works. Same behavior with the original plugin.video.netflix plugin, too…

  17. On attempting to open the add-on (after clicking the NetflixSubs icon):
    “NetflixSubs Error
    Check the log for more information.”
    log:
    https://pastebin.com/1GuTe4tJ

    KodiSetup-20180603-dba439f5-master-x64.exe
    plugin.video.netflixsubs-0.13.6.zip (May 28th, ANONYNEKO)

    I have tried uninstalling the add-on and re-installing it, changing password, opening the add-on multiple times. I tried initially with a kodi version from around 4/10, but it didn’t work either. That version worked with ALAN’s version of the plugin (before it broke).

      1. Honestly it’s a question better asked of plugin.video.netflix as I haven’t touched anything even remotely near this and have had similar problems with it. When this happens I usually just try opening the plugin several times and then at some point it starts working. If that doesn’t help I’m out of ideas, this “target machine actively refused connection” error usually means the problem is with the plugin’s internal proxy, and unfortunately that thing either doesn’t seem to log anything useful, or does it somewhere I’m not aware of.

        Try installing plugin.video.netflix and see if it has the same issue, if it doesn’t then at least the scope will be much narrower.

        Original plugin authors have also suggested to turn off “scanners”, whatever that is, but I don’t think I have any scanner-looking plugins installed in the first place so I dunno.

          1. Replacing plugin.video.netflixsubs\resources\lib\NetflixSession.py
            with plugin.video.netflix\resources\lib\NetflixSession.py from 0.13.7 release

            fixes my issue.

    1. Have you set the Download folder? In the add-on’s settings.
      Are you sure the video you’re trying to extract from, actually has subtitles?

      1. Yes i have set my Download Subs folder in settings and i try a lot videos!
        Maybe the fault is i have VPN enable?

        1. Seriously, please post the debug log, it will likely point out specifically what kind of error you’re encountering. It’s easy to make https://forum.kodi.tv/showthread.php?tid=323719

          VPN is usually not the issue, although sometimes, perhaps for account security reasons (logging in from many different places is considered suspicious account activity), an existing session will stop giving you access to videos and subtitles (despite being able to browse the library), at which point a re-login – and sometimes also changing your netflix password – tends to solve it.

          If that’s not the problem, then without a debug log I’m out of ideas.

    1. I’m sorry, I have a life (as unlikely as it may sound), I can’t check this thread every day.

      Yes, that’s the debug log, thanks. Though it seems to end before a successful login. Can you try to upload a log after you try to select an episode to download subtitles? Or is the problem occurring before you can even select an episode?

  18. Thanks for providing the awesome tool.
    I’m native Japanese so I want to download Japanese subtitles to watch English Movie.
    But I cant log in my Netflix account through the plugin.
    Do U have any solution or Is it the same problem as 6/5 updated post?

  19. Just wanted to say that plug-in is still working fine for me. I live in Japan and have had no issues; just downloaded a season’s worth of episode subtitles five minutes ago. I think people who are having problems should uninstall and re-install completely. Then if that doesn’t work try an older version of the plug-in and Kodi itself. Good luck!

  20. I noticed today that when I uninstalled the plug-in, it didn’t automatically delete its folder. The user settings folder was also left behind. I was having trouble logging in after changing my password. After manually deleting things and then reinstalling it started working again. (With anonyneko’s version with the NetflixSession.py from the 13.7 Netflix plugin)

    Another issue – when I had “ja” in the sub language box, it downloaded only the forced subs (translation of the English lines in the show), not the whole sub file. Once I removed “ja” it worked.

  21. New release for Netflix Subtitles Downloader 0.13.9 ported by me.

    https://mega.nz/#!d4NDRCoC!PXqmYtQCPVXCfktNTg4LVNixwEmfMf-_zWGI82dp41g

    Uninstall Kodi and make sure to choose:

    “Yes, I am sure and grant permission to also delete the profile folder”

    when you uninstalling the program.

    https://i.imgur.com/V2ICJfx.png

    Download the latest version for Kodi from

    http://mirrors.kodi.tv/nightlies/windows/

    Install the latest version and install the addon
    and choose where you want to save the subtitles and the language of the subtitles
    and enter your Netflix email and password.

    Restart Kodi.

    If you get any error messages when you try to login just press on
    the third line

    “Video add-ons”

    https://i.imgur.com/wstTHgC.png

    Then press on

    “NetflixSubs” 0.13.9

    until you succeeded to login
    and download the subtitles as usual.

    https://i.imgur.com/oi8GW5U.png

    The login problems are from the original addon
    you can download and test them by yourself from here

    https://github.com/asciidisco/plugin.video.netflix/releases

    1. Thank you for assistance updating the plugin while I have been away for a while. I have moved the plugin to Github to make things simpler if you would like to assist again in the future. https://github.com/Zarxrax/NetflixSubs
      I’ve released a new version based on the latest release of Kodi. If you dont mind, please review and make sure I didn’t undo any enhancements or fixes that you made!

  22. Sorry i found error with the modification of the plugin makes it download the subtitle with wrong numbers.

  23. Still not working.
    Here’s my log.
    Can U help me?

    12:36:27.831 T:43356 ERROR: XFILE::CDirectory::GetDirectory – Error getting plugin://plugin.video.netflixsubs/
    12:36:27.836 T:40044 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflixsubs/) failed
    12:37:33.140 T:43428 WARNING: Invalid media type “”
    12:37:40.131 T:40044 WARNING: Previous line repeats 6 times.
    12:37:40.131 T:40044 NOTICE: VideoPlayer::OpenFile: plugin://plugin.video.netflixsubs/?action=play_video&…;start_offset=1366
    12:37:40.133 T:21824 NOTICE: Creating InputStream
    12:37:42.101 T:21824 ERROR: AddOnLog: InputStream Adaptive: Unable to load widevine shared library (C:\Users\Astlath\AppData\Roaming\Kodi\cdm\widevinecdm.dll)
    12:37:42.101 T:21824 ERROR: AddOnLog: InputStream Adaptive: OpenDRMSystem failed
    12:37:42.102 T:21824 ERROR: CVideoPlayer::OpenInputStream – error opening [plugin://plugin.video.netflixsubs/?action=play_video&…;start_offset=1366]
    12:37:42.102 T:21824 NOTICE: CVideoPlayer::OnExit()

    1. Uninstall Kodi and make sure to choose:

      “Yes, I am sure and grant permission to also delete the profile folder”

      when you uninstalling the program.

      Download the latest version for Kodi
      and choose where you want to save the subtitles and the language of the subtitles
      and enter your Netflix email and password.

      Restart Kodi.

  24. And to minimize the chances of getting any error messages, after opening Kodi
    wait a minute before you press on the add-on.

  25. Hi I can’t seem to log in to Netflix, no matter what I do.
    I’ve selected logout. Then I tried switch accounts. I exit’ed from Kodi and restarted. I uninstalled the Netflix addon and reinstalled it. I logged out of my Netflix account on my computer and iPad, and also selected “log out of all devices”.
    I was able to log in the first time, but I then went to my iPad to add a movie to My List.
    Since then I’ve not been able to log in again on Kodi.

    Any ideas on what to try next?

    1. Use this new version 0.13.9

      https://mega.nz/#!d4NDRCoC!PXqmYtQCPVXCfktNTg4LVNixwEmfMf-_zWGI82dp41g

      Uninstall Kodi and make sure to choose:

      “Yes, I am sure and grant permission to also delete the profile folder”

      when you uninstalling the program.

      Download the latest version of Kodi

      Install the latest version and install the addon
      and choose where you want to save the subtitles and the language of the subtitles
      and enter your Netflix email and password.

      Restart Kodi.

    2. If you getting any error messages when you try to login just press on
      the third line

      “Video add-ons”

      Then press on

      “NetflixSubs” 0.13.9

      until you succeeded to login
      and download the subtitles as usual.

      1. Hey! I do it like your video and now work but dont download all the subs! When i login from Firefox or Chrome show all avaible languages!
        From KODI donwload only Germans!

    1. You should first uninstall Kodi and make sure to choose:

      “Yes, I am sure and grant permission to also delete the profile folder”

      when you uninstalling the program.

      Download the latest version of Kodi

      Install the latest version and install the addon
      and choose where you want to save the subtitles and the language of the subtitles
      and enter your Netflix email and password.

      Restart Kodi.

    2. Where are you from?
      And what is name of the show you are trying to download its subtitles?
      and in what language?

        1. For Greek language write
          el
          in
          “Only download subtitles with language code”

          If you left
          “Only download subtitles with language code”
          empty, Kodi will download the subtitles with all the available languages.

          1. I think Netflix detected your VPN, you need to change your VPN to one that Netflix can’t detect.

          2. I can’t tell if ExpressVPN is better than NordVPN or not, as NordVPN is blocked in my country.
            But i can say that ExpressVPN is great for downloading the subtitles from ExpressVPN
            without being detected by Netflix.

  26. I often visit your website and have noticed that you don’t update it often.
    More frequent updates will give your page higher
    authority & rank in google. I know that writing posts takes a lot of time, but you can always
    help yourself with miftolo’s tools which will shorten the time of creating an article to a few seconds.

  27. Is this method working also for Romanian lamguage?
    I was trying, … I didn’t get any error but still I can’t find where the file was stored on my Raspberry PI 3 running Kodi on OSMC

  28. I have an idea for a way may make us able to download a full season at once.
    If you used a version of the plugin modified so it can play the video
    and download the subtitles at the same time
    and right clicked on the first episode of a TV show
    and selected “Play from here”, the plugin will play the first episode and
    each episode after it automatically (this is has nothing to do with Netflix Auto-playing),
    if anyone has any idea of how to
    modify the plugin to skip forward each episode without playing it
    this will be a step for downloading a full season at once,
    see this video.

    https://mega.nz/#!YhNBCCiQ!dk2rAb0MVKpDsycsHaO6aHf_GIOWGLktWDB5Kw8fFm8

    1. And Instead of choosing “Play from here”, we can open Kodi
      and from “Settings” choose “Player” and from “Player”
      choose “Video” and choose “Play next video automatically” and
      choose “Episodes” and press on “OK”
      This will lead to when we press on the first episode from
      a season of a TV show the player will play the rest of the Episodes
      automatically.

      1. And after pressing on the first episode, every time you press on “>”
        the add-on will download the subtitle of the next episode.

    2. I have created a workaround to download a full season.
      It requires using AutoHotKey and running a script to automate the keypresses to download all of the episodes.

      1. Get AutoHotKey: https://autohotkey.com/
      2. Run this script: https://pastebin.com/wRshKN5i
      3. Open kodi and browse to the season you want to download
      4. Press Ctrl+Shift+S to execute the script.
      5. A dialog box will appear asking how many episodes there are. Type in the number of episodes and press enter.
      6. Don’t touch anything until it finishes. Moving the mouse can change which episode is selected, causing it to choose the wrong ones. After it selects an episode, it will wait 10 seconds before attempting to move to the next episode. This ought to be enough time, but if not the script can be modified to allow more time between episodes.

        1. To use the Esc key while the script is still running, you need to right click on the program icon in the task bar and choose “Suspend Hotkeys”

        2. Are you sure ESC wasn’t working? It was working for me when I tested it, you just have to wait up to 10 seconds.

          I don’t think there is any way of converting this to a kodi addon, but I still think it might be possible to achieve this a different way through kodi. I didn’t compile it to an exe so it would be flexible for people to still make changes (for example, F12 is already reserved for another purpose on my computer).

          1. I mean after finishing downloading the full season (and before it) i can’t go back to the previous windows by hitting on Esc key, i must first right click on the program icon in the task bar and choose “Suspend Hotkeys” to restore the functionally of Esc key.

          2. I replaced Esc key with F11 which has no use for me in Kodi and in Windows 10 (but not in this modified script below), and to avoid any problems comes from accidental mouse movement i added lines to the script that disable the mouse movement during the downloading of the subtitles and restore the mouse movement after the downloading finishes, it would be great to modify the script to disable mouse movement only in Kodi window, and to make the script works only in Kodi window, so anyone can use the computer during downloading the subtitles in case they needed to.

            https://pastebin.com/63pr4uSa

            In another mater, NetflixSubs-0.13.10-1 still has one problem, please check my final comment in this post.

            https://github.com/Zarxrax/NetflixSubs/issues/2

  29. I have the netflix plugin and the.latest subs plugin. I managed to download Japanese subs for Suits. But how to I show the subs in netflix? Netflix plugin doesn’t give an option to choose local subs file.

    1. I have found a way for how to choose the subtitle file from your hard drive,
      after the installation of Kodi and the add-on go to this path

      C:\Program Files\Kodi\system\settings

      and open “settings.xml” with “Notepad++”

      search for “subtitles.custompath” and after the line change it to
      2
      1
      write “1” between “”

      and save the file.

      Open Kodi and from the main window press on “Videos”

      then press on “files”

      and “add videos”

      press on “browse” and choose the location of the subtitles

      and press on “ok”

      return to Netflix add-on
      and play the episode

      then press on “subtitles” icon

      press on “browse for subtitles”

      then press on “..”

      and choose the location of the subtitles

      and choose the subtitle file.

    1. Try to download the subtitles without using VPN first, Netflix could have detected the VPN, and sometimes after using VPNs for many times Netflix changes the password of the account, check your account to make sure that its password still working.

      1. The plugin works perfectly , the problem was in my account it had payment issues so i couldn’t tell with kodi. Thanks man.

  30. I have followed the steps on this blog post/on MattvsJapans video and set it for traditional Chinese subs (I think it’s the one that shows up in the URL right? [zh-Hant])

    For some reason when I log into kodi it comes up with the message “Login failed, please check your credentials”

    I tried rebooting Kodi, and reentering my details a few times and it doesn’t seem to work for some reason. Any suggestions?

  31. I just followed the steps in the github link you provided to the letter by first uninstalling the previously installed Kodi version and then using the latest nightly windows x64 build and addon version 0.13.10. I logged in and was able to browse etc. – The only setting I changed was to place the subtitles in a new folder. I still run into the issue of the addon never actually writing anything to the folder. I’ve tried a few folders and I’ve only ever managed to get this to work once about a week ago for just a few episodes of a TV show. I’m not running any VPNs currently.

    https://pastebin.com/fsRtTgr5 Here’s a paste of the Kodi log. Any ideas as to what’s going on? Last I looked a few others were having similar issues with the files not being saved to disk.

    1. To be honest, I ran into the same issue and I’m not sure what the fix is, it just eventually started working for me. All day yesterday, I kept uninstalling/reinstalling, and I was having similar issues as you. Today it worked, no changes from yesterday.

      I would recommend after installing and logging in, just exit if it doesn’t work. Let it sit around for maybe a half hour and then try again. I suspect it might be something on Netflix’s server side that is causing the issue, but I still don’t know for sure. Let me know if you eventually have success or not.

        1. Never mind, it only worked once after, probably coincidence. my PR does actually address a bug but seems unrelated so I’ll leave it up – I’m going to follow what you say and see if it magically starts working again.

  32. I seem to be missing WideVine: AddOnLog: InputStream Adaptive: Unable to load widevine shared library(…). The dll isn’t in the location it is expected.

    1. Try using this version 0.13.10

      https://mega.nz/#!0wU0zYCJ!GSCYcpzaNsaVVKYttUiUVEHnYARG1dgt350C6XYheZg

      Uninstall Kodi and make sure to choose:

      “Yes, I am sure and grant permission to also delete the profile folder”

      when you uninstalling the program.

      Download the latest version of Kodi 18, install Kodi and the plugin
      and choose where you want to save the subtitles and leave “only download subtitles with this language” empty, and enter your Netflix email and password.

      Restart Kodi (This step is a must or you will not download any subtitles).

      and what is your operating system?

  33. Errors start with these lines (not all errors). Using 0.13.9
    14:58:29.628 T:14004 ERROR: XFILE::CDirectory::GetDirectory – Error getting
    14:58:35.048 T:1912 ERROR: Previous line repeats 6 times.
    14:58:35.048 T:1912 WARNING: CPythonInvoker(2, C:\Users\…\AppData\Roaming\Kodi\addons\plugin.video.netflixsubs\addon.py): the python script “C:\Users\…\AppData\Roaming\Kodi\addons\plugin.video.netflixsubs\addon.py” has left several classes in memory that we couldn’t clean up. The classes include: class XBMCAddon::xbmcaddon::Addon
    14:58:35.057 T:7852 ERROR: XFILE::CDirectory::GetDirectory – Error getting plugin://plugin.video.netflixsubs/
    14:58:35.066 T:7832 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflixsubs/) failed
    14:58:59.651 T:6704 ERROR: XFILE::CDirectory::GetDirectory – Error getting
    …(a whole bunch of lines)…
    14:59:51.353 T:19332 ERROR: File “C:\Users\…\AppData\Roaming\Kodi\addons\plugin.video.netflixsubs\resources\lib\MSL.py”, line 634, in __encrypt
    14:59:51.353 T:19332 ERROR: return json.dumps(self.crypto.encrypt(plaintext, self.nx_common.get_esn(), self.sequence_number))
    14:59:51.353 T:19332 ERROR: AttributeError: ‘MSL’ object has no attribute ‘sequence_number’
    14:59:51.353 T:9808 ERROR: CCurlFile::FillBuffer – Failed: Server returned nothing (no headers, no data)(52)
    14:59:51.353 T:9808 ERROR: CCurlFile::Open failed with code 0 for http://localhost:51471/manifest?id=80049285&dolby=true&hevc=false:
    14:59:51.353 T:9808 ERROR: AddOnLog: InputStream Adaptive: Cannot download http://localhost:51471/manifest?id=80049285&dolby=true&hevc=false

  34. Do you have any plans to update the subtitles that you’re sharing on Google Drive? Specifically for the newer episodes of Terrace House OND. I Would love to grab it myself with this method but I always get a login error with that Kodi plugin :/

    1. Use this modified version 0.13.10.6
      the login problems should be fixed in it

      https://mega.nz/#!JptnhYJQ!ZEGgbTZ578zPaWREj3-DMKSQTEM_X2OyDf8BRcn7p18

      Uninstall Kodi and make sure to choose:

      “Yes, I am sure and grant permission to also delete the profile folder”
      when you uninstalling the program.

      Download the latest version of Kodi 18 nightly install Kodi and the plugin
      and choose where you want to save the subtitles and the language of the subtitles, and enter your Netflix email and password.

      Restart Kodi

      1. Thank you for your help. I’ve since managed to get it to log in, not sure what the problem was before… Just updated to the latest version successfully too. Great work!

  35. Dear Alan,
    For a long time now I am desperate to get subtitles in Japanese and was quite thrilled when I came across your website. And I am always eager enough to work myself through unknown systems and be able to get things done myself for the future use.
    This is the second time I am here and I really tried to go through the process and get the subtitles myself, but since I am using a macbook I can’t install the plugin properly, there is always an error popping up. I know the problem was already solved by changing the username, but I am not doing any programming nor am I experienced to know where I can change my username inside this plugin. I would if I could but I just don’t know where to do that.
    So my questions:
    1 Would someone mind to share a foolproof way on how to change the username thing for Macbook-Users, or just share how to install KODI on Mac?
    2 I notice that there is a bunch of Japanese subtitles already available, but most of them are English produced movies, as for a language learner I would like to prevent using translated subtitles and just go for the original formats with Japanese subtitles. So here is my question: Is there a way to get also subtitles of original Japanese movies?
    I know that’s a lot to ask and would be extremely grateful if someone could share information.

    Lelo

    1. Unfortunately I can not provide any support for Mac, as I don’t own one, and even if I launch one in a virtual machine, I struggle to figure out how to accomplish even the most basic of tasks.

      I have posted numerous subtitles for Japanese programs. If there is anything in particular that you were looking for, and it is available on the US Netflix, I will be glad to try to get it for you.

    2. With the new releases of the plugin thanks to Alan you can choose where you want to save your subtitles after installing the plugin right click on the plugin icon and choose settings then subtitles after that choose subtitle folder and choose where you want to save the subtitles, so no need for changing anything inside the plugin files manually anymore, use this new release 0.13.10.8

      https://mega.nz/#!Nw8E1a5J!iJ3EGu9ApmQ7rWb_Fa35pAUujfkRPQz7_i9X6rE188w

    3. First you need to uninstall Kodi and make sure to choose:

      “Yes, I am sure and grant permission to also delete the profile folder”
      when you uninstalling the program.

      Download the latest version of Kodi 18 nightly from here

      https://mirrors.kodi.tv/nightlies/osx/x86_64/master/

      Install Kodi and the plugin
      and choose where you want to save the subtitles and the language of the subtitles, and enter your Netflix email and password.

  36. Hello, I am getting “Invalid Credentials” or “Failed to login”. The plugin used to work when I was using an older version about a month ago. I am positive that I am using the correct credentials and that I have the newest version of the plugin and Kodi (as of September 1, 2018). Does anyone else have this problem or know how to fix it?

    1. Still working for me. I do get some weird error when I try to launch the plugin sometimes, but then I restart kodi and it works. I’m unsure what could be causing login issues only for some people.

        1. Thank you, everything working fine, Is it possible to add an option to subtitle menu for deleting the subtitles with the extension vtt, and Subtitle_urls.txt after converting the subtitles to SRT?

  37. Hi Alan,

    Thank you so much for crafting and sharing NetflixSubs.

    Your programs and documentation are a breath of fresh air on the web.

    Do you accept donations? If so, please let me know how to send.

    Aloha,

    Miles

    1. Thank you. I don’t have anything set up for donations because I never expected that I might receive anything. Also, this is also built on the backs of many other people, I have really only done a small part. I am just happy that some people are able to find it useful.

  38. I am trying to access your already downloaded japanese fifles from gmail but i am not able to open them. I click the tv show name ‘mischievous kiss’ then i click the next file so the episodes pop up but i am unable to go further than that. How can i access them?

  39. Hello!

    I tried to download the subtitles that you have already downloaded but couldn’t. It said restricted…. Do you know what happened?
    Thanks.

  40. Do you can keep <i></i>
    dont ignore this code? Because some text is Italic.

    AND

    convert => line:10.00% to {\an8}
    Because some text is display on top.

    1. Try this release, it will keep and will generate {\an8} in the SRT file but only if
      position:50.00 and line:10.00, which is the only values used in most of the languages for {\an8} except English which uses many values for {\an8} other than position:50.00 and line:10.00 like:
      position:36.67%,start align:start size:36.67% line:15.33%
      position:44.29%,start align:start size:30.95% line:20.66%
      position:44.29%,start align:start size:25.24% line:15.33%
      any many more
      you can find them in the first episode in the first season from Vikings in the English subtitle in vtt format.

      https://mega.nz/#!Q0kjTAhL!DxZhPhXJveF9y6JciyGqVFtSYDVKr-sbOODCHgZFP3Y

    2. The SRT format doesn’t support any formatting such as positioning, so I don’t want to put that into SRT files. It is questionable as to whether it should support italics or bold text, but I think generally, basic srt doesn’t really support it.
      To preserve formatting as much as possible, it is better to not convert to srt, but keep the original VTT file, and then convert to an appropriate format using another tool.

  41. Is it possible to modify this part of the code, so not to download the subtitles if “isForced”: True

    subtitle_path = self.nx_common.get_setting(‘subtitle_folder’)
    file = codecs.open(os.path.join(subtitle_path, ‘Subtitle_urls.txt’), ‘w’, encoding=’utf-8′)
    for text_track in manifest.get(‘textTracks’):
    is_downloadables = ‘downloadables’ not in text_track
    if is_downloadables or text_track.get(‘downloadables’) is None:
    continue
    subtiles_adaption_set = ET.SubElement(
    parent=period,
    tag=’AdaptationSet’,
    lang=text_track.get(‘bcp47′),
    codecs=’stpp’,
    contentType=’text’,
    mimeType=’application/ttml+xml’)
    for downloadable in text_track[‘downloadables’]:
    rep = ET.SubElement(
    parent=subtiles_adaption_set,
    tag=’Representation’,
    nflxProfile=downloadable.get(‘contentProfile’))
    base_url = self.__get_base_url(downloadable[‘urls’])
    ET.SubElement(rep, ‘BaseURL’).text = base_url
    filename_lang = str(text_track.get(‘bcp47’))

    I can delete the subtitles in vtt format with this code

    dir_name = (subtitle_path)
    test = os.listdir(dir_name)

    for item in test:
    if item.endswith(“.vtt”):
    os.remove(os.path.join(dir_name, item))

    but this makes this part useless

    if not os.path.isfile(os.path.join(subtitle_path, filename_out)):
    urllib.urlretrieve (base_url, os.path.join(subtitle_path, filename_out)) #download subtitle to a file
    # xbmc.log(“Downloaded Subtitle ” + filename_out,2)
    else:
    urllib.urlretrieve (base_url, os.path.join(subtitle_path, ‘temp’)) #download subtitle to a file
    if (os.path.getsize(os.path.join(subtitle_path, ‘temp’)) > os.path.getsize(os.path.join(subtitle_path, filename_out))):
    os.remove(os.path.join(subtitle_path, filename_out))
    os.rename(os.path.join(subtitle_path, ‘temp’), os.path.join(subtitle_path, filename_out))

    and make the forced subtitles in SRT format overwrite the full subtitle. I noticed that the forced subtitles always comes later.

    1. I mean “isForced”: true in manifest.json, or if possible to modify this part of the code so not to convert the vtt files to srt if there is already srt file with the same name:

      def __convert2SRT(self, in_file):
      subtitle_path = self.nx_common.get_setting(‘subtitle_folder’)
      f = codecs.open(os.path.join(subtitle_path, in_file), ‘r’, encoding=’utf-8′)
      file_content = f.read()
      f.close()
      #xbmc.log(“Successfully read file”,2)
      file_content = re.sub(r'([\d]+)\.([\d]+)’, r’\1,\2′, file_content)
      file_content = re.sub(r’WEBVTT\n\n’, ”, file_content)
      file_content = re.sub(r’NOTE.*\n’, ”, file_content)
      file_content = re.sub(r’\n\s+\n’, ”, file_content)
      file_content = re.sub(r’ position:.+%’, ”, file_content)
      file_content = re.sub(r”, ”, file_content)
      file_content = re.sub(r'{.*?}’, ”, file_content)
      filename_out = in_file.replace(“.vtt”,”.srt”)
      f = codecs.open(os.path.join(subtitle_path, filename_out), “w”, encoding=”utf-8″)
      f.write(file_content)
      f.close()

    2. I have tried modifying the code so its not neccessary to keep the vtt files, but I haven’t really tested it yet. I’ll try looking over what you’ve got here next time I mess with it.

Leave a Reply

Your email address will not be published. Required fields are marked *