Greasy Fork is available in English.

Netflix - subtitle downloader

Allows you to download subtitles from Netflix

< Commentaires sur Netflix - subtitle downloader

Avis: OK - le script fonctionne, mais souffre de quelques problèmes

§
Posté le: 15/09/2020
Édité le: 15/09/2020

Download not working, getMovieId() is getting the wrong Id

I've been using this script for sometime but last few days it stopped working.

Firefox + Tampermonkey (in Chrome is also not working)

I just did some console logging on the download function.

 const showTitle = getTitle(false);
  console.log(getMovieID());
  console.log(subCache);
  console.log(subCache[getMovieID()])
  const {titleP, subs} = subCache[getMovieID()];
  const downloaded = [];

And this is the output:

//Console log for getMovieId()
70204957

// Console Log for subCache
{​
70176300: Object { titleP: Promise { "fulfilled" }, subs: {…} }
​
81148532: Object { titleP: Promise { "fulfilled" }, subs: {…} }
​
81307578: Object { titleP: Promise { "fulfilled" }, subs: {…} }
​
81307578: Object { titleP: Promise { "fulfilled" }, subs: {…} }
}
​
//Console.log for subCache[getMovieID()]

undefined
§
Posté le: 15/09/2020
Édité le: 15/09/2020

Update:

If I select an episode using defaults Netflix Select Menu, it will work. And the URL become way cleaner.

The URL really depends from where I'm coming from (probably tracking), and that can break the script.

Dirt URL example:
https://www.netflix.com/watch/81145640?trackId=14183879&tctx=1%2C2%2C4c57e3d6-816d-4954-af15-eeacff98ea24-125261695%4444dde8-e7a2-42b7-afeb-acb59b6459e8_81629319X282222600141121668%2C9592dde8-e7a2-42b7-afeb-acb59b6459e8_ROOT%2C

Clean URL Example (That works):
https://www.netflix.com/watch/81145642?trackId=200257859

§
Posté le: 15/09/2020

This happens when you open a series link instead of an episode one. 81145640 is the series ID, 81145642 is the episode ID. Should be fixed in version 3.2.3, try it.

Poster une réponse

Connectez-vous pour poster une réponse.