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 HRef from dyna...
Power Automate
Answered

Extract HRef from dynamic website

(0) ShareShare
ReportReport
Posted on by 170

Hello everyone,

 

I want to extract the HRef element from the instances in this website (https://eur-lex.europa.eu/oj/daily-view/L-series/default.html). I usually extract both the text and the HRef using the Extract data from Web Page but I am not able to do that in this website because the layout changes daily. As a workaround I used the Get details of Web Page action but this way I can only extract the Text itself and I don't know how I can extract the HRef each day, I tried Extract data from Web Page and selecting each one individually but as it works for one day it doesn't for the second.

TelmoERF96_0-1701354115055.png

I want to get the link of each one of the texts with an arrow on it and all the rest down to the end of the page, and also have it automated to work each day when the layout changes. 

 

How can I do this? Is there a way that I extract the HRef using the text I want to extract it from? Or any other way?

 

If anyone can help with this one I would really appreciate it.

Thanks in advance,

 

Telmo Ferreira

I have the same question (0)
  • Verified answer
    Kaif_Siddique Profile Picture
    2,108 Super User 2024 Season 1 on at

    try to use recorder.

     

    here is the partial solution. hope this will help you.

     

    1. Sort data with OJ Number

    Kaif_Siddique_0-1701445988366.png

    2. Record the steps and capture element one by one.

    After second element capture, flow will analyze the patter and automatically capture the remaining elements 

    Kaif_Siddique_1-1701446132092.png

     

    Kaif_Siddique_2-1701446413943.png

     

    Output

    Kaif_Siddique_3-1701446488901.png

     

    Format and extract values from Datatable

     

    Regards

    Kaif

     

  • TelmoERF96 Profile Picture
    170 on at

    Thank you so much @Kaif_Siddique 

     

    This worked exactly as I wanted, I was able to get the extraction to run this way and then manipulate the data however I intended. Perfect, once again thank you. 👍

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 378

#2
Valantis Profile Picture

Valantis 329

#3
David_MA Profile Picture

David_MA 283 Super User 2026 Season 1

Last 30 days Overall leaderboard