From af75a888e710f1bda3f99bf48d3120c056aa647a Mon Sep 17 00:00:00 2001 From: Marco S <70583350+MarcoSa-2000@users.noreply.github.com> Date: Thu, 8 Jun 2023 17:55:38 +0200 Subject: [PATCH] 0.6.4 --- README.md | 15 ++++++++++++--- animegifs/animegifs.py | 2 +- animegifs/distutils/errors.py | 3 ++- animegifs/distutils/gifs.py | 2 +- setup.py | 2 +- 5 files changed, 17 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index d67d201..0ffd12c 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ from animegifs import animegifs gifs = animegifs.Animegifs() -gif = gifs.get_gif(category) #return the url of the gif. +gif = gifs.get_gif(category) #gifs.get_gif('hug') and return the url of the gif. mal = gifs.get_mal(gif) #get url of the gif's anime myanimelist page. title = gifs.get_animetitle(gif) #get the title of the gif's anime. malid = gifs.get_malId(gif) #get the ID of the gif's anime myanimelist page. @@ -102,5 +102,14 @@ malid = gifs.get_malId(gif) #get the ID of the gif's anime myanimelist page. # Troubleshooting and other -If you encounter an error raise an issue on the issue page: https://github.com/MarcoSa-2000/animegifs/issues -or join the discord server to request new categories, new functions, feedback and even errors. +If you encounter an error, please raise an issue on the issue page: https://github.com/MarcoSa-2000/animegifs/issues. +Alternatively, you can join my Discord server to request new categories, functions, provide feedback, or report any errors. +I do also have a multi-function Discord bot. Feel free to check out the web dashboard here: https://enkidu-app.github.io. + +# Copyright + +This repository doesn't include any copyrighted material. +If you happen to come across any copyrighted content within this repository (but hosted elsewhere) that you own or represent, +email me at **grest0grest@gmail.com**. +Please provide specific details about the copyrighted material and where it can be found. +Once I confirm your claim, I'll take immediate action to remove the identified material. \ No newline at end of file diff --git a/animegifs/animegifs.py b/animegifs/animegifs.py index 3cd460b..d82bad2 100644 --- a/animegifs/animegifs.py +++ b/animegifs/animegifs.py @@ -17,7 +17,7 @@ def get_gif(self, category: str) -> str: handhold, happy, harass, highfive, hug, icecream, insult, kill, kiss, lick, love, marry, nod, nosebleed, nuzzle, pat, peck, poke, popcorn, pout, punch, punish, random, run, sad, scared, shoot, shrug, sip, slap, smirk, - sorry, spank, stare, tease, threat, tickle, tired, wave, yawn. + sorry, spank, stare, steal-magic, tease, threat, tickle, tired, wave, yawn. Returns: gif: gif (url) -> str diff --git a/animegifs/distutils/errors.py b/animegifs/distutils/errors.py index cd6512e..5cce3a4 100644 --- a/animegifs/distutils/errors.py +++ b/animegifs/distutils/errors.py @@ -45,7 +45,8 @@ def __init__(self, gif, error="Method not yet available for this gif."): class AuthTimeout(Exception): """ - Authentication request timed out. Probably status 504 on server side. Check your connection too. + Authentication request timed out. Probably status error 504 on server side. + Check your connection too. """ def __init__(self, exc, error="Authentication request timed out."): diff --git a/animegifs/distutils/gifs.py b/animegifs/distutils/gifs.py index 633803e..eb5c34f 100644 --- a/animegifs/distutils/gifs.py +++ b/animegifs/distutils/gifs.py @@ -19,7 +19,7 @@ 'nod', 'nosebleed', 'nuzzle', 'pat', 'peck', 'poke', 'popcorn', 'pout', 'punch', 'punish', 'random', 'run', - 'sad', 'scared', 'shoot', 'shrug', 'sip', 'slap', 'smirk', 'sorry', 'spank', 'stare', + 'sad', 'scared', 'shoot', 'shrug', 'sip', 'slap', 'smirk', 'sorry', 'spank', 'stare', 'steal-magic', 'tease', 'threat', 'tickle', 'tired', 'wave', 'yawn'] diff --git a/setup.py b/setup.py index 9e0c4f3..9ac353b 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ long_description = "\n" + fh.read() LONG_DESCRIPTION = long_description -VERSION = '0.6.3' +VERSION = '0.6.4' setup( name='animegifs',