Sergey
Оперативки
Назар
16
Sergey
Иногда из-за маленького свободного места падает
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
Всем привет
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
нужна помощь по puppeteer, пытаюсь подключить прокси и почему-то не работает, использую "zyte".
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
OnError: caught (1)! Error: net::ERR_NO_SUPPORTED_PROXIES at http://smile-academia.ru
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
ранее тоже пытался и не получалось, помогите люди добрые
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
делаю все по инструкции https://www.zyte.com/blog/how-to-use-a-proxy-in-puppeteer/
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
обнаружена проблема - не работает с https, с http работает, использую библиотеку `puppeteer-page-proxy`, без нее вообще не работало, нужна помощь - как заставить это работать с https.
BRAINSTORM
Good morning everyone, So I have been on this project for a while now and I am in the final stage. I'm actually trying to use lambda to launch Firefox using nodejs... I have the code to launch it locally(which is working)... I have successfully deployed the code into a lambda function... But my question is that, if I'm to run the code using lambda function, what triggers/layers/etc should I add to the function to achieve this... Your response is highly appreciated... Thanks
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
with lambda container - everything works great.
BRAINSTORM
I see. Well, I went to issues of that project's githib repo hoping to find a question about node and sure enough here it is: https://github.com/george-lim/firefox-lambda/issues/1 Won't be of much help though.
Good morning everyone, So I have been on this project for a while now and I am in the final stage. I'm actually trying to use lambda to launch Firefox using nodejs... I have the code to launch it locally(which is working)... I have successfully deployed the code into a lambda function... But my question is that, if I'm to run the code using lambda function, what triggers/layers/etc should I add to the function to achieve this... Your response is highly appreciated... Thanks
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
puppeteer
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
is playwright better? did not tried
Sergey
It’s just wrapper
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
I am on call right now, I will answer later.
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
wrapper for puppeteer?
Sergey
Firefox too
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
hmm interesting
Sergey
Apify is better )
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
should be simpler to use, if it's wrapper
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
Apify ?
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
Almost same
so what's the point then use it?
Sergey
so what's the point then use it?
Extensions , and u can make it undetectable
BRAINSTORM
No
My cliebt actually want playwright
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
and used - lambda containers
BRAINSTORM
I did it via Dockerfile
I don't know how to use dockerfile... Can you guide me?
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
do you use serverless?
BRAINSTORM
do you use serverless?
No, I was actually following this link https://www.google.com/search?q=running+playwright+on+aws+lambda
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
you need to learn docker, serverless
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
do it manually is complicated
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
via UI =/
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
serverless is for deploying lambdas, s3, cloudwatch settings and etc
BRAINSTORM
Playwright.cloud/doc/aws/lambda-playwright.html
BRAINSTORM
Playwright.cloud/doc/aws/lambda-playwright.html
Please check this link, do you think it's okay for docker?
BRAINSTORM
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
better serverless, it can be one file
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
serverless deploy
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
serverless remove
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
serverless is framework, it's much easier to configure something, never even used sam cli.
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
serverless automatically build docker images and deploy with the correct version of the image.
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
+ typescript
BRAINSTORM
+ typescript
Okay, does serverless allow me to deploy the same code i deployed using Sam cli?
BRAINSTORM
you need to learn docker, serverless
Please send Link on how to install serverless and how to use it
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
"devDependencies": { "serverless": "2.30.3", "serverless-domain-manager": "5.1.0", "serverless-jetpack": "0.10.8" }
BRAINSTORM
And after deploying with serverless, if I click on test event in lambda function will it launch Firefox?
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
you need use serverless + docker
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
ecr: # In this section you can define images that will be built locally and uploaded to ECR images: failure-telegrambot: path: ./Failure.TelegramBot file: Dockerfile
Egor
Всем привет! Правил чата не нашел, поэтому бду считать, что хайринг разрешен. Очень ищу кого-то, кто готов на заказ написать пару штук на puppeteer для автоматизации рутинных действий с Slack и SoundCloud.
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
Всем привет,
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
когда я использую proxy в puppeteer у меня пропадает возможность заливки файла, получаю ошибку UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'url' of null, подскажите пожалуйста что делать.
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
https://github.com/Cuadrix/puppeteer-page-proxy/issues/59 no answer, I have only puppeteer installed, also tried the new version - same problem
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
или может есть другие варианты как proxy в puppeteer настроить, только с этой либой я смог запустить
Панда
--proxy-server=
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
--proxy-server=
это я пробовал args: ['--proxy-server=lalala'] - через этот параметр оно вообще не работает, поэтому через либку делаю и через нее работает, но с проблемами.
Sasha
Друзья как попасть в комьюнити тест сканер по пупитер стелс
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
А прокси какое
я разные пробовал - proxyline, proxy-store работают все, но не через args.
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
но проблема со всеми - то что нельзя залить файл, вылетает ошибка, используя библиотеку - puppeteer-page-proxy, попробовал puppeteer обновить до 8 версии, не помогло
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
(node:9826) UnhandledPromiseRejectionWarning: Error: net::ERR_NO_SUPPORTED_PROXIES at https://www.whatismyip-address.com/?check @ID101110
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
вот что будет - если использовать прокси в args, http и https пробовать
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
нашел
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
вот такая штука нужна была
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
```await page.authenticate({ username: 'xxx', password: 'xxxx', })```
Sasha
))) шутка хороша.
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
r
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
кек
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
ребята молодцы
Meeeeeeeeeew 👑🦠 😷🔬💉⚡️💸💥☠️
hello