Comments (4)
Hello, even I was facing the same issue .Try increasing the waiting time at line 270 that worked for me.
from linkedin-profile-scraper-api.
I also encountered the same issue. Increasing the waiting time at line 270 of index.ts did not work for me. Anyone has a good solution?
For example, this link returns an empty result: https://www.linkedin.com/in/scott-jennings-mmj/
from linkedin-profile-scraper-api.
Hey there! I have realised that whenever library is blocking some 'xhr' scripts, then it returns empty user profile data! Can anyone help me how to stop it from blocking!
Here we can see it is blocking 3 xhr scripts!
from linkedin-profile-scraper-api.
Hey there! I have realised that whenever library is blocking some 'xhr' scripts, then it returns empty user profile data! Can anyone help me how to stop it from blocking!
Here we can see it is blocking 3 xhr scripts!
app.use(function (req, res, next) {
// Website you wish to allow to connect
res.setHeader('Access-Control-Allow-Origin', 'http://localhost:8888');
// Request methods you wish to allow
res.setHeader('Access-Control-Allow-Methods', 'GET, POST, OPTIONS, PUT, PATCH, DELETE');
// Request headers you wish to allow
res.setHeader('Access-Control-Allow-Headers', 'X-Requested-With,content-type');
// Set to true if you need the website to include cookies in the requests sent
// to the API (e.g. in case you use sessions)
res.setHeader('Access-Control-Allow-Credentials', true);
// Pass to next layer of middleware
next();});
Add this middleware code before to ensure XHR scripts run.
from linkedin-profile-scraper-api.
Related Issues (20)
- Vercel Error: Could not find browser revision [number]
- Experience link to button
- Save output in DB
- How to fix timeout error HOT 3
- Error: Execution context was destroyed, most likely because of a navigation
- fullName in userProfile not return name but the total connections
- This is not an issue!
- How to get a profile picture URL
- Make own LinkedIn Bot With Google Sheets and Google Apps Script
- Blocked scripts HOT 1
- Null Response HOT 2
- Why cant I see LinkedIn page content when I search for post content in chrome dev tools under Network tab?
- Error: Failed to launch the browser process! HOT 1
- Browser Extension HOT 1
- scraping linkedin anonymously? HOT 3
- Extension HOT 1
- cannot install HOT 2
- ERR_TOO_MANY_REDIRECTS
- all null data HOT 4
- puppeteer 4.0.1 is no longer supported
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linkedin-profile-scraper-api.