KoreaNewsCrawler icon indicating copy to clipboard operation
KoreaNewsCrawler copied to clipboard

spyder에서 실행을 했는데. 날자입력 에러로 나옵니다.

Open Sturtle1 opened this issue 3 years ago • 4 comments

Crawler.set_date_range(2015, 9, 2016, 9) 와 같이 입력하였는데.

File "d:\conda_env\nlp38\lib\calendar.py", line 124, in monthrange raise IllegalMonthError(month)

IllegalMonthError: bad month number 0; must be 1-12

와 같은 에러가 나타났습니다. 제대로 입력을 한 것 같은데 왜 이런 이슈가 나타났을까요?

Sturtle1 avatar Mar 31 '22 11:03 Sturtle1

https://github.com/lumyjuwon/KoreaNewsCrawler/pull/26 해당 머지건 때문에 날짜 설정하는 방식이 변경됐습니다. https://github.com/lumyjuwon/KoreaNewsCrawler/blob/master/README.md 문서가 업데이트 됐으니 문서 example에 따라 다시 해보시기 바랍니다 ~

lumyjuwon avatar Apr 03 '22 14:04 lumyjuwon

답변주셔서 대단히 감사합니다.

2022년 4월 3일 (일) 오후 11:19, Seong JuWon @.***>님이 작성:

#26 https://github.com/lumyjuwon/KoreaNewsCrawler/pull/26 해당 머지건 때문에 날짜 설정하는 방식이 변경됐습니다. https://github.com/lumyjuwon/KoreaNewsCrawler/blob/master/README.md 문서가 업데이트 됐으니 문서 example에 따라 다시 해보시기 바랍니다 ~

— Reply to this email directly, view it on GitHub https://github.com/lumyjuwon/KoreaNewsCrawler/issues/27#issuecomment-1086879055, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI5JL6M3DOVGMK5IJ2WRJZTVDGSF7ANCNFSM5SFCMKAQ . You are receiving this because you authored the thread.Message ID: @.***>

Sturtle1 avatar Apr 05 '22 04:04 Sturtle1

참 질문이 있습니다. 크롤링 Read.me에서는 크롤링 초기날자는 "2021-08"과 같이 월이고 종료날자는 "2021-08-20"과 같이 일로 끝나는데요. 초기 날자도 종료날자와 같이 연-월-일로 설정해도 되는건지요?

2022년 4월 5일 (화) 오후 1:35, 네모난거북이 @.***>님이 작성:

답변주셔서 대단히 감사합니다.

2022년 4월 3일 (일) 오후 11:19, Seong JuWon @.***>님이 작성:

#26 https://github.com/lumyjuwon/KoreaNewsCrawler/pull/26 해당 머지건 때문에 날짜 설정하는 방식이 변경됐습니다. https://github.com/lumyjuwon/KoreaNewsCrawler/blob/master/README.md 문서가 업데이트 됐으니 문서 example에 따라 다시 해보시기 바랍니다 ~

— Reply to this email directly, view it on GitHub https://github.com/lumyjuwon/KoreaNewsCrawler/issues/27#issuecomment-1086879055, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI5JL6M3DOVGMK5IJ2WRJZTVDGSF7ANCNFSM5SFCMKAQ . You are receiving this because you authored the thread.Message ID: @.***>

Sturtle1 avatar Apr 05 '22 04:04 Sturtle1

@Sturtle1 초기 날짜도 종료날짜와 같이 연-월-일 지정 가능합니다.

geun9716 avatar Apr 07 '22 06:04 geun9716