DSACancellationChecker
DSACancellationChecker copied to clipboard
A small Python script to scrape the DSA website to look for driving test cancellations
Every time getting this error: [2018-05-31 @ 02:03] ---> Starting update... ---> Using agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 ---> Connecting to https://driverpracticaltest.direct.gov.uk/login ---> Connecting to https://driverpracticaltest.direct.gov.uk/login...
I ran `python3 DSAChecker.py` after filling in the info.py but i get this error. `Traceback (most recent call last): File "DSAChecker.py", line 226, in performUpdate() File "DSAChecker.py", line 165, in...
On first run after getting details I get the below: Traceback (most recent call last): File "./DSAChecker.py", line 226, in performUpdate() File "./DSAChecker.py", line 165, in performUpdate dateChangeURL = launcher.html.find(id="date-time-change").get('href')...
Whenever the website is offline I get the following error. Traceback (most recent call last): File "DSAChecker.py", line 226, in performUpdate() File "DSAChecker.py", line 165, in performUpdate dateChangeURL = launcher.html.find(id="date-time-change").get('href')...
The website requires the driving test reference number, not the theory reference number. The script still works fine if you just input your practical reference number into the 'theoryNumber' variable...