mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-01 19:40:18 +02:00
Fix gfycat, closes #269
This commit is contained in:
@@ -65,7 +65,7 @@ public class GfycatRipper extends VideoRipper {
|
|||||||
public static String getVideoURL(URL url) throws IOException {
|
public static String getVideoURL(URL url) throws IOException {
|
||||||
logger.info("Retrieving " + url.toExternalForm());
|
logger.info("Retrieving " + url.toExternalForm());
|
||||||
Document doc = Http.url(url).get();
|
Document doc = Http.url(url).get();
|
||||||
Elements videos = doc.select("source#mp4source");
|
Elements videos = doc.select("source#mp4Source");
|
||||||
if (videos.size() == 0) {
|
if (videos.size() == 0) {
|
||||||
throw new IOException("Could not find source#mp4source at " + url);
|
throw new IOException("Could not find source#mp4source at " + url);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user