- Este projeto foi feito com o propósito de aprofundar os conhecimentos da linguagem python e do framework selenium e ao mesmo tempo me divertir criando algo lúdico;
- Vai ser necessário apenas informar o filme escolhido, o nome do contato ou grupo e ler o QR code (fora ler o QR code, o resto é pelo terminal);
- Sim, já existe um projeto que trás a mesma premissa, eu peguei a ideia e fiz utilizando o python e o framework selenium.
-
Primeiramente, é necessário ter o python e o pip instalados:
- Instale python através do site https://www.python.org/downloads/ e o pip é instalado automaticamente junto.
-
Navegue até a pasta do repositório local e instale as dependências que estão no arquivo requirements.txt através do comando:
pip install -r requirements.txt
-
Execute o arquivo main.py através do comando:
python main.py
dependendo da versão do python, use "python3" no lugar de "python" -
Não esqueça de ler o QR code e divirta-se.
Obs: Essa automação usa o Chrome como navegador, se não houver o chrome instalado na máquina, será necessário fazer essa instalação ou mudar o código para outro navegador.
- This project was made with the purpose of deepen my knowledge of python and the framework selenium, and at the same time have fun making something different;
- It will be only necessary to inform the movie chosen, the contact or group name and read the QR code (beside reading the QR, everything is made on the terminal);
- Yes, already exists a project with the same objective, i got the idea and made a similar one using python and the selenium framework.
-
First, it is necessary to have python and pip installed:
- Install python through https://www.python.org/downloads/ and pip should install automatically.
-
Go to the local repository folder and install the dependencies that are located in the requirements.txt with the command:
pip install -r requirements.txt
-
Execute main.py with the command:
python main.py
depending on your python version, use "python3" instead of "python" -
Don`t forget to read the QR and have fun.
Obs: This automation use Chrome as browser, if you haven`t chrome installed , remember to install or change the code to another browser.