refer to the gist for 0x0 admins
All checks were successful
Build and Publish / build_and_publish (push) Successful in 1m23s
All checks were successful
Build and Publish / build_and_publish (push) Successful in 1m23s
This commit is contained in:
parent
428f511abe
commit
ae968be9de
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ class YTDLCog(commands.Cog):
|
|||
"https://0x0.st",
|
||||
files={"file": (name, data, mime_type)},
|
||||
data={"expires": 12},
|
||||
headers={"User-Agent": "CollegeBot (matrix: @nex:nexy7574.co.uk)"},
|
||||
headers={"User-Agent": "CollegeBot (see: https://gist.i-am.nexus/nex/f63fcb9eb389401caf66d1dfc3c7570c)"},
|
||||
)
|
||||
if response.status_code == 200:
|
||||
return urlparse(response.text).path[1:]
|
||||
|
|
Loading…
Reference in a new issue