Fix action

This commit is contained in:
Fundor333
2025-01-21 00:56:40 +01:00
parent 5e312a980c
commit 1abfc942da

View File

@@ -15,8 +15,6 @@ now = datetime.datetime.now()
since_data = now - datetime.timedelta(hours=24 * since_days)
url = f"https://webmention.io/api/mentions.jf2?domain={domain}&token={token}&since={since_data.isoformat()}&per-page=999"
print(url)
def clean_slug(slug: str):
return slug.replace(http_domain, "").split("?")[0]