none
c# rip images off website that are not in html ?

    Question

  • ok what im trying to do is rip images and couple of xhr files also but  scraping a website requires it to be in a hashed link witch i created in regex the issue i have i have to load one link then some how load the link witch is only avalible in inepct element like if you load inspect element and click on images you can get a link like this 

    https://media.sketchfab.com/urls/b1d29886a86b41efb679e94bfa7e9465/dist/textures/e7c1694fd880418b97f69b2064a534e5/7c6e1ce6e9644840bb01fa61da828e55.jpg

    and what i need to do is load onto the site with the main link then get all images on the model with this kinda link i tryied regex with this 

    (https://media.sketchfab.com)\/urls\/[a-zA-Z0-9]+\/dist\/textures\/[a-zA-Z0-9]+\/[a-zA-Z0-9]+.jpg
    and that gets the link well should do not fully tested yet becsuse i dont know how to load the site via regex then find this because its in inspct element and not sure how to access stuff like that form code 

    anyone know how to rip files form network tab in devcontols on chrome ? 

    Saturday, May 18, 2019 12:30 AM

All replies

  • Take a look at the Html Agility Pack if you are screen scraping a web site.

    https://html-agility-pack.net/

    Saturday, May 18, 2019 9:07 AM
  • Hi 

    Thank you for posting here.

    Since your thread is more related to html, you could post in the following forum.

    https://forums.asp.net/130.aspx/1?HTML+CSS+and+JavaScript​​​​​​​

    The Visual C# forum discusses and asks questions about the C# programming language, IDE, libraries, samples, and tools.

    Best regards,

    Jack



    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, May 20, 2019 1:41 AM