Skip to content

Commit

Permalink
五一结束
Browse files Browse the repository at this point in the history
  • Loading branch information
QuinnDK committed May 7, 2020
1 parent 8f01aeb commit fb7fa1c
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions parse/zhenai/parseProfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,14 @@ import (
// return ""
// }
//}

var ageRe = regexp.MustCompile(`<div class="m-btn purple" data-v-bff6f798>([\d]+)岁</div>`)
var marry = regexp.MustCompile(`<div class="m-btn purple" data-v-bff6f798>(已婚)</div>`)
var constellation = regexp.MustCompile(`<div class="m-btn purple" data-v-bff6f798>(天秤座)</div>`)
var height = regexp.MustCompile(`<div class="m-btn purple" data-v-bff6f798>([\d]+)cm</div>`)
var weight = regexp.MustCompile(`<div class="m-btn purple" data-v-bff6f798>([\d]+)kg</div>`)
var salary = regexp.MustCompile(`<div class="m-btn purple" data-v-bff6f798>月收入:([^<]+)</div>`)
//<div data-v-8b1eac0c="" class="m-btn purple">([\d]+)岁</div>
//<div data-v-8b1eac0c="" class="m-btn purple">([\d]+)cm</div>
var ageRe = regexp.MustCompile(`<div data-v-8b1eac0c="" class="m-btn purple">([\d]+)岁</div>`)
var marry = regexp.MustCompile(`<div data-v-8b1eac0c="" class="m-btn purple">(已婚)</div>`)
var constellation = regexp.MustCompile(`<div data-v-8b1eac0c="" class="m-btn purple">(天秤座)</div>`)
var height = regexp.MustCompile(`<div data-v-8b1eac0c="" class="m-btn purple">([\d]+)cm</div>`)
var weight = regexp.MustCompile(`<div data-v-8b1eac0c="" class="m-btn purple">([\d]+)kg</div>`)
var salary = regexp.MustCompile(`<div data-v-8b1eac0c="" class="m-btn purple">月收入:([^<]+)</div>`)

var idRe = regexp.MustCompile(`http://album.zhenai.com/u/([\d]+)`)

Expand Down

0 comments on commit fb7fa1c

Please sign in to comment.