Skip to content

Stack Overflow reading huge old HTML #90

Closed

Description

@Mizutama

I had a performance problem displaying huge HTML , then I was looking for huge simple HTML in english.
I found http://www.gutenberg.org/files/1661/1661-h/1661-h.htm and I tried and got StackOverflow error.
I knew this HTML was so old therefore it might be cause error on parsing.

I suggest using SGMLReader for parsing any HTML.
I'm using it for many scraping projects and results are so reasonable.

Activity

  1. Licshee commented on Jul 26, 2017

    @Licshee
    Collaborator

    Thank you for the suggestion.
    However it takes time to investigate

  2. eXpl0it3r commented on Nov 23, 2026

    @eXpl0it3r
    Collaborator

    This should be fixed with #243, which replaced the recursive parser with the HtmlKit tokenizer. Closing this, but feel free to reopen with a repro if it still happens with 2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions