global name 'r_date' is not defined
? ? def _get_data(self, url, soup):
? ? ? ??
? ? ? ? r_data = {}
? ? ? ??
? ? ? ? node1 = soup.find('dd', class_='lemmaWgt-lemmaTitle-title').find('h1')
? ? ? ? r_data['title'] = node1.get_text()
? ? ? ??
? ? ? ? node2 = soup.find('div', class_='lemma-summary')
? ? ? ? r_date['summary'] = node2.get_text()
? ? ? ??
? ? ? ? r_data['rul'] = url
? ? ? ??
? ? ? ? return r_data
2016-07-22
? r_date['summary'] = node2.get_text()
這行寫錯了?。?!
r_data