fix wolframalpha parsing
This commit is contained in:
parent
627b83039c
commit
892f858643
|
@ -23,7 +23,7 @@ def wolframalpha(inp):
|
||||||
|
|
||||||
pod_texts = []
|
pod_texts = []
|
||||||
for pod in pods:
|
for pod in pods:
|
||||||
heading = pod.find('h1/span')
|
heading = pod.find('h2')
|
||||||
if heading is not None:
|
if heading is not None:
|
||||||
heading = heading.text_content().strip()
|
heading = heading.text_content().strip()
|
||||||
if heading.startswith('Input'):
|
if heading.startswith('Input'):
|
||||||
|
|
Loading…
Reference in New Issue