Skip to content

Commit

Permalink
fix: metadata base_url quoted
Browse files Browse the repository at this point in the history
  • Loading branch information
yzqzss committed Aug 19, 2023
1 parent a9e5bf9 commit 4bb5f3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wikiteam3/uploader/uploader.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def prepare_item_metadata(wikidump_dir: Path, config: Config, arg: Args) -> Tupl
keywords.append("unknowncopyright")

licenseurl: Optional[str] = urllib.parse.urljoin(config.api or config.index, rights_url) if rights_url else None
description = f'<a href="{urllib.parse.quote(base_url)}">{sitename or wiki_prefix}</a> dumped with <a href="https://github.com/saveweb/wikiteam3/" rel="nofollow">wikiteam3</a> tools.'
description = f'<a href="{base_url}">{sitename or wiki_prefix}</a> dumped with <a href="https://github.com/saveweb/wikiteam3/" rel="nofollow">wikiteam3</a> tools.'

metadata = {
"mediatype": "web",
Expand Down

0 comments on commit 4bb5f3d

Please sign in to comment.