Added delay between each urlopen request to prevent ip blocking.
Five minutes is probably longer than necessary.
Checks for a directory to write magnetic links.
Creates one if not found.
Reduced sleep between url requests to four minutes.
Set the sleep to one minute between url requests.