Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jiangeel opened this issue Mar 14, 2017 · 2 comments
Open

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

jiangeel opened this issue Mar 14, 2017 · 2 comments

Comments

@jiangeel
Copy link

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

应该是group(2)吧

@jiangeel jiangeel changed the title 第146行是不是有错误 廖雪峰教程那个 crawler 第146行是不是有错误 Mar 14, 2017
@ghost
Copy link

ghost commented Apr 5, 2017

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

@bihuchao
Copy link
Contributor

bihuchao commented May 18, 2017

是的,应该是

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants