Closed xts-bit closed 11 months ago
I get this error when i install the package and try to run my code. the error is "AttributeError: 'FileFinder' object has no attribute 'find_module'"
Anyone help please ,
import snscrape.modules.twitter as sntwitter import pandas as pd username = "elonmusk" tweets_list = [] for i, tweet in enumerate(sntwitter.TwitterSearchScraper('from:'+username).get_items()): if i >= 100: break tweets_list.append([tweet.date, tweet.id, tweet.content, tweet.url]) tweets_df = pd.DataFrame(tweets_list, columns=['Datetime', 'Tweet Id', 'Text', 'URL']) print(tweets_df)
python3 index.py
It should get all tweets by elon musk
No response
MacOS
python3 --version
Python 3.12.0
snscrape --version
I again get this error AttributeError: 'FileFinder' object has no attribute 'find_module'
twitter
Module (import snscrape.modules.something in Python code)
import snscrape.modules.something
Duplicate of #782, but Twitter scraping won't work currently even after that's resolved (#996).
@JustAnotherArchivist So when will it fiX?
How to fix this????????????
Describe the bug
I get this error when i install the package and try to run my code. the error is "AttributeError: 'FileFinder' object has no attribute 'find_module'"
Anyone help please ,
How to reproduce
python3 index.py
Expected behaviour
It should get all tweets by elon musk
Screenshots and recordings
No response
Operating system
MacOS
Python version: output of
python3 --version
Python 3.12.0
snscrape version: output of
snscrape --version
I again get this error AttributeError: 'FileFinder' object has no attribute 'find_module'
Scraper
twitter
How are you using snscrape?
Module (
import snscrape.modules.something
in Python code)Backtrace
No response
Log output
No response
Dump of locals
No response
Additional context
No response