The clan member list page is only potentially useful for getting membership status, is that what you're trying to find out?
It'd be much better to use apps script to extract that data than spreadsheet functions. I'll have a look anyway.
Edit: I've made a custom function in apps script that returns a table of the data based on the results of importing the clan member list.
Original message details are unavailable.
function getMembership(obj){
return [["Name","Rank","Member","Total XP","Kills","Online"]].concat(obj.map(function(a){return a.join(""
}).join(""
.split("membersListRow"
.slice(1).map(function(row){var col=function(cls){return row.match(RegExp('"'+cls+'">([^<]*)'))},name=col("name"
,member=/pro\.png/.test(row),rank=col("clanRank"
,totalxp=col("totalXP"
,kills=col("kills"
,world=col("world"
;return [name[1],rank[1],member?"Member":"",parseInt(totalxp[1].replace(",",""
),parseInt(kills[1]),world[1].replace(/\n/g,""
]}))
}
.:
Blasty
the Blue
:.
Blasty
// @BlastytheBlue // Blasty#5167
| Co-owner of
Mine Nation
04-Dec-2014 07:48:08
- Last edited on
04-Dec-2014 10:56:52
by
Blasty