summaryrefslogtreecommitdiff
path: root/main.go
AgeCommit message (Collapse)Author
6 daysfeat: upgrade hamlet and use newer stuff from theremasterdemo
6 daysfeat: use hamlet package to simplify command-line argumentsdemo
8 daysfeat: specify whether URL sources are both missing or both presentdemo
8 daysfeat: implement shortcode featuredemo
8 daysrefactor: move initial URL parsing into function 'convertToURL'demo
8 daysdocs: add some commentsdemo
8 daysfeat: check for missing https://demo
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
8 daysdocs: add comment explaining purpose of log.Lshortfiledemo
8 dayschore: include shortfile printout in log invocationsdemo
9 daysfeat: configure maxDepth from the command linedemo
Similar to maxURLs, a maxDepth of zero means no limit.
9 dayswip: prototype a max-depth limitationdemo
It's just bolted on with a constant right now though.
9 daysfeat: update the classic crawler to track depth via packetsdemo
10 daysfeat: add the worker-pool-based crawer from TGPLdemo
10 daysfeat: hit 'em with the classic web crawlerdemo
10 daysrefactor: make deduplication part of main goroutinedemo
10 daysfeat: restore original "print 45 and hang" behaviordemo
10 daysfeat: change all channel payloads to pointer typesdemo
10 daysfeat: reveal bug in the channel linkage topologydemo
10 daysfeat: add some code to canceldemo
However, currently this never gets reached.
10 daysrefactor: use SplitSeq instead of Splitdemo
10 daysfeat: add gouroutine-leak profilingdemo
10 daysfeat: design worker-pool webcrawlerdemo
10 daysdocs: remove commentdemo
12 daysrefactor: move main logic into separate functiondemo
13 daysfeat: avoid sending empty URL slices to the worklistdemo
13 daysfeat: add diagnostics to prove code is buggydemo
13 daysdocs: add package godocdemo
13 daysdocs: expound help string for -max argumentdemo
13 daysfix: check *maxURLs > 0 casedemo
13 daysfeat: add maxURLs CLI flagdemo
I've also added some more input sanitization.
13 daysfeat: implement cancellationdemo
I've also added 1., 2., etc. to the printed list of URLs.
13 daysfeat: add semaphore to throttle concurrent GET requestsdemo
13 daysrefactor: remove intermediate variabledemo
13 daysdocs: add comment for claritydemo
13 daysfeat: implement simple BFS webcrawlerdemo
13 daysfeat: create empty main.godemo