Skip to content

Instantly share code, notes, and snippets.

View husnakablan's full-sized avatar

Hüsna Yıldırım husnakablan

View GitHub Profile
@Daenyth
Daenyth / ImageExtractor.java
Last active March 31, 2023 08:27
Java class to extract an image from an html page using a method similar to Google+'s
import java.io.IOException;
import java.net.URL;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
/**
* Given a url to a web page, extract a suitable image from that page. This will
* attempt to follow a method similar to Google+, as described <a href=