Backport PR #28710 on branch 0.25.x (CI Failing: TestReadHtml.test_spam_url #28708)
Backport PR #28710: CI Failing: TestReadHtml.test_spam_url #28708
Remaining failure will be fixed by backporting https://github.com/pandas-dev/pandas/pull/28400