Skip to content

DribbbleRipper not working - site changed #2120

Open
@metaprime

Description

@metaprime

https://dribbble.com/typogriff

Implementation is:

    public List<String> getURLsFromPage(Document doc) {
        List<String> imageURLs = new ArrayList<>();
        for (Element thumb : doc.select("a.dribbble-link > picture > source")) {
            // nl skips thumbnails
            if ( thumb.attr("srcset").contains("teaser")) continue;
            String image = thumb.attr("srcset").replace("_1x", "");
            imageURLs.add(image);
        }
        return imageURLs;
    }

Checking on the page:

Array.from(document.querySelectorAll("a.dribbble-link > picture > source"))

returns an empty list.

The site layout and pattern of the original image URL have changed. Needs work.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions