Changelogs#

2.4.0#

  • Completely deprecated usage of lower-case Order attributes.

  • Changed default kwarg count value 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.thumbnail to Optional[str]

2.2.0#

2.1.1#

  • Removed usage of deprecated Order inside the library.

  • Added required click dependency in pyproject.toml.

  • Fixed issue #45.

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.json with new tags. You can access them from Tags.search().

1.9.2#

  • Upated tags.json with new tags. You can access them from Tags.search().

1.9.1#

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.duration was changed from int to float).

  • Certain attributes were returning invalid data which were fixed. E.g: (5765501).

1.8.2#

1.8.1#

  • Fixed an issue with CLI not downloading GIFs using the --list option.

1.8.0#

Breaking changes

Updates - Added new Order.new enum.

1.7.2#

1.7.1#

  • Added new file_url attribute to URL. This can be displayed to the end user since it doesn’t have any IP or signature info in the URL.

  • Added new get_feeds() method.

  • Added new Feeds dataclass.

1.7.0#

Breaking changes

  • Removed Tags enum 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 order paramter of search_image() from Order.trending to Order.new.

1.6.1#

  • Changed default order paramter of search() to Order.trending.

  • Added count paramter to search_creator().

  • Added new value to Order enum.

  • Added gifs attribute to CreatorResult.

  • Added new --folder option 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 --quality option to redgifs CLI.

1.6.0#

Breaking changes

Updates

  • Improved CLI. Now you can run redgifs in your terminal to use the CLI. See redgifs -h for help.

  • Fixed thumbnail regex (4c3606b).

1.5.1#

  • Properly fixed an issue with CLI downloads.

1.5.0#

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 --version argument in __main__.py file (for CLI usage).

1.3.0#

Breaking changes

  • Renamed Gif dataclass to GIF.

  • Tags.search() now returns a list of closest tag names.

Updates

  • Added web_url attribute to GIF.

  • 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 typing related errors.

1.2.0#

Breaking changes

Updates

1.1.0#

  • Added new search_image() method.

  • Added ProxyAuth for proxy authentication. Check the examples in the repo for use.

  • Fixed await calls (#3).

  • Fixed errors with Python 3.7.

  • Refactored create_date and creation_time (c95d8).

  • Refactored get_tags() method.

1.0.0#

  • Initial release.