Greasy Fork is available in English.

Netflix - subtitle downloader

Allows you to download subtitles from Netflix

< Обсуждения Netflix - subtitle downloader

Отзыв: Нормальный — скрипт работает, но имеет существенные недостатки

Can't save subtitles in my own language

Hi,

The script works flawlessly for all other languages but mine...
Any idea?

Thank you!

And what is your language? Save whole page (html only) and PM it to me.

My language is romanian. I've attached the page. Thank you!

Okay, that didn't help. Open any video with subs, press Ctrl+Shift+J and in console paste this (and press Enter):

console.log(document.querySelector(".player-timed-text-tracks").outerHTML);

And send me back what it printed.

console.log(document.querySelector(".player-timed-text-tracks").outerHTML);
VM78:1

    Subtitles
  1. Off
  2. English [CC]
  3. German
  4. Polish
  5. Romanian
  6. Turkish

undefined

console.log(document.querySelector(".player-timed-text-tracks").outerHTML);
VM80:1

    Subtitles
  1. Off
  2. English [CC]
  3. German
  4. Polish
  5. Romanian
  6. Turkish

undefined

Um... Do it again but this time select some other language, wait for subs to load, and then use that code I sent you before.

console.log(document.querySelector(".player-timed-text-tracks").outerHTML);
VM78:1

    Subtitles
  1. Off
  2. English [CC]
  3. German
  4. Polish
  5. Romanian
  6. Turkish

undefined

Selected polish as subtitles... For me, seems no difference...

Well it should print HTML, not a text... Try changing that outerHTML to innerHTML.

console.log(document.querySelector(".player-timed-text-tracks").innerHTML);
VM82:1 Subtitles

  • Off
  • English [CC]
  • German
  • Polish
  • Romanian
  • Turkish
  • undefined

    same polish subtitle...

    Discussed in private. Turns out Romanian subs are served in image format (PNG). No idea how to extract them all with timecodes and stuff.

    Thank you VERY MUCH, Tithen, for your effort and support!

    Try now.

    Ответить

    Войдите, чтобы ответить.