Guide Forum Post Downloader - Tampermonkey Script

SimpCity

Staff
Mar 11, 2022
354
119,931
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:

POKI

Broke Boi
Mar 8, 2022
1,697
108
16,865
1,522
0fya082315al84db03fa9bf467e3.png
Version 2.2.7 released

Things fixed or changed

  • Pixl domain changed from .is to .li
  • Twitter image bug fixed
  • Pixeldrain lack of filename and extension bug fixed
  • ibb - full res for linked embeds now downloaded
  • ibb - non-linked embeds now downloaded
  • Changed reaction given to peepolove
Bugs that still remain
  • ibb albums downloads low res preview images
Future Enhancements?
  • bunkr images still use media-files, change to just use the cdn# / i# link

I dont know if the auto update function is working, if not you can find the latest script here:
Please, Log in or Register to see links and images


New bugs found since release
  • Multiple pixeldrain albums in one post, only downloads one i.e. https://simpcity.su/threads/mikayla-demaiter.10203/post-49999
  • Doesn't download attachments not inserted into post and has extension issue for those it does
  • No cyberdrop support
  • Pixl images with no server number i.e. i.pixl.li are not downloaded - easy regex fix
  • Nitter not supported
  • Cyberfile changed to .su
 
Last edited:

POKI

Broke Boi
Mar 8, 2022
1,697
108
16,865
1,522
0fya082315al84db03fa9bf467e3.png

2.8.5 released

  • Updated jpg and saint hosts
  • Fixed gofile downloads thanks to Jules with new token and change to wt

Individual bunkr video and file links still don't work, I haven't had a chance to work on this, will find some time soon I hope

As usual it should auto-update but if it doesn't you can get it from here:
Please, Log in or Register to see links and images
 
D

Deleted member 916714

Guest
0fya082315al84db03fa9bf467e3.png
POKI PR created:
Please, Log in or Register to see links and images

For the impatient:
Please, Log in or Register to see links and images


v2.2.0

Features
:

- Flatten: Don't create sub-directories and places all files in a single directory.
- Skip Duplicates: Skip duplicates based on the filename.
- Generate Links: Creates a links.txt inside generated directory containing all the downloadable links for the post.
- Generate Log: Creates a log of every download inside generated directory.
- Skip Download: Skips download in the browser and generates a links.txt file containing all the downloadable links for the post.
- Password Protected Links: If a host requires password (e.g. GoFile), the script will pick it up from the post and unlock it.
- Download Page: Downloads all downloadable posts on the current page. You have the ability to choose which posts to download.
- Host Selection: You can now choose which host(s) to download the media from. At-least one host must be checked.
- Hosts: 23 hosts are tested and working. You can now download public Instagram profiles.

Please, Log in or Register to see links and images
Please, Log in or Register to see links and images


Tested on Chrome, Firefox and Brave browsers.

Supported Hosts:


[✓] jpg.church 🢒 https://simpcity.su/threads/alexis-clark.15203/post-1160129
[✓] ibb.co 🢒 https://simpcity.su/threads/martina-raja-tosi.105401/post-1065693
[✓] imgbox.com 🢒 https://simpcity.su/threads/sirena-mysirenaofc.63488/post-478107
[✓] reddit.com 🢒 https://simpcity.su/threads/lena12.10427/post-17564
[✓] twitter.com 🢒 https://simpcity.su/threads/echiechimykanojo.112213/post-1173588
[✓] pixl.li 🢒 https://simpcity.su/threads/lillyroma1982-lilly-roma.13466/post-1170354
[✓] pixhost.to 🢒 https://simpcity.su/threads/emily-ratajkowski.11090/post-889542
[✓] imagebam.com 🢒 https://simpcity.su/threads/xobondaixo-bella-bondai.64960/#
[✓] saint.to 🢒 https://simpcity.su/threads/audrey-bradford-dreybradford.13355/post-1144820
[✓] gfycat.com 🢒 https://simpcity.su/threads/grace-boor.10153/post-1170389
[✓] box.com 🢒 https://simpcity.su/threads/nataliarose2020-hotwethailey.38931/post-888139
[✓] redgifs.com 🢒 https://simpcity.su/threads/movies-and-tv-scenes.63781/post-1041255
[✓] bunkrr.su 🢒 https://simpcity.su/threads/movies-and-tv-scenes.63781/post-1041380
[✓] pixeldrain.com 🢒 https://simpcity.su/threads/jessi-callahan-babygirl-honeybun.26041/post-1170383
[✓] anonfiles.com 🢒 https://simpcity.su/threads/julieta-yanez-ters29.94204/post-1170305
[✓] gofile.com 🢒 https://simpcity.su/threads/dakota-tyler-dakotatylerxxx.33609/post-1136725
[✓] *Blacklisted site* 🢒 https://simpcity.su/threads/taylor-jay-xtaylorjayx.6209/post-659827
[✓] cyberfile.su 🢒 https://simpcity.su/threads/brazzyblondebhabie-aubrey-chesna.12405/post-1170196
[✓] cyberdrop.me 🢒 https://simpcity.su/threads/sophxof.43374/post-250161
[✓] pornhub.com 🢒 https://simpcity.su/threads/arya-fae-aryafae710.111893/post-1168184
[✓] noodlemagazine.com 🢒 https://simpcity.su/threads/arya-fae-aryafae710.111893/post-1168184
[✓] spankbang.com 🢒 https://simpcity.su/threads/joi-jerk-off-instructions-thread.56850/post-1170472

Installation:

1. Install the Tampermonkey browser extension: (
Please, Log in or Register to see links and images
) (
Please, Log in or Register to see links and images
) (
Please, Log in or Register to see links and images
)
2. Important: Under the tampermonkey settings, set the Config mode to Advanced and enable the Browser API in Download Mode (BETA).
3. Copy the contents of
Please, Log in or Register to see links and images

4. Create a new Tampermonkey script and paste the contents you copied in step 3 (build.js).
5. Save the script (Ctrl+S).
6. Visit any thread to verify the script installation.

GoFile Configuration:

By default, the script will create an account and obtain the token. If for some reason, the token doesn't work (GoFile downloads will stop working), perform the following steps to configure a custom token:

1. Create a free GoFIle account here:
Please, Log in or Register to see links and images
.
2. Once the account is verified, copy the API Token at the bottom of the page.
3. Open the script and paste the API Token under settings.hosts.goFile.token as shown below.
4. Save the script.

Please, Log in or Register to see links and images


Known Issues:

- Pornhub support is experimental. yt-dlp is having issues with it as well. Their workaround is to use 3.10+:
Please, Log in or Register to see links and images
- While we're not using Python, the problem appears to be the same: 403s
- Bunkr starts to fail after a while on Chrome and restarting Chrome fixes it. If you can't restart Chrome, use Firefox.

Changelog:

Please, Log in or Register to see links and images
:

1. Fix filenames on Windows

Please, Log in or Register to see links and images
:

1. Do not use custom dir for Firefox

Please, Log in or Register to see links and images
:

1. Add support for direct imgur images
2. Simplify the download directory to thread_title/post_number

Please, Log in or Register to see links and images
:

1. Flatten: Don't create sub-directories and places all files in a single directory
2. Skip Duplicates: Skip duplicates based on the filename
3. Generate Links: Creates a links.txt inside generated directory containing all the downloadable links for the post
4. Generate Log: Creates a log of every download inside generated directory
5. Skip Download: Skips download in the browser and generates a links.txt file containing all the downloadable links for the post
6. Password Protected Links: If a host requires password (e.g. GoFile), the script will pick it up from the post and unlock it
7. Download Page: Downloads all downloadable posts on the current page. You have the ability to choose which posts to download
8. Host Selection: Choose which host(s) to download the media from
9. Fix old post settings and filtered hosts being used when bulk downloading (download page)
10. Create a setting for labeling the toggle all checkbox
11. Update the parent path for every download
12. Fix imagebam (requires an expires cookie)
 
Last edited:

POKI

Broke Boi
Mar 8, 2022
1,697
108
16,865
1,522
0fya082315al84db03fa9bf467e3.png

2.1 Released with multiple bug fixes

  • bunkr zip links fixed
  • bunkr video files approach changed to account for the cdn number not always matching the media-files number
  • Added some logic for when pixl images don't have correct names stored in content-deposition
It should auto-update by itself next time you restart chrome/firefox but if it doesn't then click the following link and tampermonkey should detect it as an update
Please, Log in or Register to see links and images

Let me know if there's any issues with things
 

POKI

Broke Boi
Mar 8, 2022
1,697
108
16,865
1,522
0fya082315al84db03fa9bf467e3.png
Version 2.2.8 released

Please, Log in or Register to see links and images

Fixed
  • Set 'skip duplicates' to false by default, duplicate detection was not very good and didnt work for things like a bunkr / saint duplicate or a bunkr / pixeldrain duplicate because bunkr adds a 9 digit code to the end and saint renames vids. However, it was stopping multiple pixeldrain albums in one post from downloading. You can still set it to skip duplicates in the pop-up for each post if you wish.
  • Pixl images with no server number i.e. i.pixl.li are now downloaded
  • Nitter is now supported, script converts nitter pics to pbs.twimg (normal twitter) and then downloads as normal
  • Cyberfile changed to .su
  • Extension issue for attachments inserted into post fixed

Hopefully Fixed
  • Hopefully any updates after this will auto-install again. Its hard to test this function though...

Known Bugs
  • Doesn't download attachments not inserted into post, the script only parses the message content area and not the attachments field below as of now
  • Incomplete cyberdrop support
  • ibb albums - downloads low res

Future Enhancements?
  • postimg.cc support
  • Bunkr images still use media-files, change to just use the cdn# / i# link
 
Last edited:

backwards

