linkout-scraper
linkout-scraper copied to clipboard
postsWithComments is adding an extra https://www.linkedin.com prefix to comment links
I'm seeing data like the following:
"comments": [
{
"name": "Austin Coker",
"link": "https://www.linkedin.comhttps://www.linkedin.com/in/ACoAABsxgfQB76Eg2AeUe-WkFGp0HwpzjNddMi4",
"comment": "I appreciate the honesty."
},
It seems this is the faulty line:
https://github.com/linkoutapp/linkout-scraper/blob/1078ae4ef9e0c21043f0411d454092031bee51c6/lib/linkedin/linkedin.posts.with.comments.js#L79