Code Monkey home page Code Monkey logo

bon-voyage's Introduction

What is this for?

This is a web scraper that helps reserves a French visa appointment on TLS(刷位置). It doesn't necessarily guarantee a slot, but it's worth a try when you are helpless. Note that your account may be banned. Bonne chance!

To my only user Aggy

Keep in mind

  • It only helps to refresh the slots page so you don't need to do it manually

  • When I made the script, the first page of the slots page has only grayed out(unavailable) slots that's on earlier dates. So my script logic was based on this principle: if the grayed out slots on the first page become available, then that's the slot that I am looking for. Apparently, it's not the case anymore for Shanghai center now. But it usually is the case. Just wait.

  • Sometimes it says that it finds slots but there's actually none, so just kill it.

  • Webdriver cloese the window when the script ends. There's a way to detach it options = Selenium::WebDriver::Options.chrome(detach: true) but it didn't work for me for some reason.

bon-voyage's People

Contributors

xunma avatar

Watchers

 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.