Amazing-Python-Scripts

Форк
0

README.md

LinkedIn Posts Scrapper

It is an automated script to scrap LinkedIn Posts, and number of Reactions and Comments from the /detail/recent-activity/shares/ endpoint.

Installation

  • Make sure you have the following Python libraries:

pip3 install selenium pandas

  • Place CromeDriver.exe in the same directory of the script. You can download it from here
    (Note: Download the one with the same version of your Chrome browser.)

Usage

python scrapper.py -e <email> -p <password> -n <number-of-posts-to-scrap>

Output

The script should output a Scrap.csv file containing the scrapped posts whose columns are in the following order: Heading, Reactions, Comments

Note: If post has a 0 reaction or comment, the output will be substituted with None

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.