-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
login with scrapy-playwright #42
Comments
Please, share what you have tried. |
Without more context, all I'll venture to say is that |
sorry for disturbing you during the holiday season. I am basically trying to log in using playwright and then send the response to scrapy. Here is how my spider looks. `import scrapy class ScrollSpider(scrapy.Spider):
Instead of login and returning "https://quotes.toscrape.com/" Here is the playwright code which I am trying to replicate using scrapy_playwright. `from playwright.sync_api import sync_playwright with sync_playwright() as p: |
I tried the same code on a different website and the code works, I believe the bug might be in (https://quotes.toscrape.com/login) hence I will close this issue. |
I am new to scrapy-playwright soo there is a chance I have missed the option but I did try my best to make page.fill option work using PageCoroutine function but I am not successful basically I want to pass "page.fill('#to_date', '2021-12-17')" to the browser before I could collect response if it is possible with an existing solution please help me with an example to login to quotes to scrap using page.fill to enter user name and password it will help other newbies too.
The text was updated successfully, but these errors were encountered: