Coder Social home page Coder Social logo

nstrzn / berlin-auslaenderbehorde-termin-bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yilmaznaslan/berlin-auslaenderbehorde-termin-bot

0.0 0.0 0.0 57.72 MB

A simple way to automate booking an appointment at Berlin Ausländerbehörde using java and selenium framework

Home Page: https://yilmaznaslan.github.io/berlin-auslaenderbehorde-termin-bot/

Shell 0.46% Java 99.28% Dockerfile 0.26%

berlin-auslaenderbehorde-termin-bot's Introduction

ATTENTION

AFTER THE IMPLEMENTATION OF THE CAPTCHA, THIS BOT IS NO MORE WORKING !

Berlin Auslaenderbehorde Termin Bot

This application uses Selenium library to automate the process of getting an appointment in Berlin Ausländerbehörde. Instead of notifying the person like other solutions, this application automatically books for you the requested Termin. For more info please visit github pages

Prerequisites

  1. In order to run selenium server you will need to install docker first. See Get Docker for more info. After installing the docker run the selenium server as below
docker run \
  -d \
  --name selenium \
  -p 4444:4444 -p 7900:7900\
  --shm-size="2g" \
  -e SE_NODE_MAX_SESSIONS=5 \
  -e SE_NODE_OVERRIDE_MAX_SESSIONS=true \
  -e SE_NODE_SESSION_TIMEOUT=120 \
  -t selenium/standalone-chrome:latest

For MacOS with M1 chip

docker run \
  -d \
  --name selenium \
  -p 4444:4444 -p 7900:7900\
  --shm-size="2g" \
  -e SE_NODE_MAX_SESSIONS=5 \
  -e SE_NODE_OVERRIDE_MAX_SESSIONS=true \
  -e SE_NODE_SESSION_TIMEOUT=120 \
  -t seleniarm/standalone-chromium:latest
  1. Make sure that JDK version in your machine is above > 11
    • Check the java version java --version.
    • If it is below 11, install a newer version of java. After installation check again the version by java --version

How to run

  • Fill the personInfoDTO.Json file with your personal information

    • Write the Country value in English as displayed on the browser
  • Fill the visaFormTO.Json with your visa request.

    • You can also copy-paste from a template that matches your request.
  • Run the application in terminal by ./gradlew run.

    • You will get the email from LEA once the bot booked the termin.
    • REMEMBER: Due to very limited number of available spots, you might need to run the script for a week !
  • To see what is happening inside the container, head to http://localhost:7900/?autoconnect=1&resize=scale&password=secret.

berlin-auslaenderbehorde-termin-bot's People

Contributors

yilmaz-aslan-mw avatar yilmaznaslan avatar nstrzn avatar chialunwu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.