1
0
Fork 0
Commit Graph

36 Commits (master)

Author SHA1 Message Date
voussoir 6d2a03289a Add git.voussoir.net mirror. 2023-09-11 21:17:47 -07:00
voussoir 09da1bbb30
Use sqlite3.Row row factory. 2022-08-13 13:04:07 -07:00
voussoir 29aeeb0614
Update use of sqlhelpers.insert_filler. 2022-08-13 13:03:37 -07:00
voussoir 6647d3bdab
Delay init of db until an argparse runs, use a common cursor. 2022-03-27 15:39:55 -07:00
voussoir 769240dbb8
Let threads default to 1 instead of None. 2022-03-27 15:36:34 -07:00
voussoir 3da13fd0d6
Use new betterhelp. 2022-02-12 19:53:50 -08:00
voussoir 6cbc95e449
Remove donate.md. 2021-11-10 23:42:50 -08:00
voussoir 41a774fe8c
Add html_render command. 2021-11-08 11:43:13 -08:00
voussoir 884a3a7a6c
Add select_child_items, select_poll_options. 2021-11-07 19:46:46 -08:00
voussoir 659a53cc60
Let version be an x.y.z string. 2021-11-07 19:34:03 -08:00
voussoir 45a9d2eefa
Use voussoirkit/httperrors to smooth out this function. 2021-10-18 18:23:43 -07:00
voussoir 64a299c479
Remove time counting of http get. 2021-10-18 17:41:14 -07:00
voussoir 455f95d904
Use mutable NOTIFY_EVERY_LINE. 2021-10-15 23:03:50 -07:00
voussoir dc0ea1959c
Return 1 when ending by ctrlc. 2021-10-15 23:03:24 -07:00
voussoir d11a72e163
Fix exit codes for each argparse function. 2021-08-23 22:25:43 -07:00
voussoir e48dd807e4
Use DOCSTRING instead of __doc__. 2021-08-22 20:59:08 -07:00
voussoir 3f2b9d0787
Clarify default values of --lower, --upper. 2021-08-21 14:33:18 -07:00
voussoir 9a64e5edd9
Add operatornotify to hnarchive. 2021-06-21 23:07:16 -07:00
voussoir 9793f47bb3
Migrate scripts to main_level_by_argv. 2021-05-16 21:02:48 -07:00
voussoir bf20c17234
Update CONTACT.md with link to voussoir.net. 2021-04-04 17:11:19 -07:00
voussoir 4f0fc6671f
Use vlogging's main_fallback name feature. 2021-01-28 16:51:50 -08:00
voussoir 622f47c94d Use __name__ for getlogger. 2021-01-14 02:54:16 -08:00
voussoir 958fd5e7b3 Update license, contact, donate for many projects. 2021-01-14 02:54:12 -08:00
voussoir cdc4c986ce Add Mirrors header. 2020-12-23 19:54:59 -08:00
voussoir e4b110f261 Add codeberg to mirror list. 2020-12-22 20:19:30 -08:00
voussoir b16c096dfb Move session to top of file. 2020-11-11 21:31:33 -08:00
voussoir c0a59059f5 Go ahead and bail if no ids to update. 2020-11-09 11:07:34 -08:00
voussoir 8a2e72b5cf Use requests.Session. 2020-11-09 08:34:11 +01:00
voussoir 1c3fa864e9 Add decorator ctrlc_commit to take care of this try-except. 2020-11-06 23:29:54 -08:00
voussoir 955e1e3e0a Add note about update_items overwriting properties. 2020-11-06 23:08:08 -08:00
voussoir 1a889a62ef Add readme. 2020-11-05 13:33:33 -08:00
voussoir 02ce43bdfe Use voussoirkit.vlogging to take care of LOUD and setLevel. 2020-11-02 23:19:24 -08:00
voussoir 9817b4b3b4 Fix livestream getting stuck on deleted posts. 2020-10-30 18:42:23 -07:00
voussoir 8e5f50323d Add 2s timeout to get requests.
The hn api usually returns in less than 0.25 seconds, but occasionally
I'm getting huge latency spikes. A quick timeout and retry solves that
for me.

If you are using this tool with a very high baseline ping, 2s may be
too aggressive.
2020-10-27 22:28:42 -07:00
voussoir e0862f9e44 Order by id instead of time because timestamps may be nonmonotonic.
Probably a result of moderator actions, I found that items with a lower
id could have a higher timestamp, enough to offset it by 2,000 ids.
2020-10-27 22:27:10 -07:00
voussoir eff67f845d Initial commit. 2020-10-25 19:42:48 -07:00