File size: 637 Bytes
0a1b571
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
from typing import Any

from hibiapi.utils.config import APIConfig


class PixivConstants:
    DEFAULT_HEADERS: dict[str, Any] = {
        "App-OS": "ios",
        "App-OS-Version": "14.6",
        "User-Agent": "PixivIOSApp/7.13.3 (iOS 14.6; iPhone13,2)",
    }
    CLIENT_ID: str = "MOBrBDS8blbauoSck0ZfDbtuzpyT"
    CLIENT_SECRET: str = "lsACyCD94FhDUtGTXi3QzcFE2uU1hqtDaKeqrdwj"
    HASH_SECRET: bytes = (
        b"28c1fdd170a5204386cb1313c7077b34f83e4aaf4aa829ce78c231e05b0bae2c"
    )
    CONFIG: APIConfig = APIConfig("pixiv")
    APP_HOST: str = "https://app-api.pixiv.net"
    AUTH_HOST: str = "https://oauth.secure.pixiv.net"