[common] use extractor subcategory for 'notfound=True'

This commit is contained in:
Mike Fährmann
2026-01-18 22:16:18 +01:00
parent 09635352d0
commit 366b0750a8
10 changed files with 15 additions and 13 deletions

View File

@@ -1277,7 +1277,7 @@ class DeviantartDeviationExtractor(DeviantartExtractor):
else:
url = f"{self.root}/view/{self.deviation_id}/"
page = self._limited_request(url, notfound="deviation").text
page = self._limited_request(url, notfound=True).text
uuid = text.extr(page, '"deviationUuid\\":\\"', '\\')
if not uuid:
raise exception.NotFoundError("deviation")