Skip to content

OverthinkingTech/TwitterScraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

TwitterScraper

A simple python tool for scraping data from the twitter accounts you follow.

The purpose of this python script is to look for tweets, from your followers, that contain links to articles. The link gets saved to a text file and emailed to you. The text file of links also works to keep track of what has been found before, so you won't recieve the same link twice in your inbox. This means the python script is great to run as a cron job.

You will need to have a twitter account with API access configured. The script is currently setup to send emails from a gmail account (because they are free and easy to setup), you can send from other emails but you will need to change the email server and possibly the email port.


You will also need 2 additional files in the same folder as the python script:

API_Tokens.txt, This needs to be a comma seperated list (containing your data):

"consumer_key,consumer_secret,access_token_key,access_token_secret"

Email_UserPass.txt, This needs to be a comma seperated list (containing your data):

"sending_gmail,sending_gmail_password,recieving_email"

Import list:

import smtplib, ssl
import twitter #pip install python-twitter
import time
import numpy as np

About

A simple python tool for scraping data from your twitter accounts you follow.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy