diff options
| author | littleblack111 <jerrylam110209@gmail.com> | 2023-08-14 18:47:07 +0800 |
|---|---|---|
| committer | littleblack111 <jerrylam110209@gmail.com> | 2023-08-14 18:47:07 +0800 |
| commit | 3eeb9c375a80607db03527e046fb9b753ea4f1ba (patch) | |
| tree | 735ae7ca099bd5ca03467ce0068ef699775db549 | |
| parent | d8f83cda4e168cb2f3f2d37ad51af423522496b4 (diff) | |
updated
| -rw-r--r-- | main.py | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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: |
