thetvdb / v4-api

Founded in 2006, TheTVDB is one of the longest-running community-driven TV and Movie databases. With content metadata across hundreds of thousands of TV series and movies, TheTVDB powers many of the largest media centers in the market. Developers across the world build and rely upon TheTVDB's APIs to power their apps, utilities, and projects, generating millions of API calls per day. In our GitHub repository you will find all of the necessary support and v4 API documentation to make use of TheTVDB's metadata. Come and join us!
135 stars 13 forks source link

Characters endpoint has double domain address in series.image #311

Open aredspider opened 9 months ago

aredspider commented 9 months ago

I noticed that the Characters endpoint returns the wrong address in the series.image field. Here is an example: Request:

curl -X 'GET' \
  'https://api4.thetvdb.com/v4/characters/64140524' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer ey...'

Response:

{
  "status": "success",
  "data": {
    "id": 64140524,
    "name": null,
    "peopleId": 7999187,
    "seriesId": 77406,
    "series": {
      "name": "Alice",
      "image": "https://artworks.thetvdb.com/https://artworks.thetvdb.com/banners/posters/77406-2.jpg",
      "year": "1976"
    },
    "movie": null,
    "movieId": null,
    "episodeId": 241196,
    "type": 4,
    "image": null,
    "sort": 0,
    "isFeatured": false,
    "url": "https://thetvdb.com/people/7999187-paige-matthews",
    "nameTranslations": [],
    "overviewTranslations": [],
    "aliases": [],
    "peopleType": "Guest Star",
    "personName": "Paige Matthews",
    "tagOptions": [],
    "personImgURL": null
  }
}

If you look at data.series.image, you'll see that https://artworks.thetvdb.com/ is repeated.

antheaezzell commented 9 months ago

We will ticket this and get back to you.

antheaezzell commented 9 months ago

Internal ticket for our tracking purposes: https://whipmedia.atlassian.net/browse/CDP-1722