mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
add previous assessors
This commit is contained in:
parent
fc9c4b70d9
commit
46feb9e6bb
1 changed files with 2 additions and 2 deletions
|
|
@ -74,7 +74,7 @@ def retrieve_find_my_epc_data(uprn: int, postcode: str, address: str):
|
|||
|
||||
other_certificates_section = address_res.find("div", {'id': 'other_certificates_and_reports'})
|
||||
other_certificates_lines = other_certificates_section.find('dl', {"class": "govuk-summary-list"})
|
||||
other_certificates_links = other_certificates_lines.find_all('a')
|
||||
other_certificates_links = other_certificates_lines.find_all('a') if other_certificates_lines is not None else []
|
||||
|
||||
if len(other_certificates_links) > 0:
|
||||
|
||||
|
|
@ -156,7 +156,7 @@ def main():
|
|||
addresses_df['uprn'] = addresses_df['uprn'].astype(int)
|
||||
|
||||
find_my_epc_data_list = []
|
||||
for i, row in tqdm(addresses_df.iterrows()):
|
||||
for i, row in tqdm(addresses_df.tail(10).iterrows()):
|
||||
|
||||
address_data = retrieve_find_my_epc_data(
|
||||
uprn=row['uprn'],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue