Closed busykoala closed 5 years ago
Since most of the function are there to handle links and their validity we should introduce a link object having the attributes:
So that we could address the object nicely the obj class should also have methods to:
This refactoring is especially important at places like: https://github.com/4teamwork/ftw.linkchecker/blob/63347068e01f86a79f138bf550b7f20890e46202/ftw/linkchecker/command/checking_links.py#L54-L58
Also we should loop through both in one loop instead of going through everything twice.
Solved in #42
Since most of the function are there to handle links and their validity we should introduce a link object having the attributes:
So that we could address the object nicely the obj class should also have methods to:
This refactoring is especially important at places like: https://github.com/4teamwork/ftw.linkchecker/blob/63347068e01f86a79f138bf550b7f20890e46202/ftw/linkchecker/command/checking_links.py#L54-L58
Also we should loop through both in one loop instead of going through everything twice.