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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.