define('DISALLOW_FILE_EDIT', true); define('DISALLOW_FILE_MODS', true); /dev/head — Спутник STEREO Ahead
 

Спутник STEREO Ahead

Рекомендовано сначала ознакомится со статьёй: Спутник STEREO behind
#!/usr/bin/env python
import os
import sys
year=str(2007)
month=1
while True:
    for x in range(1,32):
        day=str("%02d" % (x,))
        month=str("%02d" % (int(month),))
        os.system("wget http://stereo.gsfc.nasa.gov/browse/"+year+"/"+month+"/"\
                  +day+"/ahead/euvi/195/2048/"+year+month+day+"_000530_n4euA_195.jpg")
        if x==31:
            month=int(month)+1
        if month==13:
            sys.exit()