aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2018-04-25 23:33:10 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2018-04-25 23:37:48 +0200
commit285bb47caf7e477f5faefd1970eb1d6a4d4f5a1c (patch)
treec015747954bb8e860d14b86fe0eaf507e31e8552 /wee_slack.py
parent37840baea2a48db7192c2ef502b5b36995476981 (diff)
downloadwee-slack-285bb47caf7e477f5faefd1970eb1d6a4d4f5a1c.tar.gz
Update list of emojis
I had to make some changes to the command I used last time. This was the one used now: curl https://a.slack-edge.com/bv1-3/emoji_5.f765b7e9a668291cfd7b.min.js | sed -e 's/.*c.prototype.data=\({[^}]*}\).*/\1/' \ -e 's/\\x/\\u00/g' -e 's/\([0-9]\+\):/"\1":/g' | jq '{emoji: [to_entries | .[].value[3]] | flatten | sort}' > weemoji.json
Diffstat (limited to 'wee_slack.py')
0 files changed, 0 insertions, 0 deletions