1
3
Fork 0
Commit Graph

34 Commits

Author SHA1 Message Date
Solderpunk ef9b4c87f6 Update README.md to point at new Sourcehut repo 2024-03-13 19:08:56 +00:00
Solderpunk aa0e215b5a Sort individual feed items before enforcing max_posts_per_feed. 2023-05-13 18:17:22 +02:00
Solderpunk c54bdbad55 Absolutise relative redirect URLs. 2023-05-13 18:15:26 +02:00
Solderpunk 47498a0d72 Actually handle gemsub headers with tabs. 2023-05-01 13:23:09 +02:00
Solderpunk bd93b5a7af Handle gemsub headers with a tab after the # as well as a space. 2023-05-01 11:10:46 +02:00
Solderpunk 9097c404cd Remove duplicate items. 2023-04-12 19:47:35 +02:00
Solderpunk 571ffc19c7 Update feed file to reflect permanent redirects. 2023-04-12 08:45:36 +02:00
Solderpunk b53dc1c48d Fix timestamp conversion. 2023-04-12 08:31:37 +02:00
Solderpunk efe066c35f Add command line option to limit maximum number of posts per feed. 2023-03-15 19:38:53 +01:00
Solderpunk ea3c685cc0 Gracefully ignore links with a description. 2023-03-15 19:24:12 +01:00
Solderpunk 9dc91ca23e Add command line options to specify maximum age of included posts and maximum number of posts. 2023-03-09 19:14:38 +01:00
Solderpunk d258463bec Absolutise relative URLs in gemsub pages. 2023-03-06 18:09:27 +01:00
Solderpunk e00d357424 Switch Gemini client library from gusmobile to Agunua, follow redirects. 2023-03-05 19:00:31 +01:00
Solderpunk 040d71df09 Add support for subscribable gemtext pages. 2023-03-05 18:11:26 +01:00
Solderpunk 099021ea38 Don't choke on entries without timestamps. 2020-09-20 12:21:09 +02:00
Solderpunk 57dfe1ef2d Increase coverage of per-feed try/except block, so a bad feed doesn't bring down the whole process. 2020-09-20 12:17:44 +02:00
Solderpunk 657ab795e8 Use published timestamp instead of updated timestamp, where it exists. 2020-07-28 19:43:01 +02:00
Solderpunk b8ed0cc585 Remove debugging print. 2020-07-20 22:14:24 +02:00
Solderpunk a06037f7c1 Check all links for an entry to find a gemini:// URL. 2020-07-20 22:11:35 +02:00
Solderpunk 2c2f003e60 Make capcom.py executable. 2020-05-25 13:07:59 +02:00
Solderpunk 7ec215a0ac Correctly report number of feeds. 2020-05-25 13:06:20 +02:00
Solderpunk 29639ab4f5 Don't crash when a feed can't be fetched. 2020-05-24 21:22:33 +02:00
Solderpunk 8cedd80b34 Wait at least 5 seconds between consecutive requests to the same host. 2020-03-20 22:49:49 +01:00
Solderpunk f91af090fb Add command line options for feed URL file and output file. 2020-03-20 21:41:10 +01:00
Solderpunk ca4a48da7d Change main() into a stub which passes default values to an function, in preparation for adding argparse options. 2020-03-19 20:44:42 +01:00
Solderpunk f4dc3e9203 Switch to sensible date formatting. 2020-03-18 22:38:08 +01:00
Solderpunk 19c629cc10 Add support for headers and footers. 2020-03-18 22:30:41 +01:00
Solderpunk d1602a5dc8 Work around gusmobile's need for explicit port numbers. 2020-03-18 21:57:04 +01:00
Solderpunk 1dcefc9a48 Add hashbang line. 2020-03-18 18:43:41 +01:00
Solderpunk d185d61af8 Write output to a file, not stdout. 2020-03-18 18:41:22 +01:00
Solderpunk b73e989bce Load feed URLs from a file instead of hardcoding them. 2020-03-18 18:37:14 +01:00
Solderpunk 236d8a9cd0 Factor things out into functions. 2020-03-18 18:32:00 +01:00
Solderpunk d578fdfc99 Initial proof of concept. 2020-03-18 18:20:49 +01:00
solderpunk a4c28cc967 Initial commit 2020-03-18 07:24:37 -04:00