diofeher / bbbot Goto Github PK
View Code? Open in Web Editor NEWBot pra votar no Big Brother
Bot pra votar no Big Brother
boa tarde, bot faz tudo, entra no site, rola a pagina ate os participantes, mas não clica na opção que escolhi.
(node:12852) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'click' of undefined
at voteParticipant (C:\Users\wallkp\Desktop\bbbot-master\src\vote.js:56:49)
(node:12852) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:12852) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Logged in.
Download captcha from URL: pincel
Traceback (most recent call last):
File "compare_images.py", line 1, in
import cv2
ImportError: No module named cv2
(node:28324) UnhandledPromiseRejectionWarning: Error: Command failed: python compare_images.py "pincel"
Traceback (most recent call last):
File "compare_images.py", line 1, in
import cv2
ImportError: No module named cv2
at checkExecSyncError (child_process.js:630:11)
at Object.execSync (child_process.js:666:15)
at voteParticipant (/home/igor/www/bbbot/src/vote.js:59:40)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:28324) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:28324) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Boa Noite!Sou novo em programação, atualmente estou com o Python 3.8 instalado.
Pip 20.0.2
opencv-contrib-python 4.2.0.32
opencv-python 4.2.0.32
Não sei oque pode estar errado. Quando tento instalar pelo CMD essa versão 3.4.2.17 do opencv não aparece esta versão para instalar.
[email protected] start /home/igor/www/bbbot
cd src && node vote.js
Logged in.
Download captcha from URL: lâmpada
Get captcha: lâmpada | Position: lâmpada lâmpada_33.png True
lâmpada lâmpada_31.png True
lâmpada lâmpada_3.png True
lâmpada lâmpada_0.png True
lâmpada lâmpada_33.png True
lâmpada lâmpada_31.png True
lâmpada lâmpada_3.png True
lâmpada lâmpada_0.png True
lâmpada lâmpada_33.png True
lâmpada lâmpada_31.png True
lâmpada lâmpada_3.png True
lâmpada lâmpada_0.png True
lâmpada lâmpada_33.png True
lâmpada lâmpada_31.png True
lâmpada lâmpada_3.png True
lâmpada lâmpada_0.png True
lâmpada lâmpada_33.png True
lâmpada lâmpada_31.png True
lâmpada lâmpada_3.png True
lâmpada lâmpada_0.png True
0
(node:17550) UnhandledPromiseRejectionWarning: Error: Protocol error (Input.dispatchMouseEvent): Invalid parameters x: double value expected
at /home/igor/www/bbbot/node_modules/puppeteer/lib/Connection.js:183:56
at new Promise ()
at CDPSession.send (/home/igor/www/bbbot/node_modules/puppeteer/lib/Connection.js:182:12)
at Mouse.move (/home/igor/www/bbbot/node_modules/puppeteer/lib/Input.js:209:26)
at Mouse. (/home/igor/www/bbbot/node_modules/puppeteer/lib/helper.js:112:23)
at Mouse.click (/home/igor/www/bbbot/node_modules/puppeteer/lib/Input.js:235:14)
at Mouse. (/home/igor/www/bbbot/node_modules/puppeteer/lib/helper.js:112:23)
at clickOnElement (/home/igor/www/bbbot/src/utils.js:29:20)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async voteParticipant (/home/igor/www/bbbot/src/vote.js:68:3)
(node:17550) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:17550) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Tentei montar a imagem no Windows 10 e recebo a mensagem:
The command '/bin/sh -c export DEBIAN_FRONTEND=noninteractive' returned a non-zero code: 4294967295: failed to shutdown container: container d314359df2be6d4601d477a199671909b67d528a2574d8ae2a4439557742419f encountered an error during hcsshim::System::waitBackground: failure in a Windows system call: A máquina virtual ou o contêiner com o identificador não está em execução. (0xc0370110): subsequent terminate failed container d314359df2be6d4601d477a199671909b67d528a2574d8ae2a4439557742419f encountered an error during hcsshim::System::waitBackground: failure in a Windows system call: A máquina virtual ou o contêiner com o identificador não está em execução. (0xc0370110)
Você se deparou com o mesmo problema? Sabe como resolver?
E parabéns pelo projeto, ficou dahora!
Peguei um comportamento que, provavelmente, dado o número de retries que estou batendo, o serviço de autenticação deles pede para autenticar novamente e o programa quebra por não esperar tal comportamento.:
rodar-windows.bat fechando após colocar o número do participante
@diofeher, opa, tudo bom?
Estou tentando rodar sua aplicação para ver como funciona mas estou me deparando com o seguinte erro após clonar o repositório, rodar o NPM INSTALL e NPM START (Obs: Tenho UBUNTU 18.04 com Python, NodeJs e NPM atualizados):
npm ERR! Linux 5.3.0-42-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start"
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: `cd src && node vote.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script 'cd src && node vote.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the bbbot package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cd src && node vote.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs bbbot
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls bbbot
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
Olá, estava usando o bot, até que comecou a aparecer essa mensagem. O que isso quer dizer e como resolver o problema? Valeu
DanielHe4rt disse no insta dele que a globo usou o código pra melhorar a segurança da votação, ele falou que quem manja de programação, consegue burlar facilmente, ele n vai mais atualizar..
e esse aqui não ta funcionando,depois do primeiro voto ele fica "processando seu voto" eternamente
Fiz todos os passos corretos, inicio minha conta da globo inicia o chorminium
mas na hora de votar ele para...
C:\Users\Vinicius Silva\Downloads\bbbot-master (2)\bbbot-master>npm start
[email protected] start C:\Users\Vinicius Silva\Downloads\bbbot-master (2)\bbbot-master
cd src && node vote.js
-------------- esse é o erro que da ----- --
Logged in.
xpaths /html/body/div[2]/div[4]/div/div[1]/div[4]/div[1]
Download captcha from URL: arco e flecha
(node:7856) UnhandledPromiseRejectionWarning: ReferenceError: handleIconName is not defined
at Page. (C:\Users\Vinicius Silva\Downloads\bbbot-master (2)\bbbot-master\src\vote.js:103:18)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:7856) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:7856) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Traceback (most recent call last):
File "compare_images.py", line 1, in
import cv2
ModuleNotFoundError: No module named 'cv2'
(node:7856) UnhandledPromiseRejectionWarning: Error: Command failed: python3 compare_images.py "arco e flecha"
Traceback (most recent call last):
File "compare_images.py", line 1, in
import cv2
ModuleNotFoundError: No module named 'cv2'
at checkExecSyncError (child_process.js:630:11)
at Object.execSync (child_process.js:666:15)
at voteParticipant (C:\Users\Vinicius Silva\Downloads\bbbot-master (2)\bbbot-master\src\vote.js:61:40)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:7856) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.