1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 18:53:21 +01:00

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

This commit is contained in:
Mike Fährmann 2021-10-29 02:05:39 +02:00
parent d4614e5ba4
commit 06b414c9a3
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
2 changed files with 3 additions and 3 deletions

View File

@ -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.

View File

@ -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)