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

每次更新已有模板,都会创建一个新的模板 #4

Closed
code4craft opened this issue Nov 25, 2016 · 3 comments
Closed

每次更新已有模板,都会创建一个新的模板 #4

code4craft opened this issue Nov 25, 2016 · 3 comments
Milestone

Comments

@code4craft
Copy link

每次更新已有模板,都会新建一个新的模板ID,这是故意所为?
对于修改还是不太友好啊,特别是测试阶段可能会保存很多次。
另外,已经跑通了,分分钟抓一个站,非常赞!

@gsh199449
Copy link
Owner

gsh199449 commented Nov 25, 2016

是不是修改了其中的什么配置导致了两个模板不equal?如果是测试模板阶段点击抓取样例数据进行测试,等配置完毕正式抓取时在选择提交抓取任务

@code4craft
Copy link
Author

嗯,是的,比如抓了一半,修改一下参数想要重新抓。
我理解其实传入ID的时候可以直接update。

@gsh199449
Copy link
Owner

恩 对,当指定id时应该走update,这个应该改下

@gsh199449 gsh199449 added this to the 1.0 milestone Nov 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants