# HTML Extract Problem

**URL:** <https://community.n8n.io/t/html-extract-problem/40317>\
**Category:** Questions\
**Tags:** workflow-building\
**Created:** [February 15, 2024, 4:50pm UTC](https://community.n8n.io/t/html-extract-problem/40317 "2024-02-15T16:50:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Firat\_Ersin\_Corbaci](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/firat_ersin_corbaci/32/33960_2.png) [@Firat\_Ersin\_Corbaci](https://community.n8n.io/u/Firat_Ersin_Corbaci)\
**Post date:** [February 15, 2024, 4:50pm UTC](https://community.n8n.io/t/html-extract-problem/40317/1 "2024-02-15T16:50:48Z")

</div>

## Describe the problem/error/question

Cant get the right CSS selector. Checed other posts about this, people’s selector seems to be much simpler. TO get the selecotr, I went to website and get the selector from inspecting the website link element

## What is the error message (if any)?

nothing, returns empty array

## Please share your workflow

```auto

```

{  
“meta”: {  
“templateCredsSetupCompleted”: true,  
“instanceId”: “b9d3412cb909ca5769275f8f0b5439aee3569da2a180e67a22e82c8a2e992db9”  
},  
“nodes”: [  
{  
“parameters”: {},  
“id”: “e0a34020-9e04-4dde-8c65-f9cb1badea54”,  
“name”: “When clicking "Test workflow"”,  
“type”: “n8n-nodes-base.manualTrigger”,  
“typeVersion”: 1,  
“position”: [  
500,  
360  
]  
},  
{  
“parameters”: {  
“url”: “=[https://www.eurocis.com/vis/v1/de/exhprofiles/14yeJ3BxRsKftgGku5DuJw?oid=49775&lang=1&\_query=&f\_type=profile](https://www.eurocis.com/vis/v1/de/exhprofiles/14yeJ3BxRsKftgGku5DuJw?oid=49775&lang=1&_query=&f_type=profile)”,  
“options”: {}  
},  
“id”: “95195cd4-1b3f-4cf5-894a-87202ead5d0b”,  
“name”: “HTTP Request”,  
“type”: “n8n-nodes-base.httpRequest”,  
“typeVersion”: 4.1,  
“position”: [  
1040,  
360  
]  
},  
{  
“parameters”: {  
“operation”: “extractHtmlContent”,  
“extractionValues”: {  
“values”: [  
{  
“key”: “website”,  
“cssSelector”: “#profile-business-data \> div.business-info \> div.profile-business-exh-contact \> div.exh-contact \> div.exh-contact-links \> div.link-list.link-list–slim \> ul \> li \> a”,  
“returnValue”: “html”,  
“returnArray”: true  
}  
]  
},  
“options”: {}  
},  
“id”: “7210dcc9-9120-40ed-b30c-e18e2f1cb523”,  
“name”: “HTML”,  
“type”: “n8n-nodes-base.html”,  
“typeVersion”: 1,  
“position”: [  
1260,  
360  
]  
}  
],  
“connections”: {  
“When clicking "Test workflow"”: {  
“main”: [  
[  
{  
“node”: “HTTP Request”,  
“type”: “main”,  
“index”: 0  
}  
]  
]  
},  
“HTTP Request”: {  
“main”: [  
[  
{  
“node”: “HTML”,  
“type”: “main”,  
“index”: 0  
}  
]  
]  
}  
},  
“pinData”: {}  
}

```auto

```

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

```auto

## Share the output returned by the last node
<!-- If you need help with data transformations, please also share your expected output. -->
This should be passing me the website link
## Information on your n8n setup
- **n8n version:**
- **Database (default: SQLite):**
- **n8n EXECUTIONS_PROCESS setting (default: own, main):**
- **Running n8n via (Docker, npm, n8n cloud, desktop app):** Cloud
- **Operating system:** Fedora
```

---

<div class="post-metadata">

**Author:** ![n8n](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/n8n/32/196425_2.png) [@n8n](https://community.n8n.io/u/n8n)\
**Post date:** [February 15, 2024, 4:50pm UTC](https://community.n8n.io/t/html-extract-problem/40317/2 "2024-02-15T16:50:50Z")

</div>

It looks like your topic is missing some important information. Could you provide the following if applicable.

- **n8n version:**
- **Database (default: SQLite):**
- **n8n EXECUTIONS\_PROCESS setting (default: own, main):**
- **Running n8n via (Docker, npm, n8n cloud, desktop app):**
- **Operating system:**

---

<div class="post-metadata">

**Author:** ![barn4k](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/barn4k/32/8170_2.png) [@barn4k](https://community.n8n.io/u/barn4k)\
**Post date:** [February 16, 2024, 9:26pm UTC](https://community.n8n.io/t/html-extract-problem/40317/3 "2024-02-16T21:26:37Z")

</div>

hello @Firat_Ersin_Corbaci

According to the site, there is no such css as ‘ **#profile-business-data** ’

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [May 16, 2024, 9:27pm UTC](https://community.n8n.io/t/html-extract-problem/40317/4 "2024-05-16T21:27:24Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
