Closed scrazzz closed 1 year ago
Tags.search() fails on new tags from get_tags() method.
Tags.search()
get_tags()
Make a request with a tag in search() which isn't available in the Tags enum.
search()
Tags
Proper SearchResult response.
InvalidTag error. Which shouldn't happen because it's a valid tag. The tag was from the RedGifs API and not from the hardcoded tags in the library.
v1.6.0
I'm opening this issue so that I can fix it when I get the time.
This issue has been fixed on this commit.
Summary
Tags.search()
fails on new tags fromget_tags()
method.Reproduction Steps
Make a request with a tag in
search()
which isn't available in theTags
enum.Expected Result
Proper SearchResult response.
Actual Result
InvalidTag error. Which shouldn't happen because it's a valid tag. The tag was from the RedGifs API and not from the hardcoded tags in the library.
System Information
v1.6.0
Checklist
Additional Information
I'm opening this issue so that I can fix it when I get the time.