Skip to content

Commit

Permalink
chore: typo fix & warning for --bypass-cdn-image-compression
Browse files Browse the repository at this point in the history
  • Loading branch information
yzqzss committed Jul 11, 2024
1 parent ed8ea38 commit 05959bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wikiteam3/dumpgenerator/cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def getArgumentParser():
group_image.add_argument(
"--bypass-cdn-image-compression",
action="store_true",
help="Bypass CDN image compression. (CloudFlare Polish, etc.)",
help="Bypass CDN image compression. (CloudFlare Polish, etc.) [WARNING: This will increase CDN origin traffic, and not effective for all HTTP Server/CDN, please don't use this blindly.]",
)
group_image.add_argument(
"--image-timestamp-interval",
Expand Down Expand Up @@ -412,7 +412,7 @@ def sleep(self, response=None):
pass
elif index == "":
index = "/".join(api.split("/")[:-1]) + "/index.php"
print("Gassing index.php from API URL: ", index)
print("Guessing index.php from API URL: ", index)

# print (api)
# print (index)
Expand Down

0 comments on commit 05959bf

Please sign in to comment.