CSO - download fails: ValueError: can only parse strings (SSL: CERTIFICATE_VERIFY_FAILED)
https://git.nomics.world/dbnomics-fetchers/cso-fetcher/-/jobs/163036
Traceback (most recent call last):
1662 File "download.py", line 262, in <module>
1663 sys.exit(main())
1664 File "download.py", line 87, in main
1665 category_tree = get_category_tree(html_tree)
1666 File "download.py", line 206, in get_category_tree
1667 category_tree, _ = get_subtree(tree_divs_iter, first_node)
1668 File "download.py", line 189, in get_subtree
1669 sub_subtree, next_node_to_treat = get_subtree(tree_iter, current_node)
1670 File "download.py", line 189, in get_subtree
1671 sub_subtree, next_node_to_treat = get_subtree(tree_iter, current_node)
1672 File "download.py", line 189, in get_subtree
1673 sub_subtree, next_node_to_treat = get_subtree(tree_iter, current_node)
1674 [Previous line repeated 1 more time]
1675 File "download.py", line 185, in get_subtree
1676 return get_page_json_links_dicts(html_link), current_node
1677 File "download.py", line 123, in get_page_json_links_dicts
1678 xml_tree = get_xml_tree(html)
1679 File "download.py", line 214, in get_xml_tree
1680 xml_tree = lxml.html.document_fromstring(html_tree)
1681 File "/usr/local/lib/python3.7/dist-packages/lxml/html/__init__.py", line 761, in document_fromstring
1682 value = etree.fromstring(html, parser, **kw)
1683 File "src/lxml/etree.pyx", line 3236, in lxml.etree.fromstring
1684 File "src/lxml/parser.pxi", line 1875, in lxml.etree._parseMemoryDocument
1685 ValueError: can only parse strings
This is actually due to SSL: CERTIFICATE_VERIFY_FAILED error