chinhtle / reserve-tfl Goto Github PK
View Code? Open in Web Editor NEWScript for reserving The French Laundry on Tock
Script for reserving The French Laundry on Tock
Tried to run the script and got the following error, could you tell me if the script is deprecated or if it was an issue on my end?
Exception in thread Thread-1: Traceback (most recent call last): File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 754, in run self.__target(*self.__args, **self.__kwargs) File "reserve_tfl.py", line 163, in run_reservation r = ReserveTFL() File "reserve_tfl.py", line 76, in __init__ self.driver = webdriver.Chrome(options=options) TypeError: __init__() got an unexpected keyword argument 'options'
I tried to use the script on several restaurants and have run into the same issue for each restaurant.
When the script tries to search for a reservation, it will loop through a different time range within the dates specified. For example, I change the time range form 5:00pm to 8:00pm between March 3, 4, 5, but it will only search for times on 8:15 and after across those dates, and continuous to repeat.
Can you help me with how I can fix this? I've attached a recording of what is happening.
Which course type selection does this script select? Is it just the regular dining room seating, or can it be customized to select special events like the white truffle dinner or other board room type seatings?
When I run the script to search a specific date, the script doesn't actually go to the date I indicated in the script and only checks the first available date that is available on tock's system. The restaurant in question is n/naka. Thanks
For other restaurants, when there are a few different dinner style selections (ie. chef's table, or dining room, etc), how can I configure the script to grab a specific dinner style selection? I'm not sure if it just grabs whatever time slot is closest to the selection regardless of what type of dinner it is.
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.