Streaming tweets with links in python


Using tweepy to stream tweets. I was using a regex to search for URLs in the tweets and display them in a database but it only returns links. I want to stream tweets with all sorts of URLs (www.,, tinyurl, etc.). Can I use the entities/urls method to achieve this? If so, what is the statement I need to use? If not, what is an alternative?


Streaming tweets with links

stream = Stream(auth, StreamListener) # stream object

Twitter API

search URL