docs: update how to get cookies
This commit is contained in:
parent
903fa88481
commit
0fd80dbb3c
19
README.md
19
README.md
@ -45,17 +45,10 @@ This project uses the Unofficial API from Tiktok.
|
||||
|
||||
You can use cookies in the form of String or JSON
|
||||
|
||||
- Method 1 (String) :
|
||||
|
||||
Login to the [Tiktok website](https://tiktok/.com) -> Open the **Inspect Element** or you can press the shortcut **CTRL + SHIFT + I** -> Go to network -> Find the request that goes to tiktok then open the request and look for **Cookie**
|
||||
|
||||

|
||||
|
||||
- Method 2 (JSON) :
|
||||
|
||||
You can use the chrome extension [EditThisCookies](https://chromewebstore.google.com/detail/editthiscookie/fngmhnnpilhplaeedifhccceomclgfbg) -> Login to the [Tiktok website](https://tiktok/.com) -> Then open the **EditThisCookie** extension -> Then click **Export Cookie**
|
||||
|
||||

|
||||
1. Download Extension [Cookie-Editor](https://chromewebstore.google.com/detail/cookie-editor/hlkenndednhfkekhgcdicdfddnkalmdm)
|
||||
2. Login to the [Tiktok Website](https://tiktok/.com)
|
||||
3. Open the Cookie-Editor Extension
|
||||
4. Copy the Cookie and paste it into the code `COOKIE: "YOUR_COOKIE"`
|
||||
|
||||
# Build this project
|
||||
|
||||
@ -97,7 +90,9 @@ npm install github:TobyG74/tiktok-api-dl
|
||||
## Tiktok Downloader
|
||||
|
||||
- V1 uses the API from TiktokAPI
|
||||
- Support Video, Images / Slide, Music
|
||||
- V2 uses the API from [SSSTik](https://ssstik.io/)
|
||||
-
|
||||
- V3 uses the API from [MusicalDown](https://musicaldown.com/)
|
||||
|
||||
### Options
|
||||
@ -267,7 +262,7 @@ Tiktok.StalkUser(username, {
|
||||
}
|
||||
video?: string
|
||||
images?: string[]
|
||||
music: string
|
||||
music?: string
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user