Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Web scrap

 

Hi All,
and @v_lid_msft 

I'm trying to scrap data from flat renting/selling website
Bellow is the total list of all features and HTML "data-name" that flat can have in that web site

Features                           data-name
"Балкон остеклен"           flat.balcony_g
"Дверь"                            flat.door
"Телефон"                        flat.phone

"Интернет"                       inet.type
"Парковка"                      flat.parking
"Мебель"                          live.furniture
"Пол"                                flat.flooring
"Потолки"                        ceiling
"Безопасность"                flat.security
"В прив. Общежитии"     flat.priv_dorm
"Разное"                           flat_options

But ad can contain less features, example is below. 

image.png

https://krisha.kz/a/show/54195634

= Html.Table(Source, {{"Tel", "DL:nth-child(1) > DD"}, {"Парковка", "DL:nth-child(2) > DD"}, {"Без", "DL:nth-child(3) > DD"}}, [RowSelector="DL:nth-child(1) > DD"])

But the thing is, if in the next ad another owner added "flat.balcony_g" or "flat.door" feature/s then everything will be filled one by one, it is not right. Example how it is and how it should be below:image.png
I tried to excess to the right data and stick data by doing following:
= Html.Table(Source, {{"Tel", ".offer__parameters >dl> [data-name=""flat.phone""]"}}, [RowSelector=".offer__advert-title"])

But I can get only "Телефон", and cant find solution to access to "отдельный"

Please help with this

 

0 REPLIES 0

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.