linkout-scraper icon indicating copy to clipboard operation
linkout-scraper copied to clipboard

postsWithComments is adding an extra https://www.linkedin.com prefix to comment links

Open kaaloo opened this issue 9 months ago • 0 comments

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

kaaloo avatar May 10 '24 14:05 kaaloo