소스 검색

Fix confusing error message when lxml is not installed

master
JustAnotherArchivist 3 년 전
부모
커밋
743e0582ba
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      warc-tiny

+ 1
- 1
warc-tiny 파일 보기

@@ -445,7 +445,7 @@ class ScrapeMode(ProcessMode):
def __init__(self, urlsOnly):
self._urlsOnly = urlsOnly

assert wpull is not None, 'Scrape mode requires wpull'
assert wpull is not None, 'Scrape mode requires wpull and lxml'
htmlParser = wpull.document.htmlparse.lxml_.HTMLParser()
elementWalker = wpull.scraper.html.ElementWalker()
scrapers = []


불러오는 중...
취소
저장