Youtube v3

부분 유료
분류별 ytdlfree | 업데이트됨 18일 전 | Data
인기

9.9 / 10

지연 시간

383ms

서비스 수준

100%

Health Check

100%

모든 토론으로 돌아가기

YouTube Search endpoint returns illegal response

Rapid account: Mtaji
mtaji
한 달 전

Hi.

It appears that the Search endpoint is currently returning an incorrect response.
I am currently noticing the following

  1. The value of nextPageToken is different than before and the string length is obviously longer than before.
  2. The number of responses is always 20, even if I specify a value for the request parameter maxResults
  3. The response data snippet.publishedAt and sunippet.publishedTime are NULL.

A sample request to reproduce, for example

example request

curl -X GET \
	-H 'X-RapidAPI-Host: youtube-v31.p.rapidapi.com' \
	-H 'X-RapidAPI-Key: <my-api-key>' \
"https://youtube-v31.p.rapidapi.com/search?q=splatoon&part=id%2Csnippet&regionCode=JP&maxResults=50&order=relevance&type=video&safeSearch=strict&relevanceLanguage=ja"

example response

{
  "kind": "youtube#searchListResponse",
  "nextPageToken": "EqMDEghzcGxhdG9vbhqWA0VnSVFBVWdVZ2dFTGFIUXhVVXB0UkU5UE5VR0NBUXRvV0ZSS2FUZERiR3B4T0lJQkMzVjVWbk5PTlVOdlZWcGpnZ0VMVDJGZmIzaFZXWGRIU0hlQ0FRc3hjRU5wUVVJMFIwVnlOSUlCQ3pWTU1XUmtUV2REWmtGamdnRUxiWFZRT0hWUmVtWkhNMnVDQVF0SlpuVnZkamR0Vm5OSmM0SUJDMGxGTFZWMmFrcFROa1ZyZ2dFTFJYSXRNRTFpUm5Ka1JrV0NBUXRQTUhCNlZVWlBRa2hIUllJQkMxTmhSblV0U1dwa09GVjNnZ0VMZHpKT2NsTnpkRk5tTVRDQ0FRdHVka3QzVEZsdmFucHZTWUlCQzBKZmVqUjNOQzB0WmpaVmdnRUxlV05zY1dwS2RETnFOSGVDQVFzNVRXOTZkV1o0VkhKaU9JSUJDM293VFZwb0xXTlZUbWxCZ2dFTGVITndWMHRuYkdGclZVR0NBUXRCTmxCclFsUlZZV0YzUmJJQkJnb0VDQmNRQXVvQkJBZ0NFREUlM0QYgeDoGCILc2VhcmNoLWZlZWQ%3D",
  "pageInfo": {
    "totalResults": "17798595",
    "resultsPerPage": 20
  },
  "items": [
    {
      "kind": "youtube#searchResult",
      "id": {
        "kind": "youtube#video",
        "videoId": "ht1QJmDOO5A"
      },
      "snippet": {
        "publishedAt": null,
        "channelId": "UCQpM2gEorPnwhWvEwEDvTVQ",
        "title": "Out of ink | Splatoon Animation",
        "description": "VeeMo! When you out of ink on the opponents base (Sorry for loud noise sound effect on ink, during limited sound effect) Every ...",
        "thumbnails": {
          "default": {
            "url": "https://i.ytimg.com/vi/ht1QJmDOO5A/default.jpg",
            "width": 120,
            "height": 90
          },
          "medium": {
            "url": "https://i.ytimg.com/vi/ht1QJmDOO5A/mqdefault.jpg",
            "width": 320,
            "height": 180
          },
          "high": {
            "url": "https://i.ytimg.com/vi/ht1QJmDOO5A/hqdefault.jpg",
            "width": 480,
            "height": 360
          },
          "standard": {
            "url": "https://i.ytimg.com/vi/ht1QJmDOO5A/sddefault.jpg",
            "width": 640,
            "height": 480
          },
          "maxres": {
            "url": "https://i.ytimg.com/vi/ht1QJmDOO5A/maxresdefault.jpg",
            "width": 1280,
            "height": 720
          }
        },
        "channelTitle": "Ecylvion",
        "liveBroadcastContent": "none",
        "publishTime": null
      }
    },
...

Please check it.

Rapid account: Ytdlfree
ytdlfree Commented 한 달 전

Fixed.

Rapid account: Chhayadas
chhayadas Commented 한 달 전

Noticing the same case of illegal response

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입