Hey, great script.
I found that some newer movies use 8 digit title ids which cause the regex to fail.
I was able to fix it by adding a comma after the 7 in brackets to signify match 7 or more digits.
fixed line is as follows:
var regexImdbNum = /\/title\/tt(\d{7,})\//;
Hey, great script. I found that some newer movies use 8 digit title ids which cause the regex to fail. I was able to fix it by adding a comma after the 7 in brackets to signify match 7 or more digits.
fixed line is as follows:
var regexImdbNum = /\/title\/tt(\d{7,})\//;