我有个问题想问
如果我想从数据库中选择链接并让它成为start_urls
我能做什么??在
assum我的数据库保存这些链接和标题
1: link : 'http://test.com/id=1' , title : 'math'
2: link : 'http://test.com/id=2' , title : 'english'
3: link : 'http://test.com/id=30' , title : 'sports'
如果我能把标题作为蜘蛛的参数会更好。在
我的想法是:
^{pr2}$
Tags:
您需要重写^{} 方法和} 实例:
yield
/return
^{要将} 属性:
^{pr2}$obj.title
传递给回调,请使用^{相关问题 更多 >
编程相关推荐