Greasy Fork is available in English.

Netflix - subtitle downloader

Allows you to download subtitles from Netflix

< Netflix - subtitle downloader 피드백

리뷰: 보통 - 동작하나 버그 있음

§
작성: 2020-09-15
수정: 2020-09-15

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
§
작성: 2020-09-15
수정: 2020-09-15

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

Tithen-Firion개발자
§
작성: 2020-09-15

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.

댓글 남기기

댓글을 남기려면 로그인하세요.