| Age | Commit message (Collapse) | Author |
|
|
|
This isn't as easy as modifying the parsed URL after the fact.
This Stack Overflow post has some hints:
https://stackoverflow.com/q/46719948/4570292
|
|
|
|
|
|
|
|
|
|
Also, if there are errors, I log them and simply return a nil slice.
|
|
|
|
|
|
Similar to maxURLs, a maxDepth of zero means no limit.
|
|
It's just bolted on with a constant right now though.
|
|
|
|
I also decided to make the packet datatype package private.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This might expand into a whole journal on what sites I've tried the
crawler with, and what the results were.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
However, currently this never gets reached.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
I've also added some more input sanitization.
|
|
I've also added 1., 2., etc. to the printed list of URLs.
|
|
|
|
|
|
|
|
|
|
|