You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
466 B

export default {
"projects.repository": function(web){
var data = {}
console.log(web);
var base = web.match(/<div class="repository_con top-info-project padding15 clearfix" style="line-height:1.9;">(.*)<\/div>/)[1];
console.log(base)
var match = base.match(/<input type="text" id="copy_rep_content" class="pro-fenzhi-input fl" value="(.*)"\/>/);
console.log(match);
data.git_url = match[1];
console.log(data);
return data;
}
}