This fails because the url param of Authority has been modified so the apps2 call to scrape fails because it's trying to scrape from the case officer page rather than the general search page.
The url param needs to stay constant throughout the lifetime of the object so scrape will always be requesting the right URL.
How to reproduce:
This fails because the
url
param ofAuthority
has been modified so theapps2
call toscrape
fails because it's trying to scrape from the case officer page rather than the general search page.The
url
param needs to stay constant throughout the lifetime of the object soscrape
will always be requesting the right URL.