diff --git a/afw.py b/afw.py index 4daf65c..11fc034 100755 --- a/afw.py +++ b/afw.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """archive-fandom-wiki @@ -10,7 +10,7 @@ Options: -h --help Show this help message. Examples: - afw dishonored https://breezewiki.nirn.quest + afw dishonored https://breezewiki.hyperreal.coffee afw residentevil """ @@ -43,7 +43,7 @@ class FandomWiki: def __init__(self, name: str): self.name = name self.canonical_url = f"https://{name}.fandom.com" - self.breezewiki_url = "https://breezewiki.nirn.quest" + self.breezewiki_url = "https://breezewiki.hyperreal.coffee" self.site_dir = Path(f"{name}.fandom.com") self.images_dir = self.site_dir.joinpath("images") @@ -239,6 +239,6 @@ if __name__ == "__main__": site = FandomWiki(args[""]) if args[""]: - site.set_breezewiki_instance(args[""]) + site.set_breezewiki_url(args[""]) site.archive_site() diff --git a/entrypoint.sh b/entrypoint.sh index 4beb108..1640e4b 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -2,6 +2,7 @@ set -e +# shellcheck disable=SC1091 . /venv/bin/activate exec /afw "$@"