Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

How to use the QUERY_OPTIONS in AniLiker

Iván Pérez edited this page Jul 28, 2021 · 1 revision

Default behaviour

By default QUERY_OPTIONS ( located in the dotenv file ) should fill itself once you run the script for the first time.

Script should work exactly the same way as before, but if you want to select what kind of posts you want to ToggleLikeV2, you want to keep reading!

Using QUERY_OPTIONS

There are multiple values you can set, these are the options:

  1. TEXT
  2. ANIME_LIST
  3. MANGA_LIST
  4. MESSAGE
  5. MEDIA_LIST

The way you want to put them inside the dotenv file is the following:

QUERY_OPTIONS="TEXT, ANIME_LIST, MEDIA_LIST"

IMPORTANT: You want to have a space after the comma. Example: "TEXT, MESSAGE"

The reason behind this is because of how the script interacts with the dotenv file. If you forget the space, it won't work as intended.