You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Did you manage to run the script @algobot95?
I tried a way to refresh the booking page to check the dates but after an hour or so my request to the website was blocked.
Not sure if that is because of a long session or the same IP refreshing the page for too long or something else.
This is the error code
File ".......\yadc\scraper.py", line 58, in Driver
centres: list[Centre]
TypeError: 'type' object is not subscriptable
Inputs used
driver = Driver(
licence_number="ID HERE",
booking_ref="YOUR_REF",
not_before=datetime(2023, 8, 24),
not_after=datetime(2022, 9, 30),
name="MY NAME",
centres=[
# Centre(centre="Greenford", not_after=datetime(2024,1, 1)),
Centre(centre="Greenford")
]
)
The text was updated successfully, but these errors were encountered: