Traceback (most recent call last):
File "d:\codes.vscode\twitter_ingection.py", line 311, in
scraper.fetch_tweets(
File "d:\codes.vscode\twitter_ingection.py", line 74, in fetch_tweets
self._save_to_json(row, filename=f"{cur_filename}.json")
File "d:\codes.vscode\twitter_ingection.py", line 292, in _save_to_json
with open(filename, "a", encoding="utf-8") as file:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'data/tweets_2024-04-12_17-53-05.json'
Traceback (most recent call last): File "d:\codes.vscode\twitter_ingection.py", line 311, in
scraper.fetch_tweets(
File "d:\codes.vscode\twitter_ingection.py", line 74, in fetch_tweets
self._save_to_json(row, filename=f"{cur_filename}.json")
File "d:\codes.vscode\twitter_ingection.py", line 292, in _save_to_json
with open(filename, "a", encoding="utf-8") as file:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'data/tweets_2024-04-12_17-53-05.json'