This commit is contained in:
2014-04-20 20:28:00 +12:00
parent ae3d6dcfbb
commit d06ed8791a
+4 -2
View File
@@ -3,7 +3,7 @@ scrape-virtual-seismic-atlas
Created on Sat Apr 19 20:37:13 2014
This script will download images from the virtual seismic atlas (http://see-atlas.leeds.ac.uk:808),
This script will download images from the virtual seismic atlas (http://see-atlas.leeds.ac.uk:8080),
then add a url and caption. This is designed to run on linux and requires
the python module gdshortener and also the library imagemagick installed
and in the system path.
@@ -12,6 +12,8 @@ How it works? Images and info are scraped from the main site then and images are
current directory, but only if they do not alread exist. Shortened urls are registered and
captions are appended to the image using calls to imagemagick on the command line. (This is because PIL wasn't working as desired.)
This is pre-alpha so beware. You may beed to run it a few times to make sure all images are downloaded.
This is pre-alpha so beware. You may need to run it a few times to make sure all images are downloaded.
To run: python scrape_seismic_atlas.py
@author: wassname (located_at) wassname (dot) org