close
download_mp3.py
>>
###################################################
# Download mp3 file from the url using Python 3.6
###################################################
import datetime
from urllib.request import urlretrieve
today = datetime.datetime.now().strftime("%Y%m%d")
url = 'http://www.changelife.org.tw/data/files/morning_bible_study/%s.mp3' %today
filename="%s.mp3" %today
response = urlretrieve(url,filename)
download_mp3.bat
>>
python download_mp3.py
文章標籤
全站熱搜