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

다시 질문입니다. Read.me에 따라 실행을 했는데. 또 오류가 나오는데요. #28

Open
Sturtle1 opened this issue Apr 5, 2022 · 5 comments

Comments

@Sturtle1
Copy link

Sturtle1 commented Apr 5, 2022

코드는

Crawler = ArticleCrawler()
Crawler.set_category("경제")
Crawler.set_date_range("2017-01", "2018-04-20")
Crawler.start()

이며,

오류는

ypeError Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_1836/1408842911.py in
1 Crawler = ArticleCrawler()
2 Crawler.set_category("경제")
----> 3 Crawler.set_date_range("2017-01", "2018-04-20")
4 Crawler.start()

TypeError: set_date_range() missing 2 required positional arguments: 'end_year' and 'end_month'

이렇게 나옵니다. 뭐가 문제일까요?

그리고 혹시 크롤링 중간에 저장되고 있는 엑셀을 열면 크롤링은 중단되는 건가요?

@geun9716
Copy link
Contributor

geun9716 commented Apr 7, 2022

@Sturtle1
해당 코드에서의 Crawler가 이전 버전 input을 받는 것 같습니다.
새로운 버전으로 업데이트 하기를 추천드립니다.

크롤링 중간에 저장되고 있는 엑셀을 열어도 따로 크롤링이 중단되지는 않습니다.

@Sturtle1
Copy link
Author

Sturtle1 commented Apr 7, 2022 via email

@Sturtle1
Copy link
Author

Sturtle1 commented Apr 12, 2022 via email

@geun9716
Copy link
Contributor

@lumyjuwon 님께 문의 하시는 것이 좋을 듯 합니다.

@Sturtle1
Copy link
Author

Sturtle1 commented Apr 14, 2022 via email

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