Skip to content
Commit 4d8030b8 authored by Laurent Bachelier's avatar Laurent Bachelier 🐧
Browse files

Add check_url decorator, remove check_domain

check_domain was not used anywhere and was bugged (the domain argument
was ignored in favor of self.DOMAIN).
The check_url decorator checks if the URL can be handled, if not it will
return None. The idea is to avoid making unnecessary requests.
parent 1a4fd0d3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment