FakeNewsNet_modified
FakeNewsNet_modified copied to clipboard
Problem with collecting tweets
I can download news content normally, but the following error occurs when collecting tweets.How can I fix this problem?
Error: Downloading politifact fake politifact15014 tweets
Traceback (most recent call last):
File "main.py", line 70, in
Hi there
I have not supported, or tested this project for years. So i do not know, if the API changed or something else.
But my guess based on your error message, is that the return type of some object has changed over time.
File "/home/server/Dai/FakeNewsNet_modified/code/tweet_collection.py", line 27, in collect_tweets data = pd.DataFrame(columns= features)
This line appears to want to access some object, that does not come with the dtypes field.
Maybe use the debugger to find out, what kind of object is being passed in features.