The error occurs because wait_for
config paramenter is interpreted incorrectly. According to the error, it should not be integer but string. According to the Crawl4AI docs, wait_for
should be a CSS selector or a JavaScript expression. So you can modify your script to use wait_for="css:#dataset-resources"
(which seems to be the container for the dataset download links).