wombat
wombat copied to clipboard
Parser initialization parameter :allowed_error_codes
This is my solution for following a bunch of links without throwing an exception on the first 404.
I think it'd be prettier to add a method to the DSL, but I wasn't able to quickly figure out how to do that as the DSL is nicely abstracted from Parser.
Happy to refactor this if you give me some hints :)