我想从音频文件中获取音频标签。为此,我使用 eyed3 插件。
import eyed3
mp3_file = "The_File_Path"
audiofile = eyed3.load(mp3_file)
year = audiofile.tag.getBestDate()
但我只有音频文件的 amazon s3 URL。如何从 s3 URL 获取文件对象?
我想从音频文件中获取音频标签。为此,我使用 eyed3 插件。
import eyed3
mp3_file = "The_File_Path"
audiofile = eyed3.load(mp3_file)
year = audiofile.tag.getBestDate()
但我只有音频文件的 amazon s3 URL。如何从 s3 URL 获取文件对象?