Skip to content

Instantly share code, notes, and snippets.

View jimmc2's full-sized avatar

Jimmy McCabe jimmc2

  • Venice, CA
View GitHub Profile
## Import libraries and functions needed
## define URL
def get_url(All = None, Exact = None, Any = None, Not = None, Hashtag = None, From = None, To = None, Mention = None, Near = None, Dates = None):
#Base URL
url = "https://twitter.com/search?l=&q="
# All
if All != None:
a = All.replace(" ", "%20")