I am using tweepy to get tweets pertaining to a certain hashtag(s) and then I send them to a certain black box for some processing. However, tweets containing any URL should not be sent. What would be the most appropriate way of removing any such tweets?
In your query add -filter:links.
This will exclude tweets containing urls.
How do I filter out tweets containing any URL?