larsaars / KIP_EinfachErklaert

KI Projekt - Gruppe Einfach Erklärt
Apache License 2.0
0 stars 0 forks source link

I implemented simple matcher to my scraper, got again a file not found error by the matcher #3

Closed larsaars closed 5 months ago

larsaars commented 5 months ago

Traceback (most recent call last): File "/home/me/projects/KIP_EinfachErklaert/scrapers/mdr/./current_news_scraper.py", line 93, in MDRCurrentScraper().scrape() File "/home/me/projects/KIP_EinfachErklaert/scrapers/mdr/./current_news_scraper.py", line 87, in scrape self.matcher.match_by_hand(easy_article_url, hard_article_url) File "/home/me/projects/KIP_EinfachErklaert/matchers/SimpleMatcher.py", line 36, in match_by_hand self.write_match(easy, hard) File "/home/me/projects/KIP_EinfachErklaert/matchers/BaseMatcher.py", line 28, in write_match with open(self.file, "a", encoding="utf-8") as f: FileNotFoundError: [Errno 2] No such file or directory: './data/mdr/matches_mdr.csv'