- DEPRECATED:
dataset.delete()
,keyValueStore.delete()
andrequestQueue.delete()
methods have been deprecated in favor of*.drop()
methods, because thedrop
name more clearly communicates the fact that those methods drop / delete the storage itself, not individual elements in the storage. - Added
Apify.utils.requestAsBrowser()
helper function that enables you to make HTTP(S) requests disguising as a browser (Firefox). This may help in overcoming certain anti-scraping and anti-bot protections. - Added
options.gotoTimeoutSecs
toPuppeteerCrawler
to enable easier setting of navigation timeouts. PuppeteerPool
options that were deprecated from thePuppeteerCrawler
constructor were finally removed. Please usemaxOpenPagesPerInstance
,retireInstanceAfterRequestCount
,instanceKillerIntervalSecs
,killInstanceAfterSecs
andproxyUrls
via thepuppeteerPoolOptions
object.- On the Apify Platform a warning will now be printed when using an outdated
apify
package version. Apify.utils.puppeteer.enqueueLinksByClickingElements()
will now print a warning when the nodes it
tries to click become modified (detached from DOM). This is useful to debug unexpected behavior.