Update README.md

This commit is contained in:
nloginov 2024-07-06 11:26:05 +02:00 committed by GitHub
parent 5a87b1a018
commit 8305018b1a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,22 +3,26 @@ This script allows you to download all of your favorite gifs very fast
![image](https://github.com/womblee/discord-favorite-gif-downloader/assets/52250786/a116dbf0-1171-4cf4-ac6b-4428cf6824ff) ![image](https://github.com/womblee/discord-favorite-gif-downloader/assets/52250786/a116dbf0-1171-4cf4-ac6b-4428cf6824ff)
## Supported
![tenor-logo-4EA1E41CC2-seeklogo com](https://github.com/womblee/discord-favorite-gif-downloader/assets/52250786/321d4bcc-6919-4e83-aeee-067baaae1f5c)
# How to setup # How to setup
1. Open the developer tab of your browser via **F12**. 1. Open the developer tab of your browser via **F12**.
2. Open the 'Network' tab. 2. Open the 'Network' tab.
3. Refresh the discord page via **CTRL + R**. 3. Refresh the discord page via **CTRL+R**.
4. Open the gif selector and go into the favorite gifs tab. 4. Open the gif selector and go into the favorite gifs tab.
5. Now go to the "{;} 2" key and select it, if you don't see it repeat the process. 5. Now go to the "{;} 2" key and select it (if you don't see it repeat the process).
6. Copy the contents of it. It should be like this: 6. Copy the contents of it. It should be like this:
```json ```json
{ {
"settings": "ENCODED TEXT HERE" "settings": "ENCODED TEXT HERE"
} }
``` ```
![image](https://github.com/womblee/discord-favorite-gif-downloader/assets/52250786/8fa93c13-b7d7-481c-888a-8e5fee0e5f58) ![image](https://github.com/womblee/discord-favorite-gif-downloader/assets/52250786/ae7a0858-e17b-44bc-a130-d75ae1d3fcb3)
7. Now I want you to copy the "ENCODED TEXT HERE" portion ONLY and save it to a text file! 7. Now I want you to copy the contents of it and save to a file named _'data.json'_
8. The file should be named _'encoded_file.txt'_ and must be next to main.py in order for the script to work.
(The data file must be in the **same directory as the script**)
# How to use # How to use
cd into the directory with the script, and run: `python main.py` cd into the directory with the script, and run: `python main.py`