1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-01-18 05:08:15 +01:00

Add unit test for Gfycat Amp links

This commit is contained in:
Pocochub 2019-09-06 10:30:44 +01:00 committed by GitHub
parent 828255d8bc
commit 3ac381d6d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,8 +27,21 @@ public class GfycatRipperTest extends RippersTest {
testRipper(ripper);
}
/**
* Rips a Gfycat profile
* @throws IOException
*/
public void testGfycatProfile() throws IOException {
GfycatRipper ripper = new GfycatRipper(new URL("https://gfycat.com/@golbanstorage"));
testRipper(ripper);
}
}
/**
* Rips a Gfycat amp link
* @throws IOException
*/
public void testGfycatAmp() throws IOException {
GfycatRipper ripper = new GfycatRipper(new URL("https://gfycat.com/amp/TemptingExcellentIchthyosaurs"));
testRipper(ripper);
}
}