How to have some sort of setup phase? #601
Unanswered
afuetterer
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hello @afuetterer and thanks for your interest in Crawlee! Maybe @vdusek knows a better way to do this. When I needed to do a similar thing for a demo scraper of the Nike website, I made a context manager and wrapped all my request handlers with that - https://crawlee.dev/blog/infinite-scroll-using-python#accept-cookies-context-manager. Also, once |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am a new user of the library and I really enjoy the experience so far.
I have a question: Can I do some sort of "setup" for the browser / context? I would like to have a
PlaywrightCrawler
, that is "logged in" and selected a few common parameters in the UI of a website. The crawling/scraping of the following urls should use this state.Is this possible or out of scope for the library, because it can spawn a lot of browser instances?
Hoping for a hint.
Beta Was this translation helpful? Give feedback.
All reactions