-
Notifications
You must be signed in to change notification settings - Fork 0
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
Filter Promoted Company ads #1
Comments
Hi, Any help to understand how the `def scrape(driver, link, profileType):
After refactoring the link variable, link = f'{link}/posts/?feedView=ads' I can get the script to export all the final company promoted posts exported to the csv with this format: and so on ... But the description, hashtags etc.. will only return the values for the first of the posts, in this case https://www.linkedin.com/feed/update/urn:li:activity:00000000000000001 so it'd be really appreciated if you could explain how the post variable that is referenced here LinkedinScraperCompanies/linkdin.py Line 50 in 8365a6e
Thanks |
Hi there,
Thanks for creating this script, it's fabulous!
I was wondering what'd be the best way to target not every single post but specifically PROMOTE ADS, this is, the ones listed here:
https://www.linkedin.com/company/{company-name}/posts/?feedView=ads
For some reason when I update the link variable on the scrape function to be something like link = f'{link}/posts/?feedView=ads' it will only pick up the very first promoted ad but for some reason it won't be able to collect the remaining ones (i.e. 50 ads, it will return only 1 result) and from this result it won't be able to collect likes/links (i.e. an ad with a carousel and items with links).
For ALL other posts, it does indeed work as a charm.
Thanks
The text was updated successfully, but these errors were encountered: