words = ('sleepy','졸린','coffee','drink','마시다')
import requests
from bs4 import BeautifulSoup
url =
"http://dic.daum.net/search.do?q="</span><span style="color: rgb(51, 51, 51); text-transform: none; text-indent: 0px; letter-spacing: normal; font-size: 12px; font-style: normal; font-weight: 400; word-spacing: 0px; float: none; display: inline !important; white-space: pre-wrap; orphans: 2; widows: 2; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">
try:
  
for i in words :
      response = requests.get(url+i)
      plain_html = response.text
      html = BeautifulSoup(plain_html,
"html.parser")
      eng_dictionary = html.find(attrs={
'class':'card_word #word #eng'})
      search_word_box = eng_dictionary.find(attrs={
'class':'search_box #box'})
      search_word = search_word_box.find(attrs = {
'class':'txt_cleansch'}).get_text()
      list_search = search_word_box.find(attrs = {
'class':'list_search'}).get_text()
      print(search_word,list_search)
except :
  continue



이렇게했거든 ㅠ