mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
removed debug lines
This commit is contained in:
@@ -370,17 +370,13 @@ public class FeedUtils {
|
|||||||
return content;
|
return content;
|
||||||
}
|
}
|
||||||
|
|
||||||
log.info("cc");
|
|
||||||
Document doc = Jsoup.parse(content);
|
Document doc = Jsoup.parse(content);
|
||||||
Elements elements = doc.select("img");
|
Elements elements = doc.select("img");
|
||||||
log.info("{}", elements.size());
|
|
||||||
for (Element element : elements) {
|
for (Element element : elements) {
|
||||||
String href = element.attr("src");
|
String href = element.attr("src");
|
||||||
log.info(href);
|
|
||||||
if (href != null) {
|
if (href != null) {
|
||||||
String proxy = removeTrailingSlash(publicUrl) + "/rest/server/proxy?u="
|
String proxy = removeTrailingSlash(publicUrl) + "/rest/server/proxy?u="
|
||||||
+ imageProxyEncoder(href);
|
+ imageProxyEncoder(href);
|
||||||
log.info(proxy);
|
|
||||||
element.attr("src", proxy);
|
element.attr("src", proxy);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user