Amazing-Python-Scripts

Форк
0

..
/
Social-Media-Links-From-Website 
README.md

Social Media Links Scraper

The code filters out all the social media links like youtube, instagram, linkedin etc. from the provided website url and displays as the output.

  • The python script scrapes all the anchor tags from an input url and then filters out the social media links from the collection which is shown as an output.
  • Added feature to take a csv file with several url links as input and provide an output csv file with the url followed by that website's social media links.

Setup instructions

Before executing the file, install the python package requests for the script to work without any errors.

Output

Code execution for a single website's social media links scraping

single website code execution image

Code execution for a csv file with several links. Post execution of code, a new output.csv file is generated with the required links.

url csv

Author

twilight-warlock

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

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

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

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