.c shouldn't scrape DuckDuckGo HTML
The DuckDuckGo API returns calculations perfectly fine...
Moreover, why is it scraping HTML before trying the API?
A side effect of attempting to scrape HTML before using the API: if BeautifulSoup isn't installed, it borks completely, where it could potentially get a result.
@auscompgeek this is explicitly mentioned in the readme: https://github.com/myano/jenni
@kaneda Yes, but it causes an exception, so it doesn't even attempt to get a result from the DDG API or from Wolfram|Alpha.
The "HTML" is scraped first before the API, because a) many times the "HTML" pages has a simpler answer and b) sometimes it is faster. I believe there was another reason of why I originally did it that way, but I can't remember any other reasons as of now.
Personally, I really wish the google results for .c were more reliable in jenni. They seem/work more reliably when done in a browser.