[redgifs] 'gfyId' -> 'id' (#1984)

This commit is contained in:
Mike Fährmann
2021-10-29 02:05:39 +02:00
parent d4614e5ba4
commit 06b414c9a3
2 changed files with 3 additions and 3 deletions

View File

@@ -1863,13 +1863,13 @@ Default
``["mp4", "webm", "mobile", "gif"]`` ``["mp4", "webm", "mobile", "gif"]``
Description Description
List of names of the preferred animation format, which can be List of names of the preferred animation format, which can be
``"mp4"``, ``"webm"``, ``"gif"``, ``"webp"``, ``"mobile"``, or ``"mini"``. ``"mp4"``, ``"gif"``, `"mobile"``, or ``"mini"``.
If a selected format is not available, the next one in the list will be If a selected format is not available, the next one in the list will be
tried until an available format is found. tried until an available format is found.
If the format is given as ``string``, it will be extended with If the format is given as ``string``, it will be extended with
``["mp4", "webm", "mobile", "gif"]``. Use a list with one element to ``["mp4", "mobile", "gif"]``. Use a list with one element to
restrict it to only one possible format. restrict it to only one possible format.

View File

@@ -36,7 +36,7 @@ class RedgifsExtractor(Extractor):
url = self._process(gif) url = self._process(gif)
if not url: if not url:
self.log.warning("Skipping '%s' (format not available)", self.log.warning("Skipping '%s' (format not available)",
gif["gfyId"]) gif["id"])
continue continue
gif.update(metadata) gif.update(metadata)