diff --git a/gallery_dl/extractor/pinterest.py b/gallery_dl/extractor/pinterest.py index 121c7bf3..1a299c12 100644 --- a/gallery_dl/extractor/pinterest.py +++ b/gallery_dl/extractor/pinterest.py @@ -132,6 +132,9 @@ class PinterestExtractor(Extractor): "extension": "txt", "media_id": block.get("id")} + elif type == "story_pin_static_sticker_block": + continue + else: self.log.warning("%s: Unsupported story block '%s'", pin.get("id"), type) diff --git a/test/results/pinterest.py b/test/results/pinterest.py index 3ab5ebb3..02be3e34 100644 --- a/test/results/pinterest.py +++ b/test/results/pinterest.py @@ -67,6 +67,13 @@ __tests__ = ( "#urls" : "text:Everskies character+outfits i made", }, +{ + "#url" : "https://www.pinterest.com/pin/1025272671423645004/", + "#comment" : "story pin with 'story_pin_static_sticker_block' blocks", + "#class" : pinterest.PinterestPinExtractor, + "#urls" : "https://i.pinimg.com/originals/70/ab/31/70ab31654b2329e2ec74a39adf7ee683.jpg", +}, + { "#url" : "https://www.pinterest.com/pin/858146903966145188/", "#category": ("", "pinterest", "pin"),