Guide Forum Post Downloader - Tampermonkey Script

SimpCity

Staff
Mar 11, 2022
351
119,661
2,177
0fya082315al84db03fa9bf467e3.png
Introduction

This script can download the contents of many posts on the forum including locally hosted attachments and files on some external hosts such as jpg.church, pixl, cyberdrop, bunkr, pixeldrain and others.

The script adds a download button alongside every post and a download all button at the top of every page which will download every post on the page.

Buttons Added.JPG







Installation


- Install the tampermonkey extension
Please, Log in or Register to see links and images


- Click on the icon up near the web address bar (1) (you may have to click the puzzle piece to see it if its hidden) and then select 'Create a new script...' (2)
Install 1.png

- Paste in the latest version of the script
Please, Log in or Register to see links and images
into the editor field overwriting the default template
Install 2.JPG

- Select File then Save
Install 3.JPG

- Go to settings (1), change 'Config mode' to 'Advanced' (2)
Install 4.png

- Then scroll down to 'Downloads BETA' (1) and change the option to 'Browser API' (2)
Install 5.png

You should then see a download button alongside every post and at the top of every thread on the forum (you need to refresh any open tabs after installing), just hit the download button and the tool will download all media it can from the post/thread.







Weird Zip Names


If zips download with a weird filename i.e. f81dfbdc-eb8b-4b37-8bb5-5100d498e2f6.zip then you should disable any download managers such as downthemall, free download manager etc., refresh the page and try again
 
Last edited by a moderator:

gotmilk

Tier 3 Sub
Mar 17, 2022
33
407
609
0fya082315al84db03fa9bf467e3.png
Please, Log in or Register to view quotes
Is it supposed to unzip as the post number folder too? It would be great if it was just {thread_title}/{post_number.zip}/ and not have another folder inside the zip. Makes it easy tounzip all items into the thread title folder rather a bazillion post number folders that need manually to remove pics and vids from to parent thread folder
 

gotmilk

Tier 3 Sub
Mar 17, 2022
33
407
609
0fya082315al84db03fa9bf467e3.png
Please, Log in or Register to view quotes
Well we know why its doing it you just said so yourself "Its actually doing an extra nest i.e. {thread_title}/{post_number.zip}/{post_number}/ " that trailing{post_number} is the post number folder. Remove that to just {thread_title}/{post_number.zip} and we good. Now if you mean thats your goal and it still does the extra folder then yeah Idk why either
 

mountaindew32

Fan
Mar 20, 2022
7
93
328
0fya082315al84db03fa9bf467e3.png
just tried this today, and i have a stupid question.. it won't work if bunkr is doing maintenance on the only videos i want ?
because it refuses to download the 2nd post with bunkr la host.. it just says "Resolved: 82 / 82 🢒 1 Total Links" and nothing else to click on.
 

mandys1992

Fan
Apr 5, 2023
2
60
325
0fya082315al84db03fa9bf467e3.png
I am having some issues occsionally with the script. Usually with Bunkr, coomer and any large collection file links. Sometimes it will freeze on "resolving" or it will just stop on a random number trying to download, like 4/100, and not do anything. I am not sure how to troubleshoot this.

I am using brave and have latest script installed.
 

rmz99999

Lurker
Mar 11, 2023
2
0
46
0fya082315al84db03fa9bf467e3.png
Can anyone tell me how to get rid of the subfolder -- Right now it downloads something and gives it the thread name but then groups each post in subfolders named after the thread post ID. I would like to be able to eliminate the thread post ID folder.
 

xxxzebnation

Bathwater Drinker
Mar 11, 2022
74
1,919
1,242
0fya082315al84db03fa9bf467e3.png
Anyone tried running this script on android?
I installed tapermonkey on Firefox nightly browser
It works great it shows the files being downloaded but at the end there's no zip file in downloads no nothing
is there a fix? Thank you
Please, Log in or Register to see links and images
 
  • PeepoLove
Reactions: tomservo97

POKI

Broke Boi
Mar 8, 2022
1,687
109
16,687
1,522
0fya082315al84db03fa9bf467e3.png
2.5.3 released

Sorted the nested folders thing
Added another host - *Blacklisted site* which a few people have been using (not sure why they use it)

It should auto update but if not, get it from here:
Please, Log in or Register to see links and images
 

RealOmer

Lurker
Feb 22, 2023
4
17
213
0fya082315al84db03fa9bf467e3.png
Why its downloading one by one like ı have click 111 times for 111 pictures and maybe ı did something wrong but why it downloaded less pictures it downloaded 69 pictures when it should have downloaded 111 pictures
Please, Log in or Register to see links and images
 
  • Like
Reactions: wazpex

POKI

Broke Boi
Mar 8, 2022
1,687
109
16,687
1,522
0fya082315al84db03fa9bf467e3.png
So I didn't get 69 images but I did get 222 which confused me for the past hour. Turns out the script had some bad regex which meant it picked up the album link twice. Took me a while to realise this and honestly its probably been there for a while which is annoying. The regex for jpg.fish is complicate because its trying to avoid downloading the 'scraped from simpcity' image hidden in posts.

I have that fixed but I've got an issue with some bunkr links, seems to be similar, think some regex is missing an end
 
  • Like
Reactions: RealOmer

POKI

Broke Boi
Mar 8, 2022
1,687
109
16,687
1,522
0fya082315al84db03fa9bf467e3.png
2.5.4 released to fix the double church album bullshit
It should auto-update or get it here:
Please, Log in or Register to see links and images


I cant fix the bunkr weirdness now and it doesnt stop the script working, it just thinks there's an extra link to download in some posts if theres a jpg.church or similar link after a bunkr album link.
 

Marine

Senchou
Mar 11, 2022
101
4,152
1,252
0fya082315al84db03fa9bf467e3.png
Any fix for the "resolving" issue? seems to only affect things from i.ibb.co and nothing else? Thank you for your hard work on the tool and thanks in advance.