Version 0.10
XKCD and Imgur API Version 3 support
Imgur API Version 3 support
AlbumParser albumParser = new AlbumParser();
albumParser.setImgurClientId("YOUR_IMGUR_API_CLIENT_ID");
albumParser.parseUrl("http://imgur.com/gallery/OGYW4Nz");
If you don't have a client ID, the library will make a best effort attempt at parsing your
Imgur URL, but may return invalid links to images such as a .jpg link to a GIF animation
XKCD API support
Only supports comics URLs:
Supported URLs:
Unsupported URLs:
URLs to direct images are supported using the via the DirectMedia class, but they will not
include alt text, titles or descriptions since the XKCD API doesn't support getting information
for direct image URLs.
Example URLs: