workeffortwaste / horseman

The detailed update and issue repository for the Horseman crawler.
https://gethorseman.app/
18 stars 0 forks source link

Allow to set custom cookies #57

Closed chrishaensel closed 2 years ago

chrishaensel commented 2 years ago

I would love to see an option to set custom cookies for the puppeteer instances. A sample use case could be to bypass Cloudflare caching.

await page.setCookie({ const urlObject = new URL(page_url); const hostName = urlObject.hostname; 'url': 'https://' + hostName, 'name': 'wordpress', 'value': 'seo-dept' });

workeffortwaste commented 2 years ago

Added in 0.2.0