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

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

Open
Sturtle1 opened this issue Mar 31, 2022 · 4 comments
Open

Comments

@Sturtle1
Copy link

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

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

@lumyjuwon
Copy link
Owner

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

@Sturtle1
Copy link
Author

Sturtle1 commented Apr 5, 2022 via email

@Sturtle1
Copy link
Author

Sturtle1 commented Apr 5, 2022 via email

@geun9716
Copy link
Contributor

geun9716 commented Apr 7, 2022

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

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

3 participants