如何下載搜狗翻譯讀音

  在做藍牙音箱的時候會需要用到一些mp3格式的提示音,找例如藍牙模式這樣的提示音是很艱難的事情。然而,一些翻譯網站往往會能找到這樣的提示音,但是呢,一般都是不能直接下載的,下面介紹記錄一個下載的方法。

1.打開搜狗翻譯
https://fanyi.sogou.com/?fr=websearch

2.輸入想要下載的語音文字
比如我要下載藍牙模式的英文發音:
在這裏插入圖片描述

3.打開網頁開發者模式:
我用的是谷歌瀏覽器
單擊鍵盤上的F12(筆記本一般是fn+F12)
在這裏插入圖片描述
依次操作:
在這裏插入圖片描述
右鍵複製需要注意:
在這裏插入圖片描述
複製出的元素如下:

<span class="btn-sound" id="textarea-sound" data-tooltip="朗讀" 
data-sound-type="to" data-action="sound" data-sound-cl-type="other" data-src="/reventondc/synthesis?
text=Bluetooth%20mode&amp;speed=1&amp;lang=en&amp;from=translateweb"></span>

去掉多餘的,只保留data-src=後雙引號括起來的部分:

reventondc/synthesis?text=Bluetooth%20mode&amp;speed=1&amp;lang=en&amp;from=translateweb

直接訪問這個鏈接是會出錯的,瀏覽器會顯示找不到主機。需要在這個連接前加上https://fanyi.sogou.com//

完整:

https://fanyi.sogou.com//reventondc/synthesis?text=Bluetooth%20mode&amp;speed=1&amp;lang=en&amp;from=translateweb

複製到輸入網址框
在這裏插入圖片描述

在這裏插入圖片描述

商業用途注意版權!!
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章