Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

한화 솔루션의 보고서가 뜨질 않습니다 #44

Open
ooodragon94 opened this issue Jan 14, 2023 · 3 comments
Open

한화 솔루션의 보고서가 뜨질 않습니다 #44

ooodragon94 opened this issue Jan 14, 2023 · 3 comments

Comments

@ooodragon94
Copy link

ooodragon94 commented Jan 14, 2023

rcept_no '20221111000817' 를

dart = OpenDartReader(api_key)

dart.document('20221111000817')

로 열면

ValueError: {'status': '014', 'message': '파일이 존재하지 않습니다.'}

라고 뜹니다.

@FinanceData
Copy link
Owner

실제 opendart API 에서 파일이 존재하지 않는다는 오류를 반환하였습니다. 다음과 같이 테스트가 가능합니다.

https://opendart.fss.or.kr/api/document.xml?rcept_no=20221111000817&crtfc_key=[인증키]

image

DART 자체에서 데이터가 누락된 것으로 보입니다.

@FinanceData
Copy link
Owner

위 내용에 대해서는 예전에도 DART에 질의를 했으나 뾰족한 답은 얻지 못했습니다.

@FinanceData
Copy link
Owner

참고로 보고서 전문을 PDF로 다운로드 하는 방법을 알려드립니다.

# 첨부파일 모두 다운로드
for k in dart.attach_files('20221111000817'):
    url, fn = atts[k], k
    print(url, fn)
    dart.download(url, fn)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants