Skip to content

download image from <a href = 'file.png'/> links #4

@oleksabor

Description

@oleksabor

Hello

I'm trying to use SkyScraper. There are web-pages that contains links to image files like below:

<A HREF="/bbb/yiifrontend/">[To Parent Directory]</A><br><br> 7/26/2018 11:46 AM 30097 <A HREF="/bbb/yiifrontend/formdocs/CertStoreSample.png">CertStoreSample.png</A><br> 3/7/2018 4:20 PM 68519 <A HREF="/bbb/yiifrontend/formdocs/Clipboard01.jpg">Clipboard01.jpg</A><br>
actually this is http directory browsing output but i suppose this can be met in other cases

I've checked ImageScraperObserver source code and found that it does not try to parse such kind of image links.
I've created custom IObserver<HtmlDoc> descendant and implemented logic like ImageScraperObserver has but modified to process <a href="sample.jpg"/>

Please help me to understand is there any other SkyScrapper in-built method to parse image links like <a href> and get byte array with image ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions