diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2018-04-25 23:33:10 +0200 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2018-04-25 23:37:48 +0200 |
commit | 285bb47caf7e477f5faefd1970eb1d6a4d4f5a1c (patch) | |
tree | c015747954bb8e860d14b86fe0eaf507e31e8552 /wee_slack.py | |
parent | 37840baea2a48db7192c2ef502b5b36995476981 (diff) | |
download | wee-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