youtube/gopher: add link to hq image thumbnail - frontends - front-ends for som… | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 634c895fbf8796d04bea2c0fef6615110c9ef951 | |
parent db05879864829ecfa84f66cedde69b549788d507 | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Tue, 7 Mar 2023 19:27:21 +0100 | |
youtube/gopher: add link to hq image thumbnail | |
Diffstat: | |
M youtube/gopher.c | 6 ++++++ | |
1 file changed, 6 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/youtube/gopher.c b/youtube/gopher.c | |
@@ -218,6 +218,12 @@ render_video(struct video_response *r) | |
printf("\t%s\t%s\t%s\r\n", "", host, port); | |
} | |
+ OUT("hThumbnail: https://i.ytimg.com/vi/"); | |
+ OUTTEXT(r->id); | |
+ OUT("/hqdefault.jpg\tURL:https://i.ytimg.com/vi/"); | |
+ OUTLINK(r->id); | |
+ printf("/hqdefault.jpg\t%s\t%s\r\n", host, port); | |
+ | |
if (r->author[0]) { | |
OUT("1Channel: "); | |
OUTTEXT(r->author); |