Changelogs#
2.4.0#
Completely deprecated usage of lower-case
Orderattributes.Changed default kwarg
countvalue of search methods (API.search_gif(),API.search_image()) from 80 to 40.Fixed GIF search and image search API endpoints
2.3.0#
Fixed CLI download logic and f-string error 0af610a
Changed type of
URL.thumbnailtoOptional[str]
2.2.0#
Fixed multiple KeyErrors inside the library:
https://github.com/scrazzz/redgifs/commit/c4acb0d1a8f0c8bce558c398c9b1e9e17d0f397b
https://github.com/scrazzz/redgifs/commit/e654b1b2ecbad7f5cc06f459deb60a5093a3bd7d
https://github.com/scrazzz/redgifs/commit/13ca04479c2ec8b4d9f8b56e1dbb8e3ddec1a6ae
https://github.com/scrazzz/redgifs/commit/e654b1b2ecbad7f5cc06f459deb60a5093a3bd7d
Fixed KeyError in
Tags.random()method when used independently.Changed type of
User.profile_urlChanged type of
User.nameChanged type of
URL.hd
2.1.1#
2.1.0#
Breaking Changes
From this version onwards, breaking changes will be done on “minor” versions (semver
major.minor.patch).Please refer to the migrating guide (Migrating to v2.x) to know about the changes on this version.
2.0.0#
Major Breaking Changes
1.9.4#
Updated redgifs CLI. Check the GitHub README for more info.
1.9.3#
Upated
tags.jsonwith new tags. You can access them fromTags.search().
1.9.2#
Upated
tags.jsonwith new tags. You can access them fromTags.search().
1.9.1#
URL.file_urlis deprecated and will be removed in v2.0, useURL.embed_urlinstead.
1.9.0#
Fixed an issue with CLI not downloading the last page of the user’s gifs.
Added new
API.get_top_this_week()method.Added proper types to the API responses.
Many issues were found and fixed.
The type of certain attributes were changed. E.g (
GIF.durationwas changed frominttofloat).Certain attributes were returning invalid data which were fixed. E.g: (5765501).
1.8.2#
Added new keyword argument
typetoAPI.search_creator()method. This allows for getting images and gifs of the creator seperately.Added new
imagesparameter forCreatorResult.
1.8.1#
Fixed an issue with CLI not downloading GIFs using the
--listoption.
1.8.0#
Breaking changes
Removed
usernameandpasswordparams fromlogin()method.Changed return type of
Tags.random()method.
Updates
- Added new Order.new enum.
1.7.2#
Added new
get_trending_gifs()method.Added new
get_trending_images()method.
1.7.1#
1.7.0#
Breaking changes
Removed
Tagsenum class.
The Tag enum has been removed in place of a new Tag class.
This makes it easier to use the newest tags that are available on RedGifs instead of updating the enum everytime.
Updates
Changed the default
orderparamter ofsearch_image()fromOrder.trendingtoOrder.new.
1.6.1#
Changed default
orderparamter ofsearch()toOrder.trending.Added
countparamter tosearch_creator().Added
newvalue toOrderenum.Added
gifsattribute toCreatorResult.Added new
--folderoption in redgifs CLI. Use this option to download the video(s) to a folder/directory.Added new feature to download all videos from a RedGifs profile using redgifs CLI. Just enter the user’s profile URL to the
[URL]paramter.Added new
--qualityoption to redgifs CLI.
1.6.0#
Breaking changes
Renamed
RedgifsErrortoRedGifsError.Changed return type of
durationtointinstead offloat.
Updates
Improved CLI. Now you can run
redgifsin your terminal to use the CLI. Seeredgifs -hfor help.Fixed thumbnail regex (4c3606b).
1.5.1#
Properly fixed an issue with CLI downloads.
1.5.0#
Added new method:
get_trending_tags()Added new method:
fetch_tag_suggestions().Added new method:
search_creator()and aliassearch_user()Added new dataclass
CreatorResult.Fixed
download()method not working in async context.Fixed
search_creators()method error.Fixed an error regarding authorization for CLI.
1.4.0#
Breaking changes
Dropped support for Python version 3.7.
Updates
Added
login()method for logging in with a temporary token.Fixed errors with API requiring a token. See above added feature.
Fixed error message sometimes returning “None”.
1.3.1#
Added
--versionargument in__main__.pyfile (for CLI usage).
1.3.0#
Breaking changes
Renamed
Gifdataclass toGIF.Tags.search()now returns a list of closest tag names.
Updates
Added
web_urlattribute toGIF.Added
download()to download media from redgifs (GH #7).Added
Tags.single_random()to get a single random tag.Added CLI support to download GIFs.
Fixed an issue with HTTP timeout (GH #9).
Fixed some
typingrelated errors.
1.2.0#
Breaking changes
Refactored
search_image()method to return images in its proper dataclass.search()now returns Optional[SearchResult].
Updates
Added new
Imagedataclass.Added new
imagesattribute forSearchResult.Added
search_gif()method as an alias forsearch().Fixed some
typingrelated errors.
1.1.0#
Added new
search_image()method.Added
ProxyAuthfor proxy authentication. Check the examples in the repo for use.Fixed
awaitcalls (#3).Fixed errors with Python 3.7.
Refactored
create_dateandcreation_time(c95d8).Refactored
get_tags()method.
1.0.0#
Initial release.