Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
The Saddest Rhino
Apr 29, 2009

Put it all together.
Solve the world.
One conversation at a time.



nota just posted this in the Video Game Hoaxes thread, is this useful?

nota posted:

Thanks a lot for the run down !
It makes me pretty sad that the actions of one lovely person may result in the end of the forums, I hope something can be done to avoid this.

For windows user looking to archive their favorite threads, I made a wget script.
First you'll need to get wget and run it from the folder you want your thread saved to (each page will be a file so one folder per thread).
Here's a tuto I found : https://builtvisible.com/download-your-website-with-wget/
Here's the command line script :

FOR /L %G IN (A,1,B) DO wget --html-extension -np https://forums.somethingawful.com/showthread.php?threadid=1111111^&userid=0^&perpage=40^&pagenumber=%G

In (A,1,B), A is the first page you want to save and B the last (1 is the increment).
Just edit the threadid with the one you want to save, you can also edit the number of posts per page.
Sadly I could'n't figure out how to make the page links work since they contain a question mark (if you can batch edit the html to replace it with an @ the links should work).
This won't log you in but there are ways to add cookie data to wget.

EDIT : To add cookies just put the site's cookies.txt in the folder you're using for wget (there are extensions to extract cookies from websites) and use the following command (don't forget to edit the relevant fields) :

FOR /L %G IN (A,1,B) DO wget --load-cookies=cookies.txt --html-extension -np https://forums.somethingawful.com/showthread.php?threadid=1111111^&userid=0^&perpage=40^&pagenumber=%G

Adbot
ADBOT LOVES YOU

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply