Skip to content

dapoadedire/gab-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Gab Scraper

Welcome to the gab-scraper repository!

This repository contains a Python script that scrapes user and post data from the social media platform Gab and writes the data to a CSV file.

To use the script, simply call the get_details_and_write_csv function and pass in a Gab user's profile link as a string argument. The function will scrape the user's details and their post details, and write the data to a CSV file named after the user's username.

Tech Stack

  • Python
  • requests module
  • csv module

Lessons Learned

  • How to scrape data from a website using the requests module in Python
  • How to write data to a CSV file using the csv module in Python
  • How to scrape data from a website without using BeautifulSoup or Selenium.

Feature(s)

  • Scrapes user and post data from Gab and writes the data to a CSV file
  • Accepts a Gab user's profile link as an argument and returns the user's details and their post details
  • Makes use of the requests and csv modules to send HTTP requests and write data to a CSV file
  • Demonstrates how to scrape data from a website using only the requests module, without using BeautifulSoup or Selenium.

Resources

About

This repository contains a Python script that scrapes user and post data from the social media platform Gab and writes the data to a CSV file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages