Open cainejette opened 4 years ago
Although grabbing the value from the emoji.list
POST call that slack in the browser makes worked!
Although when I plug in the information of another workspace I want to upload emojis to, no go:
$ pipenv run python upload.py github/*.png
Loading .env environment variables…
Traceback (most recent call last):
File "upload.py", line 183, in <module>
main()
File "upload.py", line 111, in main
session = _session(args)
File "upload.py", line 40, in _session
session.api_token = _fetch_api_token(session)
File "upload.py", line 106, in _fetch_api_token
raise ParseError("No api_token found in page")
__main__.ParseError: No api_token found in page
It looks like the mechanism for retrieving the api token differs between export.py
and upload.py
Looks like it is no longer included, or is encoded somehow.