def __init__(self, **requests_kwargs: Any) -> None:
        """Initialize requests kwargs if need be"""
        self.user_id: int | str = 0
        self.access_token: str | None = None
        self.refresh_token: str | None = None
        self.hosts = "https://app-api.pixiv.net"

        # self.requests = requests.Session()
        self.requests = cloudscraper.create_scraper()  # fix due to #140
        self.additional_headers = CaseInsensitiveDict(
            requests_kwargs.pop("headers", {}),
        )  # type: CaseInsensitiveDict[Any]
        self.requests_kwargs = requests_kwargs
Initialize requests kwargs if need be
pixivpy3/api.py