From a21aeb6093b6690348c8cd759c44533c9cb34bd7 Mon Sep 17 00:00:00 2001 From: Benjamin_Loison Date: Thu, 22 Dec 2022 03:31:17 +0100 Subject: [PATCH] Add `sh` syntax highlighting --- Home.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Home.md b/Home.md index ad9cf84..4ecaca3 100644 --- a/Home.md +++ b/Home.md @@ -40,10 +40,10 @@ Note that the video only have auto-generated captions. ## Concerning 20,000 videos limit for YouTube Data API v3 PlaylistItems: list endpoint Could try both (`-i` was required for ignoring errors such as age-restricted videos): -``` +```sh youtube-dl --dump-json "https://www.youtube.com/channel/UCf8w5m0YsRa8MHQ5bwSGmbw/videos" -i | jq -r '[.id]|@csv' | wc -l ``` -``` +```sh yt-dlp --dump-json "https://www.youtube.com/channel/UCf8w5m0YsRa8MHQ5bwSGmbw/videos" -i | jq -r '[.id]|@csv' | wc -l ```