docs: update token guide with info from #36

ref: https://codeberg.org/VnPower/PixivFE/issues/36#issuecomment-2315859
This commit is contained in:
perennial
2024-09-17 01:12:47 +10:00
parent c9c671f9ad
commit 49d345e1fc
+13
View File
@@ -49,6 +49,19 @@ Locate the cookie with the key `PHPSESSID`. The value next to this key is your a
Copy the token value obtained in the previous step. If deploying with Docker, set it as the `PIXIVFE_TOKEN` environment variable in your configuration.
## 5. Enabling R-18G Artworks (Optional)
For PixivFE to show R-18G artworks, the account used by PixivFE has to enable the "Show ero-guro content (R-18G)" option on Pixiv. Here's how to do it:
1. Go to Pixiv's [display settings page](https://www.pixiv.net/settings/viewing).
2. Enable the "Show ero-guro content (R-18G)" option.
To test if R-18G content is now visible:
1. Go to this [search endpoint](https://www.pixiv.net/ajax/search/artworks/gore).
2. Search for any appearances of "R-18G" in the results.
3. If you disable the R-18G option and search again, you shouldn't see any R-18G artworks in the results.
## Additional notes
- The token format resembles: `123456_AaBbccDDeeFFggHHIiJjkkllmMnnooPP`