linkedin: profile not found when using cookies
See original GitHub issueWhen I use the scrapper with login/password options it works fine. But when I use my cookie, I get an error of type ‘linkedin: profile not found’
const fs = require('fs');
const scrapedin = require("scrapedin");
// const options = { email: "name@gmail.com", password: "abcdefgh" };
const cookies = fs.readFileSync('./cookie.txt');
const options = {
cookies: JSON.parse(cookies)
}
console.log(options);
const url = 'https://www.linkedin.com/in/wassimazirar/';
scrapedin(options)
.then(profileScraper => profileScraper(url, 2000))
.then(profile => {
console.log(profile);
});
(node:13224) UnhandledPromiseRejectionWarning: Error: linkedin: profile not found
at ..\node_modules\scrapedin\src\profile.js:19:13
at async module.exports (..\node_modules\scrapedin\src\profile.js:16:3)
(node:13224) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:13224) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
What does 'Profile Not Found' mean? - LinkedIn
"Profile not available" means either LinkedIn suspended it or the account holder closed the account. Since the person was not your contact ( ......
Read more >7 Ways to Fix Cannot View Profiles on LinkedIn - Saint - Saintlad
1. Check Other Profiles. 2. Disable Browser Extensions. 3. Turn Off VPN. 4. Try A Different Search Browser. 5. Clear Your Browser's Data....
Read more >How to access your LinkedIn Cookie and what exactly does a ...
If you're using the LinkedIn Personalisation system within Smartwriter, you'll need access to a LinkedIn cookie from your LinkedIn account.
Read more >Access Denied: How to Reclaim Your LinkedIn Profile When ...
LinkedIn suggests first trying to sign in with a secondary email address that's associated with your account (as I recommend above). The ...
Read more >LinkedIn Not Working? Try These 8 Troubleshooting Tips
If signing out and back into your account didn't help, you can try clearing the browser's cache and cookies. This will wipe the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks @leonardiwagner ! Looks like it’s working now.
@wassim-azirar @jessica-yang new version released, please update to
v1.0.11
.Possible fixes for this issue:
please update the version and give a feedback about the issue, thanks