Take the following recommendation with a pinch of salt (like I said, I've never run the script), but it
looks to me like one way for the script (v1.6) to cope with the patch I mentioned earlier would be for line 156 to change from this:
const titleElement = postElement.querySelector('tr[class=titlebg2] td:nth-child(2) a:last-child')
To this:
const titleElement = postElement.parentElement.parentElement.querySelector('tr[class=titlebg2] td:nth-child(2) a:last-child')
N.B. I'm talking about the update-everything version of the script, not the single-topic version.
Work like magic without any problem although the script couldn't go through locked topics but I'm very much happy with the results. got all my important images back.