diff --git a/freud_api_crawler/__init__.py b/freud_api_crawler/__init__.py index 1b86d58..8e9bc97 100644 --- a/freud_api_crawler/__init__.py +++ b/freud_api_crawler/__init__.py @@ -2,4 +2,4 @@ __author__ = """Peter Andorfer""" __email__ = 'peter.andorfer@oeaw.ac.at' -__version__ = '1.9.7' +__version__ = '1.9.8' diff --git a/freud_api_crawler/freud_api_crawler.py b/freud_api_crawler/freud_api_crawler.py index 1cd216f..3b82bf5 100644 --- a/freud_api_crawler/freud_api_crawler.py +++ b/freud_api_crawler/freud_api_crawler.py @@ -579,7 +579,7 @@ def get_man_json_dump(self, lmt=True, dmp=False): page_json = self.get_page(x['id']) pp = self.process_page(page_json) json_dump["pages"].append(pp) - os.makedirs(os.path.join(self.save_dir, self.werk_signatur), exist_ok=True) + os.makedirs(os.path.join(self.save_dir, self.werk_signatur, 'data'), exist_ok=True) with open(self.save_path_json, 'w', encoding='utf8') as f: json.dump(json_dump, f) else: @@ -722,7 +722,7 @@ def __init__( self.save_dir, self.werk_signatur, self.file_name ) self.save_path_json = os.path.join( - self.save_dir, self.werk_signatur, self.file_name_json + self.save_dir, self.werk_signatur, "data", self.file_name_json ) diff --git a/setup.py b/setup.py index cf0d842..15e1913 100644 --- a/setup.py +++ b/setup.py @@ -69,6 +69,6 @@ test_suite='tests', tests_require=test_requirements, url='https://github.com/acdh-oeaw/freud_api_crawler', - version='1.9.7', + version='1.9.8', zip_safe=False, )