# Question: How do I use Scrape LinkedIn Profile block correctly?

**URL:** https://community.mindstudio.ai/t/question-how-do-i-use-scrape-linkedin-profile-block-correctly/1749
**Category:** How-To Guides
**Created:** [October 11, 2025, 9:11am UTC](https://community.mindstudio.ai/t/question-how-do-i-use-scrape-linkedin-profile-block-correctly/1749 "2025-10-11T09:11:30Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![JoeN](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.mindstudio.ai/joen/32/993_2.png) [@JoeN](https://community.mindstudio.ai/u/JoeN)
#### Post date: [October 11, 2025, 9:11am UTC](https://community.mindstudio.ai/t/question-how-do-i-use-scrape-linkedin-profile-block-correctly/1749/1 "2025-10-11T09:11:30Z")

</div>

I get an Execution Error every time. I’m testing it on my own LI profile. My Mindstudio account is connected to my LinkedIn account. And the URL to my profile is correct in the debugger run log. But every time, in the run for this block, on the line after the URL, I get the Execution Error of “Error: Error: request\_failed”

---

<div class="post-metadata">

### Author: ![JoeN](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.mindstudio.ai/joen/32/993_2.png) [@JoeN](https://community.mindstudio.ai/u/JoeN)
#### Post date: [October 13, 2025, 7:34am UTC](https://community.mindstudio.ai/t/question-how-do-i-use-scrape-linkedin-profile-block-correctly/1749/2 "2025-10-13T07:34:15Z")

</div>

I get an Execution Error every time I run it. I’m testing it on my own LI profile. My Mindstudio account is connected to my LinkedIn account. And the URL to my profile is correct in the debugger run log. But every time, in the run for this block, on the line after the URL, I get the Execution Error of “Error: Error: request\_failed”. What am I missing?

---

<div class="post-metadata">

### Author: ![Alex\_MindStudio](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.mindstudio.ai/alex_mindstudio/32/27_2.png) [@Alex\_MindStudio](https://community.mindstudio.ai/u/Alex_MindStudio)
#### Post date: [October 14, 2025, 2:11pm UTC](https://community.mindstudio.ai/t/question-how-do-i-use-scrape-linkedin-profile-block-correctly/1749/3 "2025-10-14T14:11:39Z")

</div>

Hi @JoeN,

Thanks for the post.

LinkedIn is pretty strict about scraping and often restricts guest access to certain profiles, which can cause that “request\_failed” error when the scraper can’t read the page.

We’re looking into how to make this work more consistently.

---

<div class="post-metadata">

### Author: ![JoeN](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.mindstudio.ai/joen/32/993_2.png) [@JoeN](https://community.mindstudio.ai/u/JoeN)
#### Post date: [October 14, 2025, 2:57pm UTC](https://community.mindstudio.ai/t/question-how-do-i-use-scrape-linkedin-profile-block-correctly/1749/4 "2025-10-14T14:57:52Z")

</div>

Hey Alex,

Thank you so much for your email.

OK, that makes sense. Now I understand the error.

I have tried a workaround that seems to be working for what I need, now.

I copied the LinkedIn Connection Crafter agent and found that it uses  
the {{pageContent}} variable and that pulls info off of a LinkedIn  
profile even though scraping returns nothing.

I’m now using {{fullText}} in a Chrome extension agent I’m building, and  
it, too, pulls enough info off of a LinkedIn profile to do what I need  
for now.

I’m not exactly sure why these work and scraping doesn’t, but I’m  
guessing that scraping activates some sort of block from LinkedIn, while  
just reading {{pageContent}} or {{fullText}} doesn’t?

While I’ve got you here, I have another question:

How can I limit a web search instigated by an agent to gather  
information only from the last 30 days? Today I tried saying, “only  
information dated after September 15, 2025,” but even Gemini 2.5 Pro  
(the model in my Generate Text block) told me that this date was “in the  
future” so my request was impossible to fulfill.

Any suggestions? Is there another model I could use to search only very  
recent information on the web? Or is there another solution for this?

Thank you very much!

Joe

---

<div class="post-metadata">

### Author: ![Alex\_MindStudio](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.mindstudio.ai/alex_mindstudio/32/27_2.png) [@Alex\_MindStudio](https://community.mindstudio.ai/u/Alex_MindStudio)
#### Post date: [October 14, 2025, 4:53pm UTC](https://community.mindstudio.ai/t/question-how-do-i-use-scrape-linkedin-profile-block-correctly/1749/5 "2025-10-14T16:53:33Z")

</div>

Hi @JoeN,

That’s right, when you launch an Agent using the Chrome Extension, it gets direct access to the HTML and content of the page, so no scraping is required.

For your second question, there are a few ways to handle that:

1. Use a Google Search block, which lets you specify a date range
2. Use a Perplexity model in a Generate Text block, which has internet access and can search for data online

Hope this helps!

---

<div class="post-metadata">

### Author: ![JoeN](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.mindstudio.ai/joen/32/993_2.png) [@JoeN](https://community.mindstudio.ai/u/JoeN)
#### Post date: [October 15, 2025, 3:10am UTC](https://community.mindstudio.ai/t/question-how-do-i-use-scrape-linkedin-profile-block-correctly/1749/6 "2025-10-15T03:10:24Z")

</div>

Hey Alex,

Thanks for pointing out that in the Chrome extension the agent gets direct access to the HTML. That makes sense.

Can you tell me briefly in layman’s terms what’s happening when an agent scrapes that is different from this?

And yes, your suggestions help a lot. I’ll try a Google search block or a Perplexity model.

Thanks for your prompt answers!

Joe

---

<div class="post-metadata">

### Author: ![Alex\_MindStudio](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.mindstudio.ai/alex_mindstudio/32/27_2.png) [@Alex\_MindStudio](https://community.mindstudio.ai/u/Alex_MindStudio)
#### Post date: [October 15, 2025, 11:43am UTC](https://community.mindstudio.ai/t/question-how-do-i-use-scrape-linkedin-profile-block-correctly/1749/7 "2025-10-15T11:43:00Z")

</div>

Hi @JoeN,

Glad that helped!

When you use the Chrome Extension, it reads the page content and passes it to the Agent from the extension itself.

With Scrape URL and LinkedIn blocks, the request comes from a [scraper](https://www.scrapingdog.com/), which LinkedIn can now detect and block. You can mimic this by logging out of LinkedIn, clearing your cache and cookies, and trying to open some profiles.

---

<div class="post-metadata">

### Author: ![JoeN](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.mindstudio.ai/joen/32/993_2.png) [@JoeN](https://community.mindstudio.ai/u/JoeN)
#### Post date: [October 15, 2025, 12:12pm UTC](https://community.mindstudio.ai/t/question-how-do-i-use-scrape-linkedin-profile-block-correctly/1749/8 "2025-10-15T12:12:33Z")

</div>

Hey Alex,

Got it. Thanks!

Joe