Tier 2 Sub
Jan 4, 2023
31
1
209
277
0fya082315al84db03fa9bf467e3.png
Please, Log in or Register to see links and images

- Download links in batches (default batch size: 2).
- For browsers other than Firefox, do not generate a zip and write to disk as soon as the file is downloaded.
- Remove custom filename for browsers other than Firefox.
- Only remove blockquotes from messages when it references another post.
- Fix duplicate jpg.church image detection for some posts.
- Fix duplicate bunkrr.su image/video detection for some posts.
- Add ability to download direct images from *Blacklisted site*
- Add ability to download direct images from dailystar.co.uk
- Add ability to download public images from onlyfans.com
- Sync src with /dist/build.user.js
- Fix formatting

#1: This should fix the rate limiting issues (429: Too many requests) for hosts like Bunkr as no more than 2 files are downloaded concurrently. If you are downloading files from hosts that have rate-limit in place (e.g. Bunkr), make sure to wait for a post to finish downloading before downloading another post.
 
Last edited:
D

Deleted member 916714

Guest
0fya082315al84db03fa9bf467e3.png
v2.2.2:

1. Fix old post settings and filtered hosts being used when bulk downloading (download page)
2. Create a setting for labeling the toggle all checkbox
3. Update the parent path for every download
4. Fix imagebam (requires an expires cookie)

Please, Log in or Register to see links and images

Chrome and Brave browsers should be fine after this update.

Firefox Users: Stop using the script altogether since there's a major bug (#1). I'll update once FF download path issues are fixed.
 

POKI

Broke Boi
Mar 8, 2022
1,697
108
16,865
1,522
0fya082315al84db03fa9bf467e3.png
Version 2.3.0 released

Please, Log in or Register to see links and images

Sorry for the delay with this update, I wanted to get it out sooner but other things got in the way, there's still open issues listed below but things like bunkrr.su support needed releasing

Fixed
  • postimg.cc, pixxxels.cc and imagevenue support added
  • cdn12.bunkrr.su support added
  • Minor regex fix so images that start IMG are now scraped
  • Some kemono.party support added, direct image/file links only

Known Bugs
  • Some have reported a bunkr issue not downloading all, probably rate limiting related, I haven't encountered it and bunkr have changed their rate limits since issue reported, please provide posts with the issue below if this is still an issue
  • redgifs not downloading HD, I dont know how to fix this its not a simple regex replace like it used to be since redgifs added tokens and IP address stuff,
    Please, Log in or Register to see links and images
    .
  • Doesn't download attachments not inserted into post, the script only parses the message content area and not the attachments field below as of now
  • Incomplete cyberdrop support
  • ibb albums - downloads low res

Future Enhancements?
  • pixxxels / postimg gallery
  • Bunkr images still use media-files, change to just use the cdn# / i# link
 

backwards

Tier 2 Sub
Jan 4, 2023
31
1
209
277
0fya082315al84db03fa9bf467e3.png
2.3.6:
Please, Log in or Register to see links and images


- Revert to zipped downloads (with option to download directly to the folder)
- Add ability to download files from zippyshare.com
- Add ability to download media from give.xxx

Please, Log in or Register to view quotes

Not true. Nothing in the changes introduced in the last couple of releases has anything to do with how browser caches the files. Files are cached like before. Remember that caching depends on many factors and I haven't seen a file > 40MB or 50MB being cached on my PC.
 
Last edited:

POKI

Broke Boi
Mar 8, 2022
1,697
108
16,865
1,522
0fya082315al84db03fa9bf467e3.png
2.4.7 Released
  • Added support for bunkrs new domain, bunkrr.su
  • Speed improvements for simp1-5.jpg.fish by changing the image links from .church to .fish which is still on cloudflare (unknown if this will cause issues)
  • Fixed a small mostly unnoticable bug with the jpg.fish regex which meant a few images not on a simpX server are now supported (very rare, only happens when the servers get full)
It should auto-update but if it doesn't:
Please, Log in or Register to see links and images
 

POKI

Broke Boi
Mar 8, 2022
1,697
108
16,865
1,522
0fya082315al84db03fa9bf467e3.png
x111000111 who did the recent great update to the script has deleted his account so I'm now trying to fix the small bugs people have found.

Here's a status update which I'll edit as I go

Fixed, coming in next release:
  • pixl is -> li
  • twitter images (twimg) - improved regex
  • pixeldrain filename and extension thing
  • Multiple ibb issues:
    • Doesn't download full res for linked embeds - changed which element it looks for in the request response
    • Non-linked embeds are ignored - they are now downloaded properly, this required the longest line of regex I've ever written :LUL

To do:
  • Multiple ibb issues:
    • Doesn't download full res for albums, I think the script needs to request each image page rather than just regex.
  • bunkr images - I've not found an album with the issue, oOD4rkL0rdOo can you give an example please (although tbh, isnt necessary). This should be regexable I just need to understand what all this pageprops stuff is doing.
 
Last edited: