-
Notifications
You must be signed in to change notification settings - Fork 786
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
Not processing images - can we skip the creation of a local storage path #84
Comments
There is a flag to disable image processing here: python-goose/goose/configuration.py Line 43 in 9c217d1
However, it looks like the initialize function here ( python-goose/goose/__init__.py Line 64 in 9c217d1
|
Here's the work around I'm using: class FileFreeGoose(goose.Goose):
def initialize(self):
pass
FileFreeGoose({
'parser_class':'soup',
'enable_image_fetching' : False,
}) |
Hello, Please test this branch and let me know if it suits your needs https://github.com/grangier/python-goose/tree/feature/access-local-84 xav |
👍 Looks great! |
Looks good to me! |
Should be fix in the latest head 6430e1d |
We're not using Goose to process any images, but despite this it requires the existence of a local storage path, and complains if it can't write to the server's filesystem. I have to make sure /tmp/goose is always available and writable, and occasionally get errors from Goose complaining that it can't write some file there.
Is there a way to turn this feature off completely and never have Goose write to the local filesystem, even if it disables image processing?
The text was updated successfully, but these errors were encountered: