move json output into run_all
This commit is contained in:
parent
0c30535972
commit
ba466810ef
1 changed files with 4 additions and 5 deletions
|
@ -24,7 +24,6 @@ with open('results.json', 'w') as json_file:
|
||||||
json.dump(results, json_file, indent=4)
|
json.dump(results, json_file, indent=4)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def import_scrapers():
|
def import_scrapers():
|
||||||
directory = Path(__file__).resolve().parent / "scrapers"
|
directory = Path(__file__).resolve().parent / "scrapers"
|
||||||
for module_loader, name, ispkg in pkgutil.iter_modules([directory]):
|
for module_loader, name, ispkg in pkgutil.iter_modules([directory]):
|
||||||
|
|
Loading…
Reference in a new issue