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

§
發表於: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.

發表回覆

登入以回復

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址