image_search
image_search copied to clipboard
Improve Logging Method w/ Google and Bing Images
I would like to have a standard output method for both Google and Bing images. All help would be appreciated.
Be more specific.
Categorized by level of verbosity or something entirely organized like info.log, error.log ?
I had this functionality in an old commit by switching up the error handler to handle warnings and fatal errors with an applicable logger hook, if this is a thing i can include info and alert in the flags and make my version configurable by command line switch --loglevel
@loopyd Yes, that could be one approach.
At the end of the day, I just want a standard way to log that is consistent between both scrapers and looks "nice". At the current state, the script outputs more than necessary, and a channel system might be more efficient. Anyhow, if you have something, feel free to send a PR.