Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customization of the "./data" folder location and name #229

Open
Vishalk30 opened this issue Aug 24, 2024 · 1 comment
Open

Customization of the "./data" folder location and name #229

Vishalk30 opened this issue Aug 24, 2024 · 1 comment

Comments

@Vishalk30
Copy link

Hi Trevor,

This package has been very useful so far! However, one concern I have is with the automatic creation of the data folder. This folder can be created haphazardly when using crontabs or complex applications that rely on a predictable location/naming of the data folder (the directory that is created when scraper runs). My question is, is it currently possible to customize this location/name and, if not, would it be possible to create an addition to customize this in some way?

Thanks as always!

-Vishal

@luisadrianpuga
Copy link

save_json in utils is the file to edit. therefore to update this, you need to edit the library files. I recommend doing a venv where you mess with it in there. then just change utils.py to have the save_json you need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants