diff --git a/src/main.py b/src/main.py index 48d5c56..80c5ac8 100644 --- a/src/main.py +++ b/src/main.py @@ -18,8 +18,9 @@ analyser = sentimentAnalyser.get_sentiment() @app.route('/sentiment', methods=['GET']) def tweetPredict(): tweet = request.args.get('tweet') + syncId = request.headers.get('X-CRYPTO-Sync-ID') - log("Receiving Tweet to classify [{}]".format(tweet), 'INFO') + log("Receiving Tweet to classify [{}] for [{}]".format(tweet, syncId), 'INFO') result = analyser.get_vader_sentiment(tweet)