Skip to content

Anitha-K-0711/twitter_scrapper_mini_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

twitter_scrapper_mini_project

Twitter_scrapper

This project is built using

• Streamlit

• Snscrape

• Pandas

• Pymongo

• Datetime

Twitter Scrapper

Below is the dashboard created for scrapping twitter data with the help of streamlit.

image

The inputs to the dashboard are

  1. Keyword / Hashtag to be scrapped
  2. From date
  3. To date
  4. Maximum tweet count

Output 1 The scrapped data represented as a table according to above inputs The start and end dates are validated and displayed on the dashboard

image

Output 2 Two download options provided to download the data in csv and json format

image

Output 3 Upload to MongoDB option given to save all the scrapped data for future reference NOTE: To upload the scrapped data to MongoDB, The user should make sure to download and install MongoDB Community Server.

image

Output 4 The scrapped data uploaded in MongoDB under twitter_scraping database and scraped_data collection. The scrapped data uploaded as a single dictionary document inside the collection along with the hashtag or keyword used to scrape the data + current time stamp

image

Installations required

Pip

• pip install streamlit

• pip install snscrape

• pip install pandas

• pip install datetime

• pip install pymongo

MongoDB

• MongoDB Compass

https://www.mongodb.com/docs/compass/current/install/

• MongoDB Community Server

https://www.mongodb.com/try/download/community

Run Streamlit

Streamlit run main.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages