| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"Find" strongly implies an HTTP GET request, so I decided to change
the name.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
It's currently unused though.
|
|
|
|
|
|
This is a package I wrote to help me painlessly manage my command-line
flags.
|
|
|
|
|
|
|
|
This file contains convenient shortcode mappings to eliminate the need
to remember URLs I scrape frequently for testing purposes.
|
|
|
|
|
|
This is useful mostly in the context of maxURLs=∞, but perhaps it
could also help catch some error cases.
|
|
The code understands 0 as "no limit", but I want to convey the
no-limit concept to readers of the file who don't have a notion of how
the program works. So I convert 0 to ∞ in the string output here.
|
|
There could be a lot of URLs, so this should be more user-friendly.
|
|
|
|
|
|
|
|
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.
|
|
|
|
|