From b37acd1e28a361ec5ac90a596e8044bd4b9048a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Sun, 1 Feb 2026 12:56:44 +0100 Subject: [PATCH] [artstation] fix embedded videos (#8972) --- gallery_dl/extractor/artstation.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gallery_dl/extractor/artstation.py b/gallery_dl/extractor/artstation.py index 58a547be..f8f463fb 100644 --- a/gallery_dl/extractor/artstation.py +++ b/gallery_dl/extractor/artstation.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Copyright 2018-2025 Mike Fährmann +# Copyright 2018-2026 Mike Fährmann # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as @@ -88,7 +88,8 @@ class ArtstationExtractor(Extractor): if not self.videos: return page = self.request(url).text - return text.extr(page, ' src="', '"') + return text.extract( + page, ' src="', '"', page.find('id="video"')+1)[0] if url: # external URL