Got PicstatioRipper working

This commit is contained in:
cyian-1756 2018-06-18 11:29:10 -04:00
parent 3ebb7d1874
commit f34b1273f5

View File

@ -22,7 +22,8 @@ public class PicstatioRipper extends AbstractHTMLRipper {
private String getFullSizedImageFromURL(String fileName) { private String getFullSizedImageFromURL(String fileName) {
try { try {
return Http.url("https://www.picstatio.com/wallpaper/" + fileName + "/download").get().select("p.text-center > a").attr("href"); LOGGER.info("https://www.picstatio.com/wallpaper/" + fileName + "/download");
return Http.url("https://www.picstatio.com/wallpaper/" + fileName + "/download").get().select("p.text-center > span > a").attr("href");
} catch (IOException e) { } catch (IOException e) {
e.printStackTrace(); e.printStackTrace();
return null; return null;