[redgifs] 'gfyId' -> 'id' (#1984)
This commit is contained in:
@@ -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.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user