Семён
Мне интересно на сколько сложно самому запилить эту эмуляцию
Можете пожалуйста поделиться к чему пришли?
🦋noteee
Почему у меня только 1 фрэйм на странице?
🦋noteee
Нужного мне нету
🦋noteee
И он не подгружается со временем или с каким то другим селектором
🦋noteee
Подскажите пожалуйста как я могу получить содержимое textarea
Alhimik
Подскажите пожалуйста как я могу получить содержимое textarea
А ты уже пробовал как-то это решить? Если да - показывай что не получается.
🦋noteee
А ты уже пробовал как-то это решить? Если да - показывай что не получается.
Пробовал через evalute ставить событие на изменение. selector.EventListener.on(change, => {}) Что то такое. Но у меня не получилось, потому что sekector был null и я удалил этот код. Пока не у ПК
🦋noteee
Или выделял. Не знаю как оно работает
Sasha
Доброго пятничного вечера. Всем по кружке холодного. Тут весной мне кто то из участников чата помогал с суперстелс. Добрый человек чиркни плиз в лс
Sasha
А то ты такой же скрытый как плагин)
Faglo
Приветствую, когда происходит вставка урл в строку с поиском она как то по особенному открывается?
Faglo
Потому что пытаюсь запустить пупеттер с прокси, когда открываю monster.com с нужными для поиска параметрами просто вечная загрузка, если самому в том же браузере вставить ссылку в строку все открывается
Alhimik
Приветствую, когда происходит вставка урл в строку с поиском она как то по особенному открывается?
Если ты про адресную строку, то разницы не должно быть. А прокси точно рабочий? И сколько по времени ты ждал? Может через минуту по таймауту отвалится и ошибку выдаст.
Faglo
в args кидаю --proxy-server авторизируюсь через page.authenticate({ "username": proxy['usr'], "password": proxy['pwd'] })
Faglo
как итог
Faglo
Page.navigate: Target closed.
Suraj
Is this possible to do find the contact us page form and fill the form by giving any website url
Suraj
For example if I give stack over flow website url the puppeteer will find the contact us page and fill the form and submit
Suraj
I can give any website url but it have to find contact us page and fill the form automatically
Suraj
Is this possible
Suraj
?
Suraj
Чи можна знайти форму сторінки для зв’язку з нами та заповнити форму, вказавши URL -адресу будь -якого веб -сайту Наприклад, якщо я дам стек над URL -адресою веб -сайту потоку, ляльковод знайде сторінку зв’язку з нами, заповнить форму та надішле Я можу надати будь -яку URL -адресу веб -сайту, але вона повинна знайти сторінку зв’язку з нами та автоматично заповнити форму Чи це можливо
Vlad Vaviloff
Is this possible to do find the contact us page form and fill the form by giving any website url
Nope, it's not possible. Puppeteer is just a web browser, only invisible and scriptable. You have to code its behaviour on websites yourself.
Alhimik
в args кидаю --proxy-server авторизируюсь через page.authenticate({ "username": proxy['usr'], "password": proxy['pwd'] })
Покажи лучше код. Сейчас не понятно что ты делаешь: 1. Ты добавил прокси 2. Указал basic authentication (тебе точно она нужна?) 3. При этом у тебя в названии вкладки видно что грузится httpbin org 4. Ещё и дополнительное окно браузера открывается с data:, (base64?)
Faglo
httpbin это страница для теста прокси
Faglo
потом переходит куда надо
Alhimik
второе окно это селениум для теста
А прокси у тебя какой? socks5+auth не поддерживается, http/http+auth/socks5 работают.
Faglo
А прокси у тебя какой? socks5+auth не поддерживается, http/http+auth/socks5 работают.
https, все работает кроме монстера с этими параметрами
Alhimik
https, все работает кроме монстера с этими параметрами
Ну вообще это странно, если сайт грузится в соседней вкладке, то не должно быть проблем. Похоже что у тебя в коде всё же проблема.
Suraj
Hai, How to check is <form> tag is there in page if there then list fields inside the form
Suraj
Хай, Як перевірити, чи є тег <form> на сторінці, якщо у формі є список полів
Suraj
?
Suraj
Any one?
Vlad Vaviloff
Faglo
Please try to rephrase this, makes no sense in English 😅
Hi, how to check if there’s <form> tag on page if form has fields list
Faglo
i tried
Suraj
Can I get code
Suraj
Please try to rephrase this, makes no sense in English 😅
Actually how to check if there's <form> tag on page and fill the form automatically when puppeteer found by dummy value
Vlad Vaviloff
Actually how to check if there's <form> tag on page and fill the form automatically when puppeteer found by dummy value
Okay, have you worked with puppeteer before? Do you know how to get elements, evaluate JavaScript on the target page, type stuff on the page?
Suraj
I am new for this puppeteer and I know to give value by class, Id and name to the field but I just want to know fill the form filleds once puppeteer find form tag on page
Suraj
?
Suraj
What I am saying is 1. I want to create like api,example User can give any website url to the api I want to do opening the page by page.goto(Url) and after find contact page url is available on that page if available then goto to that page fill the form automatically and submit the form
Suraj
This is what I want to do
Suraj
1.goto given url (it can be any url) 2.find contact us page 3.if contact us page available goto that page find form fill the fields and submit
Suraj
Any idea to this ?
Vlad Vaviloff
1.goto given url (it can be any url) 2.find contact us page 3.if contact us page available goto that page find form fill the fields and submit
Sure. That's a good algorithm you got there^. Now make it more concrete by writing down how exactly an (inexperienced) human would solve points 2 and 3. Then try to implement it in a program. It's not too hard, really.
Suraj
Yes, can you please send the example code for how to find form tag on page
Suraj
Hai to resolve Google recaptcha by puppeteer extra plugin recaptcha need own 2captcha api key where I can find this is it free?
Suraj
Is it not possible with Google recaptcha v2 site api key?
Vlad Vaviloff
They can solve v2 without any problems.
Suraj
https://www.npmjs.com/package/puppeteer-extra-plugin-recaptcha
Suraj
I use this package
Suraj
Suraj
For token I use Google recaptcha v2 site key when I run its says
Suraj
Suraj
Worng user key
Suraj
Anyone?
Alhimik
For token I use Google recaptcha v2 site key when I run its says
You need to register with the service, top up your balance and use the received API key. Nobody will solve the captcha for free. )
Anonymous
What is the best way to solve the captcha "puzzle" in tiktok during registration? Module tiktok-captcha-solver unreliable garbage, stupidly clicks randomly and it turns out that it is not 100% solved. are there any sites for solving such captchas? If so, where can I get the link to this captcha? It seems like you need to get a token from this captcha, but I don't understand how. I see only one solution, to do machine learning, which will decide itself
Suraj
https://www.npmjs.com/package/puppeteer-extra-plugin-recaptcha
Suraj
Use this npm
Anonymous
Use this npm
but this type will work?
Suraj
For token use https://rucaptcha.com have to pay $3 for 1000 solving I think
Anonymous
but this type will work?
this is not rucaptcha