Skip to content

Commit

Permalink
query.py: URL encode colon
Browse files Browse the repository at this point in the history
Fixes #17
  • Loading branch information
adtac committed Dec 20, 2016
1 parent 38aef08 commit 1df8cb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion twitterscraper/query.py
Expand Up @@ -85,7 +85,7 @@ def query_tweets_once(query, limit=None, num_tweets=0):
``limit`` number of items.
"""
logging.info("Querying {}".format(query))
query = query.replace(' ', '%20').replace("#", "%23")
query = query.replace(' ', '%20').replace("#", "%23").replace(":", "%3A")
pos = None
tweets = []
try:
Expand Down

0 comments on commit 1df8cb5

Please sign in to comment.