๐ท Tanakai v1.2.0 Release Notes
-
๐ New
- โ Add possibility to add array of values to the storage (
Base::Storage#add
) - Add
exception_on_fail
option toBase.crawl!
- Add possibility to pass request hash to the
start_urls
(You can use array of hashes as well, like:@start_urls = [{ url: "https://example.com/cat?id=1", data: { category: "First Category" } }]
) - Implement
skip_request_errors
config feature. Added Handle request errors chapter to the README. - โ Add option to choose response type for
Session#current_response
(:html
default, or:json
) - โ Add option to provide custom chrome and chromedriver paths
๐ Improvements
- ๐จ Refactor
Runner
๐ Fixes
- ๐ Fix
Base#Saver
(automatically create file if it doesn't exists in case of persistence database) - ๐ Do not deep merge config's
headers:
option
- โ Add possibility to add array of values to the storage (