Improved
Error responses carry structured hintsSome errors now add fields to theerrors object, next to message, type and code, which do not change. A client that ignores them keeps working.InvalidParamon a setting the crawler does not have: when another crawler of the same site has it, the message says so (“Unknown parameter: phone. Did you mean functions.get_phone_numbers on leboncoin-iter-listings-with-phone?”) and the response addsparamandsuggestion, with thecrawlerid and theparamto send there. See Update Squid.TaskNotValidError: the message shows the value received and the crawler’s own example (“The ‘url’ format is not valid for facebook-group-posts-scraper: got https://www.facebook.com/somepage. Expected something like https://www.facebook.com/groups/211270969394435/”), and the response addsparamandexample. See Add Tasks.DuplicateSquid: squid names are unique per account. The message names the squid (“A squid named Reviews already exists.”) and the response addssquid, the id of the squid that has the name, to reuse it instead of creating it again. See Create Squid.
Fixed
Leboncoin Listings & Phone Search Export: nophone aliasThe settings page said the old function name phone was still accepted. It is not: use functions.get_phone_numbers. See Update Settings.