for elem in Acc_no_data:
sleep(10)
Acc_no = re.findall(r'\d+', elem.find('td', class_='small').text.replace('-',''))[3]
# print(Acc_no)
date = elem.find_all('td')[3].text
get_file = requests.get(f'https://www.sec.gov/Archives/edgar/data/{CIK}/{Acc_no}/Financial_Report.xlsx', headers=user_agent)
if get_file.status_code == 200:
with open(f'{CIK}_{Acc_no}.xlsx', 'wb') as f:
f.write(get_file.content)