sharebook-kr / pykrx

KRX 주식 정보 스크래핑
676 stars 235 forks source link

get_market_ticker_list(), get_market_ticker_name() 등 오류가 나옵니다. #193

Open newkingcom opened 2 months ago

newkingcom commented 2 months ago

안녕하세요. 잘 사용하던 pykrx 의 함수들이 갑자기 오류가 나오고 있습니다. 주로 'Error fetching KOSDAQ listings: index -1 is out of bounds for axis 0 with size 0' 와 같은 오류입니다.

제가 현재 사용하는 함수 중 오류 함수는 아래와 같습니다.

get_market_ticker_list(market="KOSPI") get_market_ticker_list(market="KOSDAQ") get_index_portfolio_deposit_file("1028") get_market_ticker_name() get_market_ohlcv_by_date() get_market_fundamental_by_date() 감사합니다

craigchoi commented 2 months ago

https://github.com/sharebook-kr/pykrx/issues/191#issuecomment-2212462470

mr-yoo commented 1 month ago

최근 KRX 웹페이지가 개편됨에 따라 스크래핑 코드에 Refer 값을 추가했습니다. 관련 코드 모두 머지했습니다.

모듈 업데이트 후 동작 확인해 주세요.

newkingcom commented 1 month ago

안녕하세요. 가이드 주셨던데로 제가 직접 webio.py 에 Refer값 수정해서 잘 사용하고 있습니다.

이제는 pykrx 최신를 pip install 하면되는건지요?

감사합니다.

2024년 7월 15일 (월) 오전 2:53, mr-yoo @.***>님이 작성:

최근 KRX 웹페이지가 개편됨에 따라 스크래핑 코드에 Refer 값을 추가했습니다. 관련 코드 모두 머지했습니다.

모듈 업데이트 후 동작 확인해 주세요.

— Reply to this email directly, view it on GitHub https://github.com/sharebook-kr/pykrx/issues/193#issuecomment-2227427714, or unsubscribe https://github.com/notifications/unsubscribe-auth/BE4PQ2NPNHDITRMK3TDTCBLZMK3KHAVCNFSM6AAAAABKQEZR62VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRXGQZDONZRGQ . You are receiving this because you authored the thread.Message ID: @.***>