0.0.74
This commit is contained in:
parent
ff579a623d
commit
c393dc1d1b
@ -1,7 +1,7 @@
|
||||
[metadata]
|
||||
# replace with your username:
|
||||
name = guan
|
||||
version = 0.0.73
|
||||
version = 0.0.74
|
||||
author = guanjihuan
|
||||
author_email = guanjihuan@163.com
|
||||
description = An open source python package
|
||||
|
@ -1811,12 +1811,12 @@ def play_academic_words(bre_or_ame='ame', random_on=0, show_translation=1, show_
|
||||
except:
|
||||
pass
|
||||
print(h2.get_text())
|
||||
if show_link==1:
|
||||
print('https://www.ldoceonline.com/dictionary/'+word)
|
||||
try:
|
||||
pygame.mixer.init()
|
||||
track = pygame.mixer.music.load(directory+word+'.mp3')
|
||||
pygame.mixer.music.play()
|
||||
if show_link==1:
|
||||
print('https://www.ldoceonline.com/dictionary/'+word)
|
||||
except:
|
||||
pass
|
||||
translation = re.findall('<p>.*?</p>', content, re.S)[0][3:-4]
|
||||
|
Loading…
x
Reference in New Issue
Block a user