frontends, branch HEAD front-ends for some sites (experiment) 42fa84b70552cbd5338298050a35536132622eb9 2025-12-11T20:02:17Z 2025-12-11T20:03:58Z sync xml.c improvements Hiltjo Posthuma hiltjo@codemadness.org commit 42fa84b70552cbd5338298050a35536132622eb9 parent d7b1c9d7714418bc5857fc83d5c7161a4d2f0bbb Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 11 Dec 2025 21:02:17 +0100 sync xml.c improvements d7b1c9d7714418bc5857fc83d5c7161a4d2f0bbb 2025-12-11T19:44:39Z 2025-12-11T19:44:39Z bump version to 0.9 Hiltjo Posthuma hiltjo@codemadness.org commit d7b1c9d7714418bc5857fc83d5c7161a4d2f0bbb parent 9ca0cd675174097d9c769541aa6b623b84da5b26 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 11 Dec 2025 20:44:39 +0100 bump version to 0.9 9ca0cd675174097d9c769541aa6b623b84da5b26 2025-10-19T12:22:37Z 2025-10-19T12:22:37Z bump LICENSE year Hiltjo Posthuma hiltjo@codemadness.org commit 9ca0cd675174097d9c769541aa6b623b84da5b26 parent 22b96ef52894b9382d29b3a387afbd1a00327ce9 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 19 Oct 2025 14:22:37 +0200 bump LICENSE year 22b96ef52894b9382d29b3a387afbd1a00327ce9 2025-10-19T12:21:01Z 2025-10-19T12:21:01Z youtube/feed: add members only prefix and make it a macro Hiltjo Posthuma hiltjo@codemadness.org commit 22b96ef52894b9382d29b3a387afbd1a00327ce9 parent fa4e5a13ff43b7e0d7849355c2b5b3334da5c9b3 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 19 Oct 2025 14:21:01 +0200 youtube/feed: add members only prefix and make it a macro This makes it easy to change the text or set it empty if wanted. Currently for youtube/feed: as far as I know members only videos are not visible in the Youtube Atom feed anyway. fa4e5a13ff43b7e0d7849355c2b5b3334da5c9b3 2025-10-18T15:13:32Z 2025-10-18T15:13:32Z show members only videos and unplayable status Hiltjo Posthuma hiltjo@codemadness.org commit fa4e5a13ff43b7e0d7849355c2b5b3334da5c9b3 parent dfe9d705355efc8d67dfb40f015f503bc5a089bf Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 18 Oct 2025 17:13:32 +0200 show members only videos and unplayable status In the search page members only videos are now visible with "[Members only] ". In the detailed video page the status will be shown (if present). Videos can be unplayable for members only or other regions, etc. Some more work needed on youtube/feed.c dfe9d705355efc8d67dfb40f015f503bc5a089bf 2025-06-13T15:17:01Z 2025-06-13T15:17:01Z youtube/gopher: use PATH_TRANSLATED, fallback to PATH_INFO Hiltjo Posthuma hiltjo@codemadness.org commit dfe9d705355efc8d67dfb40f015f503bc5a089bf parent b608dae128234bedd5ed09fe89c22c0dd5ef0b28 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 13 Jun 2025 17:17:01 +0200 youtube/gopher: use PATH_TRANSLATED, fallback to PATH_INFO This change is needed for the latest geomyidae which more strictly conforms to the CGI RFC. b608dae128234bedd5ed09fe89c22c0dd5ef0b28 2025-06-01T11:37:34Z 2025-06-01T11:37:34Z youtube: workaround, don't list topic/playlist items as channels Hiltjo Posthuma hiltjo@codemadness.org commit b608dae128234bedd5ed09fe89c22c0dd5ef0b28 parent 6242ec658d5610990c6b19944473fa7277493ac1 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 1 Jun 2025 13:37:34 +0200 youtube: workaround, don't list topic/playlist items as channels Listing channel videos based on this topic or playlist would serve different JSON which we don't handle, so it would serve an empty page. For now just reset the channelid if the channeltitle ends with " - Topic". Separate the function for checking the renderer name. This might make it easier to adapt to support playlists in the future. The JSON output for playlists/topics has a "shelfRenderer". 6242ec658d5610990c6b19944473fa7277493ac1 2024-10-14T22:29:19Z 2024-10-14T22:29:19Z youtube/cli: use ctype macros, add shortdescription in TSV, fix comment Hiltjo Posthuma hiltjo@codemadness.org commit 6242ec658d5610990c6b19944473fa7277493ac1 parent 86b28b384e968fd3eecbe0c33924d2489a067421 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Tue, 15 Oct 2024 00:29:19 +0200 youtube/cli: use ctype macros, add shortdescription in TSV, fix comment 86b28b384e968fd3eecbe0c33924d2489a067421 2024-10-14T22:28:38Z 2024-10-14T22:28:38Z youtube: remove some DEBUG comments Hiltjo Posthuma hiltjo@codemadness.org commit 86b28b384e968fd3eecbe0c33924d2489a067421 parent 68292dabe281a1a107cf65682df9ce0237759718 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Tue, 15 Oct 2024 00:28:38 +0200 youtube: remove some DEBUG comments 68292dabe281a1a107cf65682df9ce0237759718 2024-10-07T18:32:56Z 2024-10-07T18:32:56Z youtube: fix for when a video has no views Hiltjo Posthuma hiltjo@codemadness.org commit 68292dabe281a1a107cf65682df9ce0237759718 parent 0cff6e88783acaf162e35bad870aee41c6cc4f3e Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 7 Oct 2024 20:32:56 +0200 youtube: fix for when a video has no views Youtube then has the text "No views". This would be parsed and formatted to an empty string showing " views". Change it so if there is a parse error or empty it will just print "0 views". 0cff6e88783acaf162e35bad870aee41c6cc4f3e 2024-08-05T10:10:49Z 2024-08-05T10:10:49Z json.c: sync from json2tsv: fix: reset state for expecting key string in objects Hiltjo Posthuma hiltjo@codemadness.org commit 0cff6e88783acaf162e35bad870aee41c6cc4f3e parent a638b721aedc966ba6e9e9d5b2833d3d805c9ded Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 5 Aug 2024 12:10:49 +0200 json.c: sync from json2tsv: fix: reset state for expecting key string in objects https://git.codemadness.org/json2tsv/commit/f689b5a0a309659de177c06bed733a0411f6ab02.html a638b721aedc966ba6e9e9d5b2833d3d805c9ded 2024-06-30T08:21:14Z 2024-06-30T08:21:14Z bump LICENSE year Hiltjo Posthuma hiltjo@codemadness.org commit a638b721aedc966ba6e9e9d5b2833d3d805c9ded parent 112804392678394fc1d3df286a6e0e64398cb97c Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 30 Jun 2024 10:21:14 +0200 bump LICENSE year 112804392678394fc1d3df286a6e0e64398cb97c 2024-06-30T08:03:31Z 2024-06-30T08:03:31Z xml.c: improve parsing whitespace after end tag names Hiltjo Posthuma hiltjo@codemadness.org commit 112804392678394fc1d3df286a6e0e64398cb97c parent 1409d7e079aebdcb02c6ee48b661c0b61eb34efd Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 30 Jun 2024 10:03:31 +0200 xml.c: improve parsing whitespace after end tag names 1409d7e079aebdcb02c6ee48b661c0b61eb34efd 2023-08-30T19:26:25Z 2023-08-30T19:26:25Z youtube CSS: use dark mode browser UI when in dark mode Hiltjo Posthuma hiltjo@codemadness.org commit 1409d7e079aebdcb02c6ee48b661c0b61eb34efd parent e6b4a7a9a5af5d5b9c3387799751d696d7fa2222 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 30 Aug 2023 21:26:25 +0200 youtube CSS: use dark mode browser UI when in dark mode e6b4a7a9a5af5d5b9c3387799751d696d7fa2222 2023-07-02T11:40:02Z 2023-07-02T11:40:02Z youtube/feed: show usage for gopher too Hiltjo Posthuma hiltjo@codemadness.org commit e6b4a7a9a5af5d5b9c3387799751d696d7fa2222 parent 7f35bd62ab42c3e5da539b6faa1fef27ad331ed9 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 2 Jul 2023 13:40:02 +0200 youtube/feed: show usage for gopher too 7f35bd62ab42c3e5da539b6faa1fef27ad331ed9 2023-07-02T11:35:37Z 2023-07-02T11:35:37Z Makefile: youtube target should compile youtube/feed too Hiltjo Posthuma hiltjo@codemadness.org commit 7f35bd62ab42c3e5da539b6faa1fef27ad331ed9 parent b2bc3d1b44f371ed541504524d2acd0ebd3fa277 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 2 Jul 2023 13:35:37 +0200 Makefile: youtube target should compile youtube/feed too b2bc3d1b44f371ed541504524d2acd0ebd3fa277 2023-07-02T11:34:59Z 2023-07-02T11:34:59Z youtube/feed: check CGI envs sooner Hiltjo Posthuma hiltjo@codemadness.org commit b2bc3d1b44f371ed541504524d2acd0ebd3fa277 parent 6e9b44889cda7e7eafa338dc616286773b1b75ca Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 2 Jul 2023 13:34:59 +0200 youtube/feed: check CGI envs sooner This fixes the usage output if the path is invalid when using Gopher CGI. 6e9b44889cda7e7eafa338dc616286773b1b75ca 2023-06-08T22:39:39Z 2023-06-08T22:39:39Z youtube/cgi: don't show views if there are no view stats yet Hiltjo Posthuma hiltjo@codemadness.org commit 6e9b44889cda7e7eafa338dc616286773b1b75ca parent be809a17f1b8dc119d6bb2b1334fbb8c4a6fb283 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 9 Jun 2023 00:39:39 +0200 youtube/cgi: don't show views if there are no view stats yet This happens for livestreams etc. be809a17f1b8dc119d6bb2b1334fbb8c4a6fb283 2023-05-28T08:16:00Z 2023-05-28T08:16:00Z youtube/gopher: add 'h' type and "URL:" in single video view too Hiltjo Posthuma hiltjo@codemadness.org commit be809a17f1b8dc119d6bb2b1334fbb8c4a6fb283 parent 4f7c2ecc8388ca3536819df35133f85d865fb138 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 28 May 2023 10:16:00 +0200 youtube/gopher: add 'h' type and "URL:" in single video view too 4f7c2ecc8388ca3536819df35133f85d865fb138 2023-05-26T17:01:52Z 2023-05-26T17:04:19Z bump version to 0.8 Hiltjo Posthuma hiltjo@codemadness.org commit 4f7c2ecc8388ca3536819df35133f85d865fb138 parent 9c2e526b032e9f52c9f608c815b10c8d4f9c5385 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 26 May 2023 19:01:52 +0200 bump version to 0.8 9c2e526b032e9f52c9f608c815b10c8d4f9c5385 2023-05-26T17:03:40Z 2023-05-26T17:04:19Z whoops, rm binaries Hiltjo Posthuma hiltjo@codemadness.org commit 9c2e526b032e9f52c9f608c815b10c8d4f9c5385 parent 8457498e3c76da66b8aad9bd82d8b4018653b3fe Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 26 May 2023 19:03:40 +0200 whoops, rm binaries 8457498e3c76da66b8aad9bd82d8b4018653b3fe 2023-05-20T09:31:57Z 2023-05-20T09:31:57Z remove left-over comment from sfeed Hiltjo Posthuma hiltjo@codemadness.org commit 8457498e3c76da66b8aad9bd82d8b4018653b3fe parent 86e926018b56e1258049055aff09ce1673e14754 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 20 May 2023 11:31:57 +0200 remove left-over comment from sfeed 86e926018b56e1258049055aff09ce1673e14754 2023-05-18T13:31:17Z 2023-05-18T13:31:17Z youtube/feed: whoops add Content-Type text/html for HTML for HTTP CGI Hiltjo Posthuma hiltjo@codemadness.org commit 86e926018b56e1258049055aff09ce1673e14754 parent d22d896072715e337381959c0cca366b45810cb0 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 18 May 2023 15:31:17 +0200 youtube/feed: whoops add Content-Type text/html for HTML for HTTP CGI d22d896072715e337381959c0cca366b45810cb0 2023-05-18T13:28:32Z 2023-05-18T13:28:32Z youtube/feed: add simple HTML and gopher output format Hiltjo Posthuma hiltjo@codemadness.org commit d22d896072715e337381959c0cca366b45810cb0 parent 4715c8cfb1799ef4dfe14dea87efc8e4d7c3a60e Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 18 May 2023 15:28:32 +0200 youtube/feed: add simple HTML and gopher output format 4715c8cfb1799ef4dfe14dea87efc8e4d7c3a60e 2023-05-15T16:50:18Z 2023-05-15T16:50:18Z fix typo Hiltjo Posthuma hiltjo@codemadness.org commit 4715c8cfb1799ef4dfe14dea87efc8e4d7c3a60e parent d65b745eb5ca4d16f692a140ae1a8611fcd81da7 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 15 May 2023 18:50:18 +0200 fix typo d65b745eb5ca4d16f692a140ae1a8611fcd81da7 2023-05-14T22:00:34Z 2023-05-14T22:00:34Z fix reserved/underscore macro name Hiltjo Posthuma hiltjo@codemadness.org commit d65b745eb5ca4d16f692a140ae1a8611fcd81da7 parent 37f79862d47d5099b4b2ae936dc7af8966a4a9e2 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 15 May 2023 00:00:34 +0200 fix reserved/underscore macro name 37f79862d47d5099b4b2ae936dc7af8966a4a9e2 2023-05-14T10:15:38Z 2023-05-14T10:15:38Z improve usage message Hiltjo Posthuma hiltjo@codemadness.org commit 37f79862d47d5099b4b2ae936dc7af8966a4a9e2 parent ee630780f97caacdc83bbbf29c60be757394f017 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 14 May 2023 12:15:38 +0200 improve usage message ee630780f97caacdc83bbbf29c60be757394f017 2023-05-13T22:06:50Z 2023-05-13T22:06:50Z add gopher mode and twtxt output format Hiltjo Posthuma hiltjo@codemadness.org commit ee630780f97caacdc83bbbf29c60be757394f017 parent 5e29f7c0a3a955816bdc5e3b418726ec68d5e0b4 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 14 May 2023 00:06:50 +0200 add gopher mode and twtxt output format 5e29f7c0a3a955816bdc5e3b418726ec68d5e0b4 2023-05-10T17:11:58Z 2023-05-10T17:11:58Z merge and update README Hiltjo Posthuma hiltjo@codemadness.org commit 5e29f7c0a3a955816bdc5e3b418726ec68d5e0b4 parent c70b86a2b202dc627b327714e0eeeb355b21a0ac Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 10 May 2023 19:11:58 +0200 merge and update README c70b86a2b202dc627b327714e0eeeb355b21a0ac 2023-05-09T23:24:03Z 2023-05-09T23:24:23Z youtube/feed: include unistd.h for pledge on OpenBSD and compare .xml for Atom feed Hiltjo Posthuma hiltjo@codemadness.org commit c70b86a2b202dc627b327714e0eeeb355b21a0ac parent f5a6863b5397d1cc3ad31de291be11fae6256b5f Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 10 May 2023 01:24:03 +0200 youtube/feed: include unistd.h for pledge on OpenBSD and compare .xml for Atom feed f5a6863b5397d1cc3ad31de291be11fae6256b5f 2023-05-09T23:10:51Z 2023-05-09T23:10:51Z add initial version of youtube/feed Hiltjo Posthuma hiltjo@codemadness.org commit f5a6863b5397d1cc3ad31de291be11fae6256b5f parent 7b18c287f2fcf98227ff2ec1fdd4eeb8050e8166 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 10 May 2023 01:10:51 +0200 add initial version of youtube/feed This fetches the Youtube Atom feed and the channel videos and combines the data. It can output: - Atom - sfeed(5) - JSON / JSON Feed It can run in command-line and CGI mode. For now it only adds the video duration in the title and filters away Youtube shorts. The Atom parser is based on sfeed. 7b18c287f2fcf98227ff2ec1fdd4eeb8050e8166 2023-05-05T09:50:08Z 2023-05-05T09:50:08Z bump version to 0.7 Hiltjo Posthuma hiltjo@codemadness.org commit 7b18c287f2fcf98227ff2ec1fdd4eeb8050e8166 parent d76cca97c957bab0b2a8dca7554837831522a8b6 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 5 May 2023 11:50:08 +0200 bump version to 0.7 d76cca97c957bab0b2a8dca7554837831522a8b6 2023-05-05T09:37:43Z 2023-05-05T09:37:43Z youtube/cli: enable to sort via the command-line Hiltjo Posthuma hiltjo@codemadness.org commit d76cca97c957bab0b2a8dca7554837831522a8b6 parent 3079e32c8a2abdcb8b896e9fd32c0c0f6a407e59 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 5 May 2023 11:37:43 +0200 youtube/cli: enable to sort via the command-line Only works with keywords search. 3079e32c8a2abdcb8b896e9fd32c0c0f6a407e59 2023-04-28T10:16:35Z 2023-04-28T10:16:35Z archive some frontends and bump LICENSE year Hiltjo Posthuma hiltjo@codemadness.org commit 3079e32c8a2abdcb8b896e9fd32c0c0f6a407e59 parent 478a38c2ab8ebbeb700d2a677b2d525c1e4baaaf Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 28 Apr 2023 12:16:35 +0200 archive some frontends and bump LICENSE year 478a38c2ab8ebbeb700d2a677b2d525c1e4baaaf 2023-04-14T17:46:32Z 2023-04-14T17:46:32Z small fixes Hiltjo Posthuma hiltjo@codemadness.org commit 478a38c2ab8ebbeb700d2a677b2d525c1e4baaaf parent b0a8d5b6a5b42748eb87a17b45cd81ab0e9edee2 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 14 Apr 2023 19:46:32 +0200 small fixes b0a8d5b6a5b42748eb87a17b45cd81ab0e9edee2 2023-04-07T10:17:54Z 2023-04-07T10:17:54Z youtube/gopher: use the path relative to the base directory Hiltjo Posthuma hiltjo@codemadness.org commit b0a8d5b6a5b42748eb87a17b45cd81ab0e9edee2 parent 6abd1bf1ad4172b25c28cf9e03395e70cc7b657d Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 7 Apr 2023 12:17:54 +0200 youtube/gopher: use the path relative to the base directory Reported by moth, thanks! 6abd1bf1ad4172b25c28cf9e03395e70cc7b657d 2023-04-07T09:01:20Z 2023-04-07T09:01:20Z README: list status and lower expectations Hiltjo Posthuma hiltjo@codemadness.org commit 6abd1bf1ad4172b25c28cf9e03395e70cc7b657d parent 74c6d298f57f895cc82d55b5da2a5d710156cb27 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 7 Apr 2023 11:01:20 +0200 README: list status and lower expectations 74c6d298f57f895cc82d55b5da2a5d710156cb27 2023-04-04T16:51:43Z 2023-04-04T16:51:43Z sync json.{c,h} changes, add valuelen parameter Hiltjo Posthuma hiltjo@codemadness.org commit 74c6d298f57f895cc82d55b5da2a5d710156cb27 parent a9e2584bc6c2b314c4f1b6d6a5f4715161d64bc5 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Tue, 4 Apr 2023 18:51:43 +0200 sync json.{c,h} changes, add valuelen parameter a9e2584bc6c2b314c4f1b6d6a5f4715161d64bc5 2023-03-07T18:32:47Z 2023-03-07T18:32:47Z youtube: make util function from format printing thousand separated numbers Hiltjo Posthuma hiltjo@codemadness.org commit a9e2584bc6c2b314c4f1b6d6a5f4715161d64bc5 parent 634c895fbf8796d04bea2c0fef6615110c9ef951 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Tue, 7 Mar 2023 19:32:47 +0100 youtube: make util function from format printing thousand separated numbers In other programs print views this way too. 634c895fbf8796d04bea2c0fef6615110c9ef951 2023-03-07T18:27:21Z 2023-03-07T18:27:21Z youtube/gopher: add link to hq image thumbnail Hiltjo Posthuma hiltjo@codemadness.org commit 634c895fbf8796d04bea2c0fef6615110c9ef951 parent db05879864829ecfa84f66cedde69b549788d507 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Tue, 7 Mar 2023 19:27:21 +0100 youtube/gopher: add link to hq image thumbnail db05879864829ecfa84f66cedde69b549788d507 2023-03-07T18:27:07Z 2023-03-07T18:27:07Z youtube/gopher: escape some fields Hiltjo Posthuma hiltjo@codemadness.org commit db05879864829ecfa84f66cedde69b549788d507 parent 7385c0b104dea41686519ed734825da88ca2fb32 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Tue, 7 Mar 2023 19:27:07 +0100 youtube/gopher: escape some fields 7385c0b104dea41686519ed734825da88ca2fb32 2023-03-07T18:26:17Z 2023-03-07T18:26:17Z youtube/gopher: print views with thousand separator Hiltjo Posthuma hiltjo@codemadness.org commit 7385c0b104dea41686519ed734825da88ca2fb32 parent 4dcebc72f5a00e9b94a8e2338fb0127662933fa3 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Tue, 7 Mar 2023 19:26:17 +0100 youtube/gopher: print views with thousand separator 4dcebc72f5a00e9b94a8e2338fb0127662933fa3 2023-02-28T19:38:01Z 2023-02-28T19:38:01Z youtube/gopher: add simple soft line-wrapping Hiltjo Posthuma hiltjo@codemadness.org commit 4dcebc72f5a00e9b94a8e2338fb0127662933fa3 parent bf8c35a7535d6791e618edc08a055822cba4e304 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Tue, 28 Feb 2023 20:38:01 +0100 youtube/gopher: add simple soft line-wrapping Disable hard line-wrapping and keep it simple for now. bf8c35a7535d6791e618edc08a055822cba4e304 2023-02-26T15:26:24Z 2023-02-26T15:26:24Z youtube/gopher: fix search regression Hiltjo Posthuma hiltjo@codemadness.org commit bf8c35a7535d6791e618edc08a055822cba4e304 parent 6a0c8467e341a2770a9887494851305e1fb3de17 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 26 Feb 2023 16:26:24 +0100 youtube/gopher: fix search regression 6a0c8467e341a2770a9887494851305e1fb3de17 2023-02-26T15:12:13Z 2023-02-26T15:12:13Z youtube/gopher: fix field Hiltjo Posthuma hiltjo@codemadness.org commit 6a0c8467e341a2770a9887494851305e1fb3de17 parent f36e23aa3122441b905b465d3567af4a5788acfa Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 26 Feb 2023 16:12:13 +0100 youtube/gopher: fix field f36e23aa3122441b905b465d3567af4a5788acfa 2023-02-26T14:52:07Z 2023-02-26T14:52:07Z youtube/gopher: add video information details Hiltjo Posthuma hiltjo@codemadness.org commit f36e23aa3122441b905b465d3567af4a5788acfa parent f7f7290735a250cf03e1a9aa49c0d25b6b326756 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 26 Feb 2023 15:52:07 +0100 youtube/gopher: add video information details f7f7290735a250cf03e1a9aa49c0d25b6b326756 2023-02-26T13:11:34Z 2023-02-26T13:11:34Z youtube/cgi: spacing and improvements for dillo and text browsers Hiltjo Posthuma hiltjo@codemadness.org commit f7f7290735a250cf03e1a9aa49c0d25b6b326756 parent ea9a40e5f85023d9c8c608ef922ac2d5ca0ca78b Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 26 Feb 2023 14:11:34 +0100 youtube/cgi: spacing and improvements for dillo and text browsers ea9a40e5f85023d9c8c608ef922ac2d5ca0ca78b 2023-02-26T13:01:24Z 2023-02-26T13:01:24Z youtube/cgi: rm unused variable, fixes warning Hiltjo Posthuma hiltjo@codemadness.org commit ea9a40e5f85023d9c8c608ef922ac2d5ca0ca78b parent ad970d5ed90fca291bb8e2a1738977efd788bcfa Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 26 Feb 2023 14:01:24 +0100 youtube/cgi: rm unused variable, fixes warning ad970d5ed90fca291bb8e2a1738977efd788bcfa 2023-02-26T13:00:41Z 2023-02-26T13:00:41Z youtube: fix information for NSFW videos and add fields Hiltjo Posthuma hiltjo@codemadness.org commit ad970d5ed90fca291bb8e2a1738977efd788bcfa parent 4d8ef4606fcdb808af8b505fc84318f22fe1c552 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 26 Feb 2023 14:00:41 +0100 youtube: fix information for NSFW videos and add fields Also add category, isunlisted and isfamilysafe field. 4d8ef4606fcdb808af8b505fc84318f22fe1c552 2023-02-26T12:47:32Z 2023-02-26T12:47:32Z youtube/cgi: output improvements Hiltjo Posthuma hiltjo@codemadness.org commit 4d8ef4606fcdb808af8b505fc84318f22fe1c552 parent 2237f8c69f34d8f48a37e34d1462d327b9ddc40d Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 26 Feb 2023 13:47:32 +0100 youtube/cgi: output improvements 2237f8c69f34d8f48a37e34d1462d327b9ddc40d 2023-02-25T19:14:18Z 2023-02-25T19:14:18Z youtube/cgi: add page with basic video information Hiltjo Posthuma hiltjo@codemadness.org commit 2237f8c69f34d8f48a37e34d1462d327b9ddc40d parent d8464a0a1169fc7b1ff0cea3a907b879a7230b47 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 25 Feb 2023 20:14:18 +0100 youtube/cgi: add page with basic video information d8464a0a1169fc7b1ff0cea3a907b879a7230b47 2023-02-25T19:13:56Z 2023-02-25T19:13:56Z youtube: fix mistaku Hiltjo Posthuma hiltjo@codemadness.org commit d8464a0a1169fc7b1ff0cea3a907b879a7230b47 parent 59471286810c9ef14f294bba649dd75a78e74c6a Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 25 Feb 2023 20:13:56 +0100 youtube: fix mistaku 59471286810c9ef14f294bba649dd75a78e74c6a 2023-02-25T18:48:59Z 2023-02-25T18:48:59Z youtube: cleanup, shorten variable name for videos Hiltjo Posthuma hiltjo@codemadness.org commit 59471286810c9ef14f294bba649dd75a78e74c6a parent e0461c105d8e02725c05d0cafd896fc54fb8be30 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 25 Feb 2023 19:48:59 +0100 youtube: cleanup, shorten variable name for videos e0461c105d8e02725c05d0cafd896fc54fb8be30 2023-02-25T18:40:40Z 2023-02-25T18:40:40Z youtube: add shortdescription from search or channel/user listings Hiltjo Posthuma hiltjo@codemadness.org commit e0461c105d8e02725c05d0cafd896fc54fb8be30 parent d278df39b1e6a28ada817813ecb6a2ed96817b90 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 25 Feb 2023 19:40:40 +0100 youtube: add shortdescription from search or channel/user listings d278df39b1e6a28ada817813ecb6a2ed96817b90 2023-02-24T21:49:33Z 2023-02-24T21:49:33Z youtube: show cipher string for now Hiltjo Posthuma hiltjo@codemadness.org commit d278df39b1e6a28ada817813ecb6a2ed96817b90 parent 4eef4fb9b890ae71f554e996a3a7a542302e68f4 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 24 Feb 2023 22:49:33 +0100 youtube: show cipher string for now 4eef4fb9b890ae71f554e996a3a7a542302e68f4 2023-02-24T21:39:39Z 2023-02-24T21:39:39Z youtube: output improvements Hiltjo Posthuma hiltjo@codemadness.org commit 4eef4fb9b890ae71f554e996a3a7a542302e68f4 parent 11f745425e13385e5a69cf3f8cdceaa3027dad64 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 24 Feb 2023 22:39:39 +0100 youtube: output improvements - pre-parse numbers to long long. - show duration as a string %H:%M:%S. - show filesize in bytes and MB. - etc... 11f745425e13385e5a69cf3f8cdceaa3027dad64 2023-02-24T20:51:44Z 2023-02-24T20:51:44Z youtube: various improvements Hiltjo Posthuma hiltjo@codemadness.org commit 11f745425e13385e5a69cf3f8cdceaa3027dad64 parent 587b2d3d299bff29e6b941c22fe7aa526cbc9135 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 24 Feb 2023 21:51:44 +0100 youtube: various improvements - initial support for detailed information of a video, only for youtube/cli for now (-i option). - list video formats per video, similar to youtube-dl/yt-dlp. - various small fixes and improvements. 587b2d3d299bff29e6b941c22fe7aa526cbc9135 2023-02-24T16:25:38Z 2023-02-24T16:25:38Z json: do not print output on a JSON parse error Hiltjo Posthuma hiltjo@codemadness.org commit 587b2d3d299bff29e6b941c22fe7aa526cbc9135 parent 61d393efb87ceac4df82a714d1ecf13fcf1ee664 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 24 Feb 2023 17:25:38 +0100 json: do not print output on a JSON parse error 61d393efb87ceac4df82a714d1ecf13fcf1ee664 2023-02-22T19:52:14Z 2023-02-22T19:52:14Z youtube/gopher: spacing improvements Hiltjo Posthuma hiltjo@codemadness.org commit 61d393efb87ceac4df82a714d1ecf13fcf1ee664 parent a68fe63dda124f7ed0e7926bc53687e54d29a994 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 22 Feb 2023 20:52:14 +0100 youtube/gopher: spacing improvements a68fe63dda124f7ed0e7926bc53687e54d29a994 2023-02-22T19:48:53Z 2023-02-22T19:48:53Z youtube/gopher: small usability improvement Hiltjo Posthuma hiltjo@codemadness.org commit a68fe63dda124f7ed0e7926bc53687e54d29a994 parent 7e8328ea6b0d2e38a6e4c5628897578748f7376d Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 22 Feb 2023 20:48:53 +0100 youtube/gopher: small usability improvement 7e8328ea6b0d2e38a6e4c5628897578748f7376d 2023-02-22T19:05:16Z 2023-02-22T19:05:16Z youtube.h: remove unused field Hiltjo Posthuma hiltjo@codemadness.org commit 7e8328ea6b0d2e38a6e4c5628897578748f7376d parent fbbbe9242322569b01c1311a0fa634cd801521bb Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 22 Feb 2023 20:05:16 +0100 youtube.h: remove unused field fbbbe9242322569b01c1311a0fa634cd801521bb 2023-02-22T17:42:51Z 2023-02-22T17:42:51Z youtube/gopher: improve directory Hiltjo Posthuma hiltjo@codemadness.org commit fbbbe9242322569b01c1311a0fa634cd801521bb parent 8e7076cc4d88d621e1cab5d35c57a2a2d6e24b51 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 22 Feb 2023 18:42:51 +0100 youtube/gopher: improve directory - Add directory link of its own page, useful for when theres type 7 search. - Show the current search term and add a type 7 search field. - Fix listing the user videos by calling the proper function. - Don't exit(1) even on a Gopher error response. 8e7076cc4d88d621e1cab5d35c57a2a2d6e24b51 2023-02-22T17:23:27Z 2023-02-22T17:23:27Z youtube/gopher: initialize search to "" Hiltjo Posthuma hiltjo@codemadness.org commit 8e7076cc4d88d621e1cab5d35c57a2a2d6e24b51 parent 50bc403fd51f83912085837515187a006b4d2dab Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 22 Feb 2023 18:23:27 +0100 youtube/gopher: initialize search to "" 50bc403fd51f83912085837515187a006b4d2dab 2023-02-22T17:17:36Z 2023-02-22T17:17:36Z youtube: cgi and gopher: add user parameter Hiltjo Posthuma hiltjo@codemadness.org commit 50bc403fd51f83912085837515187a006b4d2dab parent eec1de3aa027fd3e75101a4829658c2af844fb25 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 22 Feb 2023 18:17:36 +0100 youtube: cgi and gopher: add user parameter Afaik this parameter is not used (much) anymore in the search listing though. eec1de3aa027fd3e75101a4829658c2af844fb25 2023-02-21T19:46:42Z 2023-02-21T19:46:42Z youtube/cli: add TSV option and -u option, remove channel2tsv Hiltjo Posthuma hiltjo@codemadness.org commit eec1de3aa027fd3e75101a4829658c2af844fb25 parent b407559e2ea372a5d16bd0b08c9088762fa9ce75 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Tue, 21 Feb 2023 20:46:42 +0100 youtube/cli: add TSV option and -u option, remove channel2tsv b407559e2ea372a5d16bd0b08c9088762fa9ce75 2023-02-21T19:31:42Z 2023-02-21T19:31:42Z youtube: some cleanups, add option to list user videos Hiltjo Posthuma hiltjo@codemadness.org commit b407559e2ea372a5d16bd0b08c9088762fa9ce75 parent 1752940aca51413222b22939b7c6ce5947960967 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Tue, 21 Feb 2023 20:31:42 +0100 youtube: some cleanups, add option to list user videos 1752940aca51413222b22939b7c6ce5947960967 2023-02-19T13:43:47Z 2023-02-19T13:43:47Z remove some unused variables and remove some pedantic compiler warnings Hiltjo Posthuma hiltjo@codemadness.org commit 1752940aca51413222b22939b7c6ce5947960967 parent 6623393565f6397c68240f8b77b8f05b87ad9f18 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 19 Feb 2023 14:43:47 +0100 remove some unused variables and remove some pedantic compiler warnings 6623393565f6397c68240f8b77b8f05b87ad9f18 2023-02-19T13:40:44Z 2023-02-19T13:40:44Z youtube/cli: add "-c channelid" option to list channel videos Hiltjo Posthuma hiltjo@codemadness.org commit 6623393565f6397c68240f8b77b8f05b87ad9f18 parent ea04b0e0744e1b41f06f4f85effc29ea48eef37c Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 19 Feb 2023 14:40:44 +0100 youtube/cli: add "-c channelid" option to list channel videos ea04b0e0744e1b41f06f4f85effc29ea48eef37c 2023-02-19T13:40:32Z 2023-02-19T13:40:32Z youtube/gopher: small cleanup Hiltjo Posthuma hiltjo@codemadness.org commit ea04b0e0744e1b41f06f4f85effc29ea48eef37c parent f3adbb9aabfccab9ab538881887867e1ffca5863 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 19 Feb 2023 14:40:32 +0100 youtube/gopher: small cleanup f3adbb9aabfccab9ab538881887867e1ffca5863 2023-02-18T12:10:19Z 2023-02-18T12:10:19Z youtube/gopher: list channel videos, allow to search by ?search Hiltjo Posthuma hiltjo@codemadness.org commit f3adbb9aabfccab9ab538881887867e1ffca5863 parent fa40d5e0863446d6083d7290249b65f738474a76 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 18 Feb 2023 13:10:19 +0100 youtube/gopher: list channel videos, allow to search by ?search Also allows linking to channel videos with ?c=channelid. fa40d5e0863446d6083d7290249b65f738474a76 2023-02-18T12:09:36Z 2023-02-18T12:09:36Z youtube: remove error string in output Hiltjo Posthuma hiltjo@codemadness.org commit fa40d5e0863446d6083d7290249b65f738474a76 parent 37b2d730f7010f8c852286715accd38ca7674b00 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 18 Feb 2023 13:09:36 +0100 youtube: remove error string in output 37b2d730f7010f8c852286715accd38ca7674b00 2023-02-18T10:33:52Z 2023-02-18T10:33:52Z youtube: remove (old) commented code Hiltjo Posthuma hiltjo@codemadness.org commit 37b2d730f7010f8c852286715accd38ca7674b00 parent f47b9452628b9a68e527b7872771b08ef47e38c4 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 18 Feb 2023 11:33:52 +0100 youtube: remove (old) commented code f47b9452628b9a68e527b7872771b08ef47e38c4 2023-02-18T10:32:41Z 2023-02-18T10:32:41Z youtube: when clicking a channel, show the latest videos Hiltjo Posthuma hiltjo@codemadness.org commit f47b9452628b9a68e527b7872771b08ef47e38c4 parent 2be30b4f834c64d4478e8cff231ee9b29601edc0 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 18 Feb 2023 11:32:41 +0100 youtube: when clicking a channel, show the latest videos 2be30b4f834c64d4478e8cff231ee9b29601edc0 2023-02-11T18:01:42Z 2023-02-11T18:01:42Z youtube: add channel2tsv output Hiltjo Posthuma hiltjo@codemadness.org commit 2be30b4f834c64d4478e8cff231ee9b29601edc0 parent 0ddeddd9e7acba6abe47ccaf8563b712cf96a037 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 11 Feb 2023 19:01:42 +0100 youtube: add channel2tsv output * Make the parser a bit less strict so it can also parse the channel page with videos. * Add a function that can fetch the channel videos by channel ID. * Add a tool that outputs channel videos to a TAB-separated format. 0ddeddd9e7acba6abe47ccaf8563b712cf96a037 2022-08-23T22:11:32Z 2022-08-23T22:11:32Z bump version to 0.6 Hiltjo Posthuma hiltjo@codemadness.org commit 0ddeddd9e7acba6abe47ccaf8563b712cf96a037 parent e8fb7f182b86a5d29310497d145f1dba48d3e7a2 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 24 Aug 2022 00:11:32 +0200 bump version to 0.6 e8fb7f182b86a5d29310497d145f1dba48d3e7a2 2022-03-29T22:02:27Z 2022-03-29T22:02:27Z use JSON_TYPE_* enum Hiltjo Posthuma hiltjo@codemadness.org commit e8fb7f182b86a5d29310497d145f1dba48d3e7a2 parent a5e2f07cb75a19578454e096f2c9f77cebc30084 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 30 Mar 2022 00:02:27 +0200 use JSON_TYPE_* enum a5e2f07cb75a19578454e096f2c9f77cebc30084 2022-03-29T22:01:52Z 2022-03-29T22:01:52Z sync json parser improvements from json2tsv repo Hiltjo Posthuma hiltjo@codemadness.org commit a5e2f07cb75a19578454e096f2c9f77cebc30084 parent f292d66dca2b0154b56fc8fa6935b947bfc74452 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 30 Mar 2022 00:01:52 +0200 sync json parser improvements from json2tsv repo f292d66dca2b0154b56fc8fa6935b947bfc74452 2022-03-29T09:02:56Z 2022-03-29T09:02:56Z xml.c: remove unused includes Hiltjo Posthuma hiltjo@codemadness.org commit f292d66dca2b0154b56fc8fa6935b947bfc74452 parent a38626bbb42f235b3d70635032f053db83322cfc Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Tue, 29 Mar 2022 11:02:56 +0200 xml.c: remove unused includes a38626bbb42f235b3d70635032f053db83322cfc 2022-03-29T09:02:05Z 2022-03-29T09:02:05Z sync C locale fixes from xmlparser repo Hiltjo Posthuma hiltjo@codemadness.org commit a38626bbb42f235b3d70635032f053db83322cfc parent 607821dd376f5aaabac189e902e4d372af6b8863 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Tue, 29 Mar 2022 11:02:05 +0200 sync C locale fixes from xmlparser repo 607821dd376f5aaabac189e902e4d372af6b8863 2022-03-19T10:33:02Z 2022-03-19T10:33:02Z CSS: dark mode: tweak colors Hiltjo Posthuma hiltjo@codemadness.org commit 607821dd376f5aaabac189e902e4d372af6b8863 parent a94eeabf90a0a793d8da134d8798d44eb8d7ba10 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 19 Mar 2022 11:33:02 +0100 CSS: dark mode: tweak colors a94eeabf90a0a793d8da134d8798d44eb8d7ba10 2021-09-21T16:00:03Z 2021-09-21T16:00:03Z youtube: fix sorting Hiltjo Posthuma hiltjo@codemadness.org commit a94eeabf90a0a793d8da134d8798d44eb8d7ba10 parent 1ed634d2500469ba288a12b6f0ae917a6b45734c Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Tue, 21 Sep 2021 18:00:03 +0200 youtube: fix sorting The old parameters are not supported anymore by Youtube for a while now. 1ed634d2500469ba288a12b6f0ae917a6b45734c 2021-07-06T08:15:50Z 2021-07-06T08:15:50Z youtube cgi: disable showing pagination Hiltjo Posthuma hiltjo@codemadness.org commit 1ed634d2500469ba288a12b6f0ae917a6b45734c parent f5ff0bca3e15337500f66278f8cdb03fe8242c3f Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Tue, 6 Jul 2021 10:15:50 +0200 youtube cgi: disable showing pagination Reminded by Paul W. Rankin, thanks! f5ff0bca3e15337500f66278f8cdb03fe8242c3f 2021-07-02T16:06:26Z 2021-07-02T16:06:26Z bump LICENSE year Hiltjo Posthuma hiltjo@codemadness.org commit f5ff0bca3e15337500f66278f8cdb03fe8242c3f parent 19e95a36d92608937aa5260be84dc8c295154a57 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 2 Jul 2021 18:06:26 +0200 bump LICENSE year 19e95a36d92608937aa5260be84dc8c295154a57 2021-05-25T08:32:28Z 2021-05-25T08:32:28Z bump version to 0.5 Hiltjo Posthuma hiltjo@codemadness.org commit 19e95a36d92608937aa5260be84dc8c295154a57 parent d5b4a57838bb4f2657d28ac31df682f90236e450 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Tue, 25 May 2021 10:32:28 +0200 bump version to 0.5 d5b4a57838bb4f2657d28ac31df682f90236e450 2021-05-15T16:54:28Z 2021-05-15T16:54:28Z youtube: increase the amount of videos shown by default Hiltjo Posthuma hiltjo@codemadness.org commit d5b4a57838bb4f2657d28ac31df682f90236e450 parent 66fe5f3bfe27884e3202800f4a583c27916ea57e Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 15 May 2021 18:54:28 +0200 youtube: increase the amount of videos shown by default There are more results returned (used to be about 25). Just show them up to 100. 66fe5f3bfe27884e3202800f4a583c27916ea57e 2021-01-28T18:50:51Z 2021-01-28T18:50:51Z smol typo Hiltjo Posthuma hiltjo@codemadness.org commit 66fe5f3bfe27884e3202800f4a583c27916ea57e parent 9b267a7fb5fc713932a218745a6e5a9ff27818ab Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 28 Jan 2021 19:50:51 +0100 smol typo 9b267a7fb5fc713932a218745a6e5a9ff27818ab 2021-01-22T21:51:45Z 2021-01-22T21:51:45Z xml.c: fix typo in checking surrogate range Hiltjo Posthuma hiltjo@codemadness.org commit 9b267a7fb5fc713932a218745a6e5a9ff27818ab parent 1241dd1ab43f65c6a6eaace18adac407da38f63b Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 22 Jan 2021 22:51:45 +0100 xml.c: fix typo in checking surrogate range 1241dd1ab43f65c6a6eaace18adac407da38f63b 2021-01-22T12:35:50Z 2021-01-22T12:35:50Z duckduckgo: just use int, not ssize_t Hiltjo Posthuma hiltjo@codemadness.org commit 1241dd1ab43f65c6a6eaace18adac407da38f63b parent 3bd1b33c5fd37216f8a721d9fac3148345365c0f Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 22 Jan 2021 13:35:50 +0100 duckduckgo: just use int, not ssize_t 3bd1b33c5fd37216f8a721d9fac3148345365c0f 2021-01-22T12:33:48Z 2021-01-22T12:33:48Z sync XML fixes Hiltjo Posthuma hiltjo@codemadness.org commit 3bd1b33c5fd37216f8a721d9fac3148345365c0f parent 3294b8cba72843f441445c1e6608e9d7477453db Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 22 Jan 2021 13:33:48 +0100 sync XML fixes 3294b8cba72843f441445c1e6608e9d7477453db 2021-01-21T23:26:07Z 2021-01-21T23:26:07Z json.c: fix utf-16 surrogate pair range Hiltjo Posthuma hiltjo@codemadness.org commit 3294b8cba72843f441445c1e6608e9d7477453db parent 635193bd5035605177859de58c31c8a69dc29c33 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 22 Jan 2021 00:26:07 +0100 json.c: fix utf-16 surrogate pair range Synced fix from: https://git.codemadness.org/json2tsv/commit/b65bd5139faec35430d342dbce6c3b4bf802f4a8.html 635193bd5035605177859de58c31c8a69dc29c33 2020-11-24T00:33:26Z 2020-11-24T00:33:26Z bump version to 0.4 Hiltjo Posthuma hiltjo@codemadness.org commit 635193bd5035605177859de58c31c8a69dc29c33 parent 77eaa55b8a328b064063e8edb8096bab32754141 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Tue, 24 Nov 2020 01:33:26 +0100 bump version to 0.4 77eaa55b8a328b064063e8edb8096bab32754141 2020-11-24T00:03:36Z 2020-11-24T00:03:36Z youtube: fix JSON extraction due to random layout change Hiltjo Posthuma hiltjo@codemadness.org commit 77eaa55b8a328b064063e8edb8096bab32754141 parent 7a1838d494e6bcfef16149a4423022d38356b0bc Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Tue, 24 Nov 2020 01:03:36 +0100 youtube: fix JSON extraction due to random layout change 7a1838d494e6bcfef16149a4423022d38356b0bc 2020-10-25T12:34:44Z 2020-10-25T12:34:44Z duckduckgo: fix parsing due to HTML change Hiltjo Posthuma hiltjo@codemadness.org commit 7a1838d494e6bcfef16149a4423022d38356b0bc parent 07a5a89d2c8b3dab2fc85ff616e98d34b0edcd21 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 25 Oct 2020 13:34:44 +0100 duckduckgo: fix parsing due to HTML change instead of looking at the prefix uddg= search for the needle, because the prefix was changed to "//duckduckgo.com/l/?uddg=". 07a5a89d2c8b3dab2fc85ff616e98d34b0edcd21 2020-10-25T12:21:19Z 2020-10-25T12:21:19Z duckduckgo: gopher: fix pledge and unveil Hiltjo Posthuma hiltjo@codemadness.org commit 07a5a89d2c8b3dab2fc85ff616e98d34b0edcd21 parent 750369d997d681680d0a6dfc115ef6314fa18bfa Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 25 Oct 2020 13:21:19 +0100 duckduckgo: gopher: fix pledge and unveil Add support for gophernicus env variable. 750369d997d681680d0a6dfc115ef6314fa18bfa 2020-10-17T16:44:25Z 2020-10-17T16:44:25Z bump version to 0.3 Hiltjo Posthuma hiltjo@codemadness.org commit 750369d997d681680d0a6dfc115ef6314fa18bfa parent 416869b0c0f2efa0f43c93a59c6d9a89c01d9aec Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 17 Oct 2020 18:44:25 +0200 bump version to 0.3 416869b0c0f2efa0f43c93a59c6d9a89c01d9aec 2020-10-17T16:38:35Z 2020-10-17T16:38:35Z youtube: fix JSON extraction Hiltjo Posthuma hiltjo@codemadness.org commit 416869b0c0f2efa0f43c93a59c6d9a89c01d9aec parent 5dbcb6f3c9ab9a48446054e954147b652fb26407 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 17 Oct 2020 18:38:35 +0200 youtube: fix JSON extraction Youtube does not always serve the same content. This was a recent Youtube change to intentionally break scrapers again. 5dbcb6f3c9ab9a48446054e954147b652fb26407 2020-10-06T15:07:39Z 2020-10-06T15:24:40Z youtube/README: use stricter location criterion in httpd.conf example Anders Damsgaard anders@adamsgaard.dk commit 5dbcb6f3c9ab9a48446054e954147b652fb26407 parent e0eb56d566e98aa2c886de31b9df6c7e6636b00a Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Tue, 6 Oct 2020 17:07:39 +0200 youtube/README: use stricter location criterion in httpd.conf example The "match" keyword enables shell globbing rules (httpd.conf(5)), which results in undesirable behavior when serving a file unrelated to the CGI that has a name beginning with <path>, which could for example be "idiotbox.css". Note that the stricter rule still matches correctly if the URL contains a query string. e0eb56d566e98aa2c886de31b9df6c7e6636b00a 2020-09-03T15:05:02Z 2020-09-03T15:05:02Z duckduckgo: fix an abort "rpath" on OpenBSD Hiltjo Posthuma hiltjo@codemadness.org commit e0eb56d566e98aa2c886de31b9df6c7e6636b00a parent bb2aaedc735f352dc4f90f427f22b94bd906d917 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 3 Sep 2020 17:05:02 +0200 duckduckgo: fix an abort "rpath" on OpenBSD bb2aaedc735f352dc4f90f427f22b94bd906d917 2020-09-03T15:04:31Z 2020-09-03T15:04:31Z duckduckgo: change domain name, else it forces a redirect Hiltjo Posthuma hiltjo@codemadness.org commit bb2aaedc735f352dc4f90f427f22b94bd906d917 parent 83a3da131d8785d4ce10b796ca8db7dff2ec23a6 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 3 Sep 2020 17:04:31 +0200 duckduckgo: change domain name, else it forces a redirect 83a3da131d8785d4ce10b796ca8db7dff2ec23a6 2020-09-03T10:01:10Z 2020-09-03T10:01:10Z bump version to 0.2 Hiltjo Posthuma hiltjo@codemadness.org commit 83a3da131d8785d4ce10b796ca8db7dff2ec23a6 parent a9b8d9a25d11ec18fdee7fa98ad93db35325672a Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 3 Sep 2020 12:01:10 +0200 bump version to 0.2