NotRanged / NotRanged.github.io

Web frontend for FFXIV Crafting Optimizer service.
zlib License
73 stars 43 forks source link

Added logic to create out if it doesn't exist. #41

Closed resech closed 2 years ago

resech commented 2 years ago

As mentioned in #39, main_scraper.py will fail if out/ doesn't exist. I've added a few lines to create that directory and ignore the FileExistsError if it's already there so the script continues on to writing the json files.

Noirbot commented 2 years ago

Oh nice. I was trying to work out if we could potentially make it even easier and just have it overwrite the files in the actual recipedb folder? Since it's all in the same repo anyway?

NotRanged commented 2 years ago

Ah, thanks! I haven't been very active with this project myself, but I'm glad to see people are still making use of it.