Youtube v3

फ्रीमियम
द्वारा ytdlfree | अपडेट किया गया 16 days ago | Data
लोकप्रियता

9.9 / 10

लेटेंसी

384ms

सेवा का स्तर

100%

Health Check

100%

सभी चर्चाओं पर वापस जाएं

YouTube Search endpoint returns illegal response

Rapid account: Mtaji
mtaji
a month ago

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 a month ago

Fixed.

Rapid account: Chhayadas
chhayadas Commented a month ago

Noticing the same case of illegal response

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें