#!/bin/sh
for ((i=1;i<=5791;i++)); 
do
	mkdir $i
	wget http://stemdlf.no/node/$i -O $i/index.html
done
