Closed festum closed 6 years ago
Seems like linkedin login form requires other parameters too which can be found in their html code.
e.g.:
<input name="loginCsrfParam" id="loginCsrfParam-login" type="hidden" value="7ce13d50-07b1-4332-845e-ee65b967d730">
Thank you @asciimoo! Found a nodejs plugin it sign in through login page. Is that anyway colly support visit login page get loginCsrfParam to fill in submit form like this?
@Festum you have to extract the token from the login page before you post login data as the stackoverflow example does. This can be done with an OnHTML
callback which checks if the login form is available on the page.
Sorry for commenting in a closed question. But I'm having the same issue and no clear way to solve the linkedin login problem seems to be given above. Could @Festum explain how you have done it or @asciimoo give an example? I would really appreciate! Thanks!
Hi @nicolasassi, You can't pass the login without JavaScript. I think you should try with another library like https://github.com/MontFerret/ferret or https://github.com/chromedp/chromedp (which will work in your usecase) or check #4
It can be done without javascript, but it probably requires a bit more time to reverse-engineer how it works. Of course, it can be easily done with a browser based solution, but it doesn't mean that you cannot do it with colly.
Hi @asciimoo! You're right about that. Thanks for your work on this library and have a nice day <3
Hi,
Doesn't get jobs response seems login not successful. Not sure what I missed. Please share me the right way to do it. Thanks.