affjljoo3581 / canrevan

대량의 네이버 뉴스 기사를 수집하는 라이브러리입니다.
Apache License 2.0
90 stars 19 forks source link

Canrevan 패키지 기본 설정 에러 문의 #1

Closed Beomi closed 4 years ago

Beomi commented 4 years ago

안녕하세요, 설치 후 다음과 같은 에러가 발생합니다.

 ~/tmp/newses  canrevan --start 20200101  --end 20200810 --category 100 101 102 103 104 105
[*] collect article urls: 100%|█████████████| 1338/1338 [03:30<00:00,  6.35it/s]
[*] successfully collecting article urls. total articles: 0
[*] crawl articles: 0it [00:00, ?it/s]
[*] finish crawling articles. merge chunks into [articles.txt].
Traceback (most recent call last):
  File "/Users/user/.pyenv/versions/anaconda3-2020.02/bin/canrevan", line 8, in <module>
    sys.exit(_main())
  File "/Users/user/.pyenv/versions/anaconda3-2020.02/lib/python3.7/site-packages/canrevan/__init__.py", line 43, in _main
    args.max_tasks)
  File "/Users/user/.pyenv/versions/anaconda3-2020.02/lib/python3.7/site-packages/canrevan/crawling.py", line 247, in start_crawling_articles
    with open(name, 'rb') as src:
FileNotFoundError: [Errno 2] No such file or directory: 'tmp/vhpe1dderbjv470d'
 ✘  ~/tmp/newses 

현재 코드에서 크롤링이 잘 되는게 맞을지 확인 부탁드립니다!

감사합니다.