I have a project that requires playwright (reads pages that use javascript.)
I update the requirements and scrapinghub files to note this dependency, but now I get an error when I run it saying I still need to run "playwright install" to install the actual browsers.
How can I do that (maybe through a command line) on the Zyte/scrappy cloud?
Thanks!
0 Votes
2 Comments
Sorted by
T
Tony Smallposted
about 2 years ago
Thanks! Just for reference, is the key recommendation to use what you put in the dockerfile? I think so, but not sure.
0 Votes
Bala Ravichandranposted
about 2 years ago
Admin
Hi Tony,
Please refer to the attached sample project and see if it helps.
I have a project that requires playwright (reads pages that use javascript.)
I update the requirements and scrapinghub files to note this dependency, but now I get an error when I run it saying I still need to run "playwright install" to install the actual browsers.
How can I do that (maybe through a command line) on the Zyte/scrappy cloud?
Thanks!
0 Votes
2 Comments
Tony Small posted about 2 years ago
Thanks! Just for reference, is the key recommendation to use what you put in the dockerfile? I think so, but not sure.
0 Votes
Bala Ravichandran posted about 2 years ago Admin
Hi Tony,
Please refer to the attached sample project and see if it helps.
Attachments (1)
Scrapy_Playw....zip
7.12 KB
1 Votes
Login to post a comment