07/10/2017 (Mon) 21:19:48
The bit starting at line 166 is for bumping the threads that were pushed down back to the top, you can just remove that. If you do want to bump threads, fill in the thread IDs. I hardcoded them because finding the IDs automatically wouldn't work well if I interrupted the script and restarted it (which I had to do once to fix a bug).
Line 146, 151, 153, 164 and 170 have the board name hardcoded (you can also just ctrl+f "tech"). You should replace that by your own board. For line 145/146 you should replace the entire URL by the URL of the exact catalog webpage capture you want to recover.
It only recovers threads if they're at page 10 or less in the catalog archive and they 404 on the real site.