Collector Plugin for Thanados and support for collections in collections #3

Merged
enrico.ottonello merged 14 commits from thanados into master 2022-05-06 11:06:39 +02:00
1 changed files with 4 additions and 8 deletions
Showing only changes of commit 17a382d35e - Show all commits

View File

@ -1,18 +1,12 @@
package eu.dnetlib.data.collector.plugins.ariadneplus.thanados;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.IOUtils;
import org.junit.Ignore;
import org.junit.Test;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
@Ignore
public class ThanadosIteratorTest {
String sitelist = "https://thanados.net/sites/sitelist";
private String sitelist = "https://thanados.net/sites/sitelist";
ThanadosIterator it;
@Test
@ -23,7 +17,7 @@ public class ThanadosIteratorTest {
}
@Test
public void testDownload() throws IOException {
public void testDownload(){
int count = 0;
it = new ThanadosIterator("https://thanados.openatlas.eu/api/0.3/subunits", sitelist);
while(it.hasNext()){
@ -33,4 +27,6 @@ public class ThanadosIteratorTest {
}
System.out.println("DONE");
}
}