diff --git a/gallery_dl/extractor/tenor.py b/gallery_dl/extractor/tenor.py index 7971af90..978cbc44 100644 --- a/gallery_dl/extractor/tenor.py +++ b/gallery_dl/extractor/tenor.py @@ -44,6 +44,7 @@ class TenorExtractor(Extractor): url = fmt["url"] gif["width"], gif["height"] = fmt["dims"] gif["title"] = gif["h1_title"][:-4] + gif["description"] = gif.pop("content_description", "") gif["date"] = text.parse_timestamp(gif["created"]) if meta: gif.update(meta) diff --git a/test/results/tenor.py b/test/results/tenor.py index 5ef0f87c..e0bd1703 100644 --- a/test/results/tenor.py +++ b/test/results/tenor.py @@ -14,7 +14,7 @@ __tests__ = ( "#urls" : "https://media1.tenor.com/m/dlGgz3LRXEMAAAAC/moving.gif", "bg_color" : "", - "content_description": "an illustration of a tree with green leaves", + "description": "an illustration of a tree with green leaves", "created" : 1687512768.687436, "date" : "dt:2023-06-23 09:32:48", "embed" : r"re: