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

pull/2005/head
Mike Fährmann 3 years ago
parent d4614e5ba4
commit 06b414c9a3
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -1863,13 +1863,13 @@ Default
``["mp4", "webm", "mobile", "gif"]``
Description
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
tried until an available format is found.
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.

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

Loading…
Cancel
Save