Tag: 1.17

Intermediate commits (oldest → newest):
- attachment test
- fx
- Batch fix
- work ongoing
- cat got more sleep
- Batch download
- FX
- fx
- Batch hopefully
- glbfx
- last fix
- Final fixes in radio
- Merge branch 'main' of https://github.com/migatu/conjurer into main
- Fixes
- Happy Fucking Indepence Day Poland!!!
This commit is contained in:
2025-10-30 16:59:13 +01:00
parent b8df466e6f
commit 308875f77e
9 changed files with 403 additions and 52 deletions
+2 -1
View File
@@ -150,9 +150,10 @@ async def get_file(ctx, source, link):
elif source == "Youtube":
link_ok = False
pat = r"^https?:\/\/(?:www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b(?:[-a-zA-Z0-9()@:%_\+.~#?&\/=]*)$"
if re.match(pat, link) and re.match(".*youtube.*", link):
if re.match(pat, link) and (re.match(".*youtube.*", link) or re.match(".*youtu.be.*", link)):
link_ok = True
if link_ok:
dir_path = ""
file_list = []