Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
arsenstorm committed Jan 12, 2025
1 parent 29f7c6e commit 4b60b43
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions youtube-dl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,24 +51,25 @@ We get the following response:

```json
{
"result": {
"video_id": "dQw4w9WgXcQ",
"thumbnails": {
"max": "https://i.ytimg.com/vi/dQw4w9WgXcQ/maxresdefault.jpg", // 1280x720
"high": "https://i.ytimg.com/vi/dQw4w9WgXcQ/sddefault.jpg", // 640x360
"mid": "https://i.ytimg.com/vi/dQw4w9WgXcQ/hqdefault.jpg", // 480x360
"low": "https://i.ytimg.com/vi/dQw4w9WgXcQ/mqdefault.jpg", // 320x180
"min": "https://i.ytimg.com/vi/dQw4w9WgXcQ/default.jpg" // 120x90
},
"download_url": "https://request.directory/download/..." // The downloaded video expires after 24 hours
"video_id": "dQw4w9WgXcQ",
"thumbnails": {
"max": "https://i.ytimg.com/vi/dQw4w9WgXcQ/maxresdefault.jpg", // 1280x720
"high": "https://i.ytimg.com/vi/dQw4w9WgXcQ/sddefault.jpg", // 640x360
"mid": "https://i.ytimg.com/vi/dQw4w9WgXcQ/hqdefault.jpg", // 480x360
"low": "https://i.ytimg.com/vi/dQw4w9WgXcQ/mqdefault.jpg", // 320x180
"min": "https://i.ytimg.com/vi/dQw4w9WgXcQ/default.jpg" // 120x90
},
"download_url": "https://request.directory/download/...", // The downloaded video expires after 24 hours
"success": true
}
```

In this response, we’ve received these details:

- `result`: Contains a video download link and thumbnails.
- `video_id`: The ID of the video.
- `thumbnails`: The thumbnails of the video.
- `download_url`: The URL of the downloaded video.
- `expires_at`: The expiration date of the downloaded video.
- `success`: Whether the request was successful.

## Notes
Expand Down

0 comments on commit 4b60b43

Please sign in to comment.