Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

128
Views
Scrawls data of linked in after login page

I want to scrawl data from linked In page that comes after login. All I need to do is with pure JavaScript. Below is the code that I'm using to scrawl data.

window.onload = function(){ var request = new XMLHttpRequest();

request.onreadystatechange = function() {
    if (this.readyState == 4 && this.status == 200) {
        console.log(this.responseText);
    }
};

request.open('GET', 'https://www.linkedin.com/sales/home');
request.send();

And I'm getting below error in form of screenshot: Error Screenshot

I also tried to add header request but it didn't work.

Note:  request.open is working against some website's but not all.

Any help will be appreciated. Thanks.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Your code work really well, but the problem is the destination site "linkedin.com" does not allow you to fetch data. Please take a look at their documentation. https://developer.linkedin.com/

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!