[twitter] allow to search hashtags without #
This commit is contained in:
parent
119d3a6fbe
commit
d91ff8e3be
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ class TwitterBrowser(LoginBrowser):
|
|||
return self.profil.go(path=path).iter_threads()
|
||||
|
||||
def get_tweets_from_hashtag(self, path):
|
||||
return self.hashtag.go(path=path[1:]).iter_threads()
|
||||
return self.hashtag.go(path=path.lstrip('#')).iter_threads()
|
||||
|
||||
def get_tweets_from_search(self, path):
|
||||
return self.search.go(path=path).iter_threads()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue