Skip to content

Commit

Permalink
Add unit test for Gfycat Amp links
Browse files Browse the repository at this point in the history
  • Loading branch information
Pocochub authored Sep 6, 2019
1 parent 828255d commit 3ac381d
Showing 1 changed file with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,21 @@ public void testGfycatBadURL() throws IOException {
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);
}
}

0 comments on commit 3ac381d

Please sign in to comment.