|
@@ -124,7 +124,7 @@ class SeleniumFeapder(feapder.BiddingListSpider):
|
|
|
|
|
|
list_item = BidingListItem() # 存储数据的管道
|
|
|
list_item.href = href # 标书链接
|
|
|
- list_item.unique_key = ('href',)
|
|
|
+ list_item.unique_key = ('href','title')
|
|
|
list_item.channel = menu.get("channel") # 最上方定义的抓取栏目 (编辑器定的)
|
|
|
list_item.spidercode = menu.get("code") # 最上方定义的爬虫code(编辑器定的)
|
|
|
list_item.title = title # 标题
|