I just figured out to download all of the strong bad emails!
its pretty easy to do.
and I will try to make it as clear as possible.

The way I figured this out was looking online and seeing that people did it on a mac, and so I took some files and used them with this batch program I made to download all the sbemails!

You can change the code to make this 'auto download' any website that works the same way as homestarrunner.com does.

Step 1: Install WGET

there is a command that you can use on a mac, it is wget, formerly curl, and what it did is you would use it to download the URL that you put after it, EG: WGET http://www.homestarrunner.com/sbemail1.html.
You can Also replace the ".Html" after the url for this website with ".swf" to get the raw swf file to load.

so for this to work, you need to install wget for windows http://users.ugent.be/~bpuype/wget/

basically you just need to download wget.exe and put it in your windows file.

this file is located at C:\Windows on most computers.

it will most likely ask you for permissions to do so.

if you dont have permissions for this then you can get around that by putting it in another directory and changing the code in the batch. ill explain this at the end.

Step 2: Set Up the Batch

For this step, you will want to create a folder where you want to store your newly acquired sbemails. I put mine on my desktop for the downloading process.

now, open up notepad. you cant use microsoft word for this since it has some formating and whatnot (or maybe you can, i just read that you cant and never tried). and you will need to cope and paste the following text.

@echo off
setlocal EnableDelayedExpansion
set var=1
wget http://www.homestarrunner.com/sbemail%var%.swf
if [%var%]==[205] goto b
set /a var=%var%+1
goto a

now save this file, but when you do, save it in the folder you want the emails in, name it sbemail.bat (the important part there is the .bat at the end), and under the menu right under the name section, the [save as type] thing, click [ALL FILES]

then click save

Step 3: Download the EMAILS!!!!

Now, just double click the bat file you just created, and it should auto download all of the emails for you!!!


You will notice this only downloads some of the emails, the ones that have odd url's are excluded, like #200 and various others, but if you all tell me the ones that are like that I will add them to the batch file for other people to enjoy.

Step 4: No Permission?

To do this with out the permission, do everything the same, but the batch file should have this code and the wget.exe should be on your desktop.

@echo off

cd %userprofile%\Desktop\wget.exe

setlocal EnableDelayedExpansion

set var=1
wget http://www.homestarrunner.com/sbmail%var%.swf
if [%var%]==[205] goto b
set /a var=%var%+1
goto a

The "cd %userprofile%\Desktop\wget.exe" edit was from Regulators, thank you for the input.

<p>you make it not flexible, here its the code, </p><p>@@echo off</p><p>cd %userprofile%\Desktop\wget.exe<br>setlocal EnableDelayedExpansion<br>set var=1<br>:a<br>wget <a href="http://www.homestarrunner.com/sbmail%var%.swf" rel="nofollow"> http://www.homestarrunner.com/sbmail%var%.swf</a><br>pause<br>if [%var%]==[205] goto b<br>set /a var=%var%+1<br>goto a<br>:b</p><p>so here that %userprofile% make it more flexible..</p><p>so u dont need user to change the code manually.</p><p>i wish this could helped you!</p>
<p>Thank you for that, I updated the instructable to add it.</p>

About This Instructable




More by meedeeleemee:Download All Sbemails! Batch Downloader. Learn Binary (The easy way) 01000001 00000001 april fools your computer 
Add instructable to: