freeDictionaryAPI icon indicating copy to clipboard operation
freeDictionaryAPI copied to clipboard

phonetics audio URLs are missing the protocol ("https:")

Open rpungin opened this issue 3 years ago • 1 comments

The JSON in the api response for phonetics audio URL is missing the protocol.

Here is an example response to https://api.dictionaryapi.dev/api/v2/entries/en/play

[
  {
    "word": "play",
    "phonetic": "pleɪ",
    "phonetics": [
      {
        "text": "pleɪ",
        "audio": "//ssl.gstatic.com/dictionary/static/sounds/20200429/play--_gb_1.mp3"
      }
    ],
...

The audio url value is missing "https:"

rpungin avatar Aug 18 '21 05:08 rpungin

Up

willerrodrigo avatar Sep 23 '21 12:09 willerrodrigo