diff --git a/lab1.md b/lab1.md index 3eefdb3..f04325f 100644 --- a/lab1.md +++ b/lab1.md @@ -169,7 +169,7 @@ class MyStreamListener(tweepy.StreamListener): if status_code == 420: return False -def monitoring_samara_tweets(api, query="", locations=None): +def monitoring_tweets(api, query="", locations=None): myStreamListener = MyStreamListener() myStream = tweepy.Stream( auth = api.auth, @@ -183,7 +183,7 @@ if __name__ == '__main__': auth = tweepy.OAuthHandler(API_KEY, API_SECRET) auth.set_access_token(ACCESS_TOKEN, ACCESS_TOKEN_SECRET) api = tweepy.API(auth) - monitoring_samara_tweets(api, query="", locations=GEOBOX_SAMARA_BIG) + monitoring_tweets(api, query="", locations=GEOBOX_SAMARA_BIG) except Exception as error_msg: print (error_msg) ```