Closed aschimmenti closed 3 years ago
Hello, I'm really enjoying using wptools for scraping wikidata, is there a conditional to keep the e.g. for loop going even if an individual query gives Lookup Error? Thank you in advance
Solved with try...except LookupError
Thank you @aschimmenti. That's the pythonic way to approach it. Nice work.
Hello, I'm really enjoying using wptools for scraping wikidata, is there a conditional to keep the e.g. for loop going even if an individual query gives Lookup Error? Thank you in advance