| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Fixes #465
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
This was done using the following command. It is not an API call and
pretty fragile to changes, so we can't use it to automatically load the
list from wee_slack.py.
curl -s 'https://cfr.slack-edge.com/bv1-1/emoji.84b5140d201ea94c81b4.min.js' | \
sed -e 's/.*emoji.prototype.data = \({[^}]*}\).*/\1/' \
-e 's/\\n/\n/g' -e 's/\\t/\t/g' -e 's/\\'/'/g' | \
jq '{emoji: [to_entries | .[].value[3]] | flatten | sort}'
|
|
|
|
| |
This makes it easier to see what is changed when we update the list.
|
|
|