Skip to content

Slow to very slow checks for urls #60

@Tijs-2

Description

@Tijs-2

Our spider found a url with a lot of underscores. The website was a mess so they screwed up but nevertheless it exists in the wild.

If you have a url like 'http://______text' it is no problem

But if you do a check like this:
checkers.is_url("http://a_____________text_________done")
it already takes seconds

But then if you do it like this:
checkers.is_url("http://a______________________________________________________________text_________done")
you will be able to get a cup of coffee before the answer is there :) (I never waited until the end ;) )

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions