From 19ee5732f29bf6c361fd1d9245edcca0568ffa23 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Mon, 19 Sep 2022 20:16:59 -0400 Subject: [PATCH] [29] anidb params fix --- VERSION | 2 +- docs/config/anidb.md | 4 +++- modules/anidb.py | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index 18fb59ea..0a647bfb 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.17.3-develop28 +1.17.3-develop29 diff --git a/docs/config/anidb.md b/docs/config/anidb.md index 5c82f42c..71244a97 100644 --- a/docs/config/anidb.md +++ b/docs/config/anidb.md @@ -43,7 +43,9 @@ anidb: ![AniDB Add Client](anidb-2.png) -6. Come up with and enter a unique to AniDB Client Name, select `HTTP API` in the API Dropdown, and put `1` for Version. +6a. Come up with and enter a unique to AniDB Client Name +6b. Select `HTTP API` in the API Dropdown +6c. Put `1` for Version. ![AniDB Client Page](anidb-3.png) diff --git a/modules/anidb.py b/modules/anidb.py index 15c6f271..21ebd851 100644 --- a/modules/anidb.py +++ b/modules/anidb.py @@ -108,7 +108,7 @@ class AniDB: def _request(self, url, params=None, data=None): logger.trace(f"URL: {url}") if data: - return self.config.post_html(url, params=params, data=data, headers=util.header(self.language)) + return self.config.post_html(url, data=data, headers=util.header(self.language)) else: return self.config.get_html(url, params=params, headers=util.header(self.language))