Skip to content

Load login page request being blocked #18

Description

@will-and-co

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')
AttributeError: 'NoneType' object has no attribute 'get'

When I change it to print the text of the page I get:

[2018-07-05 @ 10:59]
---> 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
Request unsuccessful. Incapsula incident ID: 802334360015240425-11923250173061570

So it looks like DSA have secured this behind some kind of Incapsula security.

If I get some time I will try and work around this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions