Merge pull request #654 from cyian-1756/theyiffgalleryRipperFix
Fixed TheyiffgalleryRipper
This commit is contained in:
commit
b965074c49
@ -59,8 +59,8 @@ public class TheyiffgalleryRipper extends AbstractHTMLRipper {
|
||||
@Override
|
||||
public List<String> getURLsFromPage(Document doc) {
|
||||
List<String> result = new ArrayList<>();
|
||||
for (Element el : doc.select("ul.thumbnails > li.gdthumb")) {
|
||||
String imageSource = el.select("a > img").attr("src");
|
||||
for (Element el : doc.select("img.thumbnail")) {
|
||||
String imageSource = el.attr("src");
|
||||
imageSource = imageSource.replaceAll("_data/i", "");
|
||||
imageSource = imageSource.replaceAll("-\\w\\w_\\w\\d+x\\d+", "");
|
||||
result.add("https://theyiffgallery.com" + imageSource);
|
||||
|
Loading…
Reference in New Issue
Block a user