[wikimedia] provide 'lang' metadata (#7283)

This commit is contained in:
Mike Fährmann
2025-10-23 20:42:45 +02:00
parent da4b8c1e83
commit 5e1862871e
3 changed files with 12 additions and 2 deletions

View File

@@ -107,6 +107,8 @@ __tests__ = (
"#category": ("wikimedia", "fandom-discogs", "file"),
"#class" : wikimedia.WikimediaArticleExtractor,
"#results" : "https://static.wikia.nocookie.net/discogs/images/a/ab/CH-0430D2.jpg/revision/latest?cb=20241007150151&path-prefix=zh&format=original",
"lang": "zh",
},
{

View File

@@ -32,6 +32,7 @@ __tests__ = (
"extmetadata" : dict,
"filename" : str,
"height" : int,
"lang" : "en",
"metadata" : dict,
"mime" : r"re:image/\w+",
"page" : "Athena",