Replies: 1 comment 1 reply
-
|
It seems that the issue is because Twitter blacklists AWS IPs? The error one is from EC2 instance. |
Beta Was this translation helpful? Give feedback.
1 reply
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 tried this in my Intel Mac and it works fine for the following command:
\Spatie\Browsershot\Browsershot::url('https://twitter.com/gauravmakhecha/status/1717201152973144129?s=42')->userAgent('Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/36.0 Mobile/15E148 Safari/605.1.15')->delay(3000)->touch()->mobile()->windowSize(375, 812)->noSandbox()->save('public/test.png');The screenshot is correctly shown here:
On the other hand, on Ubuntu 22.04.3 with the same above command I am getting this:
Is there something due to environment issue? On Ubuntu I installed puppeteer globally via npm.
Beta Was this translation helpful? Give feedback.
All reactions