From e26063112d099140222467f5e956757ccc907d96 Mon Sep 17 00:00:00 2001 From: way2muchnoise Date: Sun, 30 Jan 2022 16:55:07 +0100 Subject: [PATCH] metion this service is not affiliated with CurseForge on pages --- CFReader.py | 2 +- README.md | 2 +- templates/index.html | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CFReader.py b/CFReader.py index 2b1d267..06580ed 100644 --- a/CFReader.py +++ b/CFReader.py @@ -11,7 +11,7 @@ def new_api_call(): opener = urllib.request.build_opener() opener.addheaders = [ - ('user-agent', 'CFBadge'), + ('user-agent', 'way2muchnoise'), ('x-api-key', API_KEY), ('Accept', 'application/json') ] diff --git a/README.md b/README.md index 9e16961..e1c4c1c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # CurseForgeBadge (Unofficial) -A little badge/shield for minecraft mods/packs/... on CurseForge. This service is not affliated with CurseForge. +A little badge/shield for minecraft mods/packs/... on CurseForge. This service is not affiliated with CurseForge. ## Usage The base url is [https://cf.way2muchnoise.eu](https://cf.way2muchnoise.eu). Both http and https are available. diff --git a/templates/index.html b/templates/index.html index bdd38f1..3dec43e 100644 --- a/templates/index.html +++ b/templates/index.html @@ -6,7 +6,7 @@ - CurseForge Badge + CurseForge Badge - Unofficial @@ -22,7 +22,7 @@
-

CurseForge Badges - The ugly API documentation page

+

CurseForge Badges (Unofficial - The ugly API documentation page

@@ -30,7 +30,7 @@

CurseForge Badges - The ugly API documentation page

Usage

-

The base url is https://cf.way2muchnoise.eu. This url can be appended by following patterns. Use of https is available, but GitHub doesn't seem to like that. The examples below are but a subset of all possibilities go check out the code on Github for all possible options

+

The base url is https://cf.way2muchnoise.eu. This url can be appended by following patterns. Use of https is available, but GitHub doesn't seem to like that. The examples below are but a subset of all possibilities go check out the code on Github for all possible options. This service is not affiliated with CurseForge.

/<project>.svg

@@ -159,7 +159,7 @@

Different badge styles