Procházet zdrojové kódy

Fix confusing error message when lxml is not installed

master
JustAnotherArchivist před 3 roky
rodič
revize
743e0582ba
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      warc-tiny

+ 1
- 1
warc-tiny Zobrazit soubor

@@ -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 = []


Načítá se…
Zrušit
Uložit