Open alaimia opened 4 years ago
I'll start by saying that my tool does not have this feature, but the logic would be similar to things that it does, so I can give you a rough idea of what you would have to do.
If you wanted to scrape posts by company, you could start by navigating to the company's page. Then, you would look for the posts elements in the html. If you just wanted a brief overview of the post, you could get the title, description, and the # of likes/comments/views from this page. If you want more detailed information, you would ideally need to find a way of getting the link to the actual post (eg https://www.linkedin.com/posts/facebook_were-never-lost-if-we-can-find-each-other-activity-6650838026899472384-QtEc/).
Hope this helps :)
If you were to use my framework, you would likely need to create a new Scraper class that handles the logic of scrolling through a company's posts, and then a new results object ( like this: https://github.com/austinoboyle/scrape-linkedin-selenium/blob/5572653101d0c55c8e516db269ee6bcf3ca877cb/scrape_linkedin/Profile.py#L6), and call it something like Post
Dear Austin, Thank you very much for your mail. What I have done so far is scrape linkedin post from the browser via a chrome extension. And now I'm going to automate the scrolling task to load the page before scraping. I'm going to see the links you sent me.Thanks again.-------- Message original --------De : austinoboyle notifications@github.comDate : ven. 24 avr. 2020 à 17:38À : austinoboyle/scrape-linkedin-selenium scrape-linkedin-selenium@noreply.github.comCc : alaimia alaimi.achwak@gmail.com, Author author@noreply.github.comObjet : Re: [austinoboyle/scrape-linkedin-selenium] Scrape linkedin posts (#68) I'll start by saying that my tool does not have this feature, but the logic would be similar to things that it does, so I can give you a rough idea of what you would have to do. If you wanted to scrape posts by company, you could start by navigating to the company's page. Then, you would look for the posts elements in the html. If you just wanted a brief overview of the post, you could get the title, description, and the # of likes/comments/views from this page. If you want more detailed information, you would ideally need to find a way of getting the link to the actual post (eg https://www.linkedin.com/posts/facebook_were-never-lost-if-we-can-find-each-other-activity-6650838026899472384-QtEc/). Hope this helps :)
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.
Hello, I need to scrape linkedin POSTS: extract coments, views, frofiles of peoples who interact wth the post... So please, Austin or anyone else, have you any idea to do it using scrape company !!