We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73fd026 commit d0f55f2Copy full SHA for d0f55f2
pandas/io/html.py
@@ -586,12 +586,10 @@ class _BeautifulSoupHtml5LibFrameParser(_HtmlFrameParser):
586
587
def __init__(self, *args, **kwargs) -> None:
588
super().__init__(*args, **kwargs)
589
- from bs4 import SoupStrainer
590
591
- self._strainer = SoupStrainer("table")
592
593
def _parse_tables(self, document, match, attrs):
594
- element_name = self._strainer.name
+ element_name = "table"
595
tables = document.find_all(element_name, attrs=attrs)
596
if not tables:
597
raise ValueError("No tables found")
0 commit comments