|
@@ -223,7 +223,7 @@ func (s *Spider) DownloadDetailItem(paramdata, tmp map[string]interface{}) {
|
|
|
func AnalysisProjectInfo(data map[string]interface{}) bool {
|
|
|
defer qu.Catch()
|
|
|
detail := qu.ObjToString(data["detail"])
|
|
|
- if detail == "详情请访问原网页" || detail == "<br/>详情请访问原网页!" { //不判断包含关系因为有些数据为json拼接,字段不全,会加“详情请访问原网页”
|
|
|
+ if detail == "详情请访问原网页!" || detail == "<br/>详情请访问原网页!" { //不判断包含关系因为有些数据为json拼接,字段不全,会加“详情请访问原网页”
|
|
|
if projectinfo, ok := data["projectinfo"].(map[string]interface{}); ok && len(projectinfo) > 0 {
|
|
|
if attachments, ok := projectinfo["attachments"].(map[string]interface{}); ok && len(attachments) > 0 {
|
|
|
fileOk := false
|