jitenbot/bot/entries/daijirin2/child_entry.py

10 lines
271 B
Python
Raw Permalink Normal View History

from bot.entries.daijirin2.base_entry import BaseEntry
class ChildEntry(BaseEntry):
def _get_headwords(self):
soup = self.get_page_soup()
self._delete_unused_nodes(soup)
headwords = self._get_regular_headwords(soup)
return headwords