We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 933919b + b24a809 commit 71f396eCopy full SHA for 71f396e
1 file changed
wiktionaryparser/core.py
@@ -143,9 +143,9 @@ def parse_pronunciations(self, word_contents):
143
pronunciation_id_list = self.get_id_list(word_contents, 'pronunciation')
144
pronunciation_list = []
145
audio_links = []
146
- pronunciation_text = []
147
pronunciation_div_classes = ['mw-collapsible', 'vsSwitcher']
148
for pronunciation_index, pronunciation_id, _ in pronunciation_id_list:
+ pronunciation_text = []
149
span_tag = self.soup.find_all('span', {'id': pronunciation_id})[0]
150
list_tag = span_tag.parent
151
while list_tag.name != 'ul':
0 commit comments