|
|
@@ -187,6 +187,7 @@ public class SatelliteRadarImageCollectionTask {
|
|
|
public static void downloadPicture(String urlList, String path) {
|
|
|
URL url;
|
|
|
try {
|
|
|
+ urlList = urlList.replace("medium/", "");
|
|
|
url = new URL(urlList);
|
|
|
DataInputStream dataInputStream = new DataInputStream(url.openStream());
|
|
|
FileOutputStream fileOutputStream = new FileOutputStream(new File(path));
|