VSCO Ripper Single Image
Currently can only support ripping a single Image. More study will be needed to rip member profiles and collections. (Maybe JSON?)
This commit is contained in:
parent
64a6f9257b
commit
c14f26feb1
@ -0,0 +1,23 @@
|
||||
package com.rarchives.ripme.tst.ripper.rippers;
|
||||
|
||||
import com.rarchives.ripme.ripper.rippers.VscoRipper;
|
||||
import java.io.IOException;
|
||||
import java.net.URL;
|
||||
|
||||
public class VscoRipperTest extends RippersTest {
|
||||
|
||||
|
||||
public void testSingleImageRip() throws IOException{
|
||||
VscoRipper ripper = new VscoRipper(new URL("https://vsco.co/minijello/media/571cd612542220261a123441"));
|
||||
testRipper(ripper);
|
||||
}
|
||||
|
||||
public void testGetGID() throws IOException{
|
||||
URL url = new URL("https://vsco.co/minijello/media/571cd612542220261a123441");
|
||||
|
||||
VscoRipper ripper = new VscoRipper(url);
|
||||
|
||||
assertEquals("Failed to get GID", "minijello/571cd", ripper.getGID(url));
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user