meetDeveloper / freeDictionaryAPI

There was no free Dictionary API on the web when I wanted one for my friend, so I created one.
https://dictionaryapi.dev/
GNU General Public License v3.0
2.56k stars 258 forks source link

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

Open rpungin opened 3 years ago

rpungin commented 3 years ago

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:"

willerrodrigo commented 2 years ago

Up