web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Web scraping text from...
Power Automate
Answered

Web scraping text from images

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

I would like to scrape text from the below web table but I'm not able to extract element values from the column on left because the banks are listed as images. Is there a way to around this and get the names of the banks with the table?

 

When I inspect behind the images, all of the images are named as the banks so I wonder if it's possible to somehow copy the names from there? Please see the second picture below.

<img src="https://resources.compricer.se/logos/svg/new/1078.svg" alt="Erik Penser Bank" class="tw-max-w-full tw-h-auto tw-w-16 xs:tw-w-20" loading="lazy">

 

senja_0-1693294230895.png

 

senja_1-1693294679906.png

 

Spara pengar – Tips som får dina pengar att växa | Compricer

 

Thank you so much for all the help! 

  • Verified answer
    efialttes Profile Picture
    14,756 on at

    Hi @Anonymous !
    You wanna grab this info, right?

    efialttes_0-1693306704278.png

    If so, please copy & paste the following code in your Desktop Flow

    @@source: 'Recorder'
    WebAutomation.ExtractData.ExtractList BrowserInstance: Browser Control: $'''html > body > div:eq(1) > div > article > div:eq(2) > section > div:eq(2) > div:eq(1) > table > tbody > tr''' ExtractionParameters: { ^['Css Selector', 'Attribute', 'Regex'], ['td:eq(0) > div > img', 'Alt', ''] } ExtractedData=> OutputData_2

    Hope this helps!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @efialttes! Thank you for your help! Glad to see it is doable. I'm just learning Power Automate and since you seem to know a lot about it, I would like to ask your insights on the flow I've been trying to build. I would like to copy the diverse deposit rates from the Compricer website daily and build a historic database. So in addition to the names of the banks (the ones you got), I'd also need to copy all the interest rates. I thought it would be easy with Power Automate since I have never coded but turns out I was wrong haha. What would you recommend me to do? 

    Very thankful for all the tips!

  • efialttes Profile Picture
    14,756 on at

    @Anonymous You will find attached as a zip file my PAD test code on how scrap the info andmerge deposit rates with names, just open the .txt and paste it on your PAD flow.
    Please note when expanding the table the HTML structure differs, so I could not grab names from the 11 row onwards. I am afraid I am much more used to Power Automate Cloud than Power Automate Desktop, if you need the name of the 45 rows, my humble suggestion is:

    1.-Mark this topic as "Solved" by clicking "Accept as a solution". THis way others with the same problem can find a solution faster. Please also note you can even select several responses as solution, even from different community members!

     

    Flow_AcceptSolution.png

     

    2.- Open a new thread for your next question, following the policy: 'One Question, one post'. This way you have more chances to attrack attention for superusers that are seeking for unanswered topics.

     

     

    Thanx for your help making this community great!



  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @efialttes! Thank you very much for your help 🙂

    In case someone else is looking for answer to the above, I've created a new question here: https://powerusers.microsoft.com/t5/Power-Automate-Desktop/HTML-structure-differs-when-scraping-text-from-images/m-p/2324047#M30520 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 424

#2
11manish Profile Picture

11manish 328 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard