python_scripts icon indicating copy to clipboard operation
python_scripts copied to clipboard

廖雪峰教程那个 crawler 第146行是不是有错误

Open jiangeel opened this issue 8 years ago • 2 comments

if not m.group(3).startswith("http"):

应该是group(2)吧

jiangeel avatar Mar 14 '17 13:03 jiangeel

是的,应该 是group(2)。我自己本地就这样改了

ghost avatar Apr 05 '17 04:04 ghost

是的,应该是

#if not m.group(3).startswith("http"):
if not m.group(2).startswith("http"):

bihuchao avatar May 18 '17 13:05 bihuchao