Commit 5418fc8a authored by haccer's avatar haccer Committed by GitHub

Update tweep.py

parent c4fa6581
...@@ -33,7 +33,8 @@ class tweep: ...@@ -33,7 +33,8 @@ class tweep:
if self.author != None: if self.author != None:
url+= "from%3A{0.author}".format(self) url+= "from%3A{0.author}".format(self)
if self.search != None: if self.search != None:
url+= "%20{0.search}".format(self) search = self.search.replace(' ','%20')
url+= "%20{}".format(search)
if self.year != None: if self.year != None:
url+= "%20until%3A{0.year}-1-1".format(self) url+= "%20until%3A{0.year}-1-1".format(self)
if arg.pics: if arg.pics:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment