summary refs log tree commit diff
path: root/wotd
diff options
context:
space:
mode:
authornoa2024-01-03 10:33:14 +0000
committernoa2024-01-03 10:33:14 +0000
commitbf0cf3862464b741fac3044c7898c1aeb9e9cd62 (patch)
tree9c03ce5fd45cb87b15ed2743a795234f65bf0f74 /wotd
parentc6dcab9d7ead82b6cf7d985c3fa46527dcccc7b2 (diff)
Move all commands into commands/ subdirectory
Diffstat (limited to 'wotd')
-rwxr-xr-xwotd15
1 files changed, 0 insertions, 15 deletions
diff --git a/wotd b/wotd
deleted file mode 100755
index 933a021..0000000
--- a/wotd
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/env python3
-
-from urllib.request import Request, urlopen
-from bs4 import BeautifulSoup
-
-req = Request("https://www.oed.com/", headers={"User-Agent": "Mozilla/5.0"})
-soup = BeautifulSoup(urlopen(req), "html.parser")
-
-#wotd_div = soup.find('div', attrs={'class': 'wotd'})
-#wotd_word = word_div.find('a').get_text()
-wotd_word = soup.find("div", attrs={"class": "wotd"}).h3.a.get_text()
-
-
-print("The oxford english dictionary word of the day is " + wotd_word + "!")
-