Did something change with
html.parser
between 3.8 and 3.10? See
this question, my answer, and the discussion below it. OP was getting a "ValueError - not enough values to unpack" when using
html.parser
with BeautifulSoup on 3.8. The same code worked fine for me with 3.10, but gave me the same error on 3.8. When I changed from
html.parser
to
lxml
, the error went away. Any clues why?