scrazzz / redgifs

Simple Python API wrapper for the RedGIFs API
https://redgifs.rtfd.io
MIT License
93 stars 13 forks source link

`Tags.search()` fails on new tags. #15

Closed scrazzz closed 1 year ago

scrazzz commented 1 year ago

Summary

Tags.search() fails on new tags from get_tags() method.

Reproduction Steps

Make a request with a tag in search() which isn't available in the Tags 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.

scrazzz commented 1 year ago

This issue has been fixed on this commit.