Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scrape linkedin posts #68

Open
alaimia opened this issue Feb 26, 2020 · 3 comments
Open

Scrape linkedin posts #68

alaimia opened this issue Feb 26, 2020 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@alaimia
Copy link

alaimia commented Feb 26, 2020

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 !!

@austinoboyle
Copy link
Owner

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 :)

@austinoboyle
Copy link
Owner

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:

class Profile(ResultsObject):
), and call it something like Post

@austinoboyle austinoboyle added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Apr 24, 2020
@alaimia
Copy link
Author

alaimia commented Apr 24, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants