[29] anidb params fix

pull/1024/head
meisnate12 2 years ago
parent a66e8348e6
commit 19ee5732f2

@ -1 +1 @@
1.17.3-develop28 1.17.3-develop29

@ -43,7 +43,9 @@ anidb:
![AniDB Add Client](anidb-2.png) ![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) ![AniDB Client Page](anidb-3.png)

@ -108,7 +108,7 @@ class AniDB:
def _request(self, url, params=None, data=None): def _request(self, url, params=None, data=None):
logger.trace(f"URL: {url}") logger.trace(f"URL: {url}")
if data: 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: else:
return self.config.get_html(url, params=params, headers=util.header(self.language)) return self.config.get_html(url, params=params, headers=util.header(self.language))

Loading…
Cancel
Save