mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-19 12:11:40 +02:00
@@ -81,7 +81,7 @@ public class RipUtils {
|
|||||||
.userAgent(AbstractRipper.USER_AGENT)
|
.userAgent(AbstractRipper.USER_AGENT)
|
||||||
.get();
|
.get();
|
||||||
for (Element el : doc.select("meta")) {
|
for (Element el : doc.select("meta")) {
|
||||||
if (el.attr("property").equals("og:image")) {
|
if (el.attr("name").equals("twitter:image:src")) {
|
||||||
result.add(new URL(el.attr("content")));
|
result.add(new URL(el.attr("content")));
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user