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 / Extract data from web ...
Power Automate
Answered

Extract data from web page - Extract class

(0) ShareShare
ReportReport
Posted on by 12

I am a Power Automate Desktop newcomer. I am mostly interested in getting data from websites and I am already working basically with it.

 

I am trying to get dat from this marathon results page: https://results.sporthive.com/events/6981282006063051264/races/483567

it works well with all fields except the one of country flag. If I check that element this is the associated code:

<i class="flag-et" ng-show="result.classification.countryCode"></i>

 

Would it be possible to get the class, in this case "flag-et" (et=Ethiopia) as a field? 

 

I would appreciate any help or idea.

 

Carlos.

  • VJR Profile Picture
    7,635 on at

    Hi @cfcanet 

     

    You can give a custom attribute as class in your selectors while extracting the data.

     

     

    VJR_1-1666155010408.png

     

     

  • cfcanet Profile Picture
    12 on at

    Thank you very much for the explanation!. It works perfectly.

    However I have a problem listing table data together with class. I mean that if I store them in an Excel file it just shows the class list. How could manage in order I get all data in the same Excel sheet?

    Thanks again.

  • Verified answer
    VJR Profile Picture
    7,635 on at

    You already have the data without the Class. Write that to Excel.

    And then write the List with the Class to the same Excel in a new column such that they will be next to each other.

  • cfcanet Profile Picture
    12 on at

    Thank you very much VIR. It works!

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
11manish Profile Picture

11manish 233 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 227 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 178

Last 30 days Overall leaderboard