go实现爬取href链接

u011466175 ·
更多评论
可否把judgeUrl.SamePathUrl这个方法共享一下,因为我也要用到
#1
strings.HasPrefix(str, "//") 的处理不妥
#3