Skip to content

Commit

Permalink
fix bug #341
Browse files Browse the repository at this point in the history
  • Loading branch information
ricterzheng committed Oct 1, 2024
1 parent e2f7143 commit c814c35
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nhentai/constant.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ def get_nhentai_home() -> str:

IMAGE_URL = f'{urlparse(BASE_URL).scheme}://i.{urlparse(BASE_URL).hostname}/galleries'
IMAGE_URL_MIRRORS = [
f'{urlparse(BASE_URL).scheme}://i3.{urlparse(BASE_URL).hostname}'
f'{urlparse(BASE_URL).scheme}://i5.{urlparse(BASE_URL).hostname}'
f'{urlparse(BASE_URL).scheme}://i7.{urlparse(BASE_URL).hostname}'
f'{urlparse(BASE_URL).scheme}://i3.{urlparse(BASE_URL).hostname}',
f'{urlparse(BASE_URL).scheme}://i5.{urlparse(BASE_URL).hostname}',
f'{urlparse(BASE_URL).scheme}://i7.{urlparse(BASE_URL).hostname}',
]

NHENTAI_HOME = get_nhentai_home()
Expand Down

0 comments on commit c814c35

Please sign in to comment.