bsolomon1124 / demoji

Accurately find/replace/remove emojis in text strings
https://pypi.org/project/demoji/
Apache License 2.0
157 stars 20 forks source link

Is there a way to load existing `codes.json` file? #26

Closed ghost closed 3 years ago

ghost commented 3 years ago

Is there a way to load existing codes.json file that I put in some directory instead of downloading it every time, so that I can use the library in an offline environment? Thanks.

ghost commented 3 years ago

I figured it out by setting demoji.CACHEPATH = '/some/path'