Introduction
Introduction Statistics Contact Development Disclaimer Help
youtube/gopher: add 'h' type and "URL:" in single video view too - frontends - …
Log
Files
Refs
README
LICENSE
---
commit be809a17f1b8dc119d6bb2b1334fbb8c4a6fb283
parent 4f7c2ecc8388ca3536819df35133f85d865fb138
Author: Hiltjo Posthuma <[email protected]>
Date: Sun, 28 May 2023 10:16:00 +0200
youtube/gopher: add 'h' type and "URL:" in single video view too
Diffstat:
M youtube/gopher.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/youtube/gopher.c b/youtube/gopher.c
@@ -159,6 +159,7 @@ render_search(struct search_response *r)
return 0;
}
+
int
render_video(struct video_response *r)
{
@@ -180,10 +181,13 @@ render_video(struct video_response *r)
OUTTEXT(r->id);
printf("\t%s\t%s\r\n", host, port);
- OUT("iURL: ");
+ OUT("hURL: ");
OUT("https://www.youtube.com/embed/");
OUTTEXT(r->id);
- printf("\t%s\t%s\t%s\r\n", "", host, port);
+ OUT("\tURL:");
+ OUT("https://www.youtube.com/embed/");
+ OUTTEXT(r->id);
+ printf("\t%s\t%s\r\n", host, port);
if (r->lengthseconds > 0) {
OUT("iLength: ");
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.