Skip to content

Commit 0507fef

Browse files
Linkedin posts scrapper added
1 parent f05226e commit 0507fef

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

Linkedin_Posts_Scrapper/Linkedin_Posts_Scrapper.py

Whitespace-only changes.

Linkedin_Posts_Scrapper/README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# LinkedIn Posts Scrapper
2+
3+
It is an automated script to scrap LinkedIn Posts, and number of Reactions and Comments from the `` /detail/recent-activity/shares/ `` endpoint.
4+
5+
# Installation
6+
7+
* Make sure you have the following Python libraries:
8+
> pip3 install selenium pandas
9+
10+
* Place `` CromeDriver.exe `` in the same directory of the script. You can download it from [here](https://sites.google.com/a/chromium.org/chromedriver/downloads) <br>
11+
(Note: Download the one with the same version of your Chrome browser.)
12+
13+
# Usage
14+
15+
> python scrapper.py -e \<email\> -p \<password\> -n \<number-of-posts-to-scrap\>
16+
17+
# Output
18+
19+
The script should output a `` Scrap.csv `` file containing the scrapped posts whose columns are in the following order: Heading, Reactions, Comments
20+
21+
Note: If post has a 0 reaction or comment, the output will be substituted with None
22+

0 commit comments

Comments
 (0)