Commit Graph

253 Commits

Author SHA1 Message Date
gg1234 2eccd4a454 Align views column to the right 2024-04-23 07:55:36 -07:00
gg1234 d29801585a Add a `views` column to the schedule display 2024-04-23 02:17:18 -07:00
gg 4fe3e10656 Merge pull request 'Mention yt-dlp in README and start recording view counts' (#10) from pta/WeatherNews.jl:main into main
Reviewed-on: #10
2024-04-23 02:51:25 +00:00
pta 2d1c05baa4 Start recording view counts in schedule table 2024-04-19 18:21:28 -04:00
pta d352ebbc17 Document yt-dlp dependency and update docstring 2024-04-18 18:24:31 -04:00
gg b4fbc705ed Merge pull request 'Get video ids from youtube with yt-dlp' (#8) from pta/WeatherNews.jl:yt-dlp into main
Reviewed-on: #8
2024-04-17 23:18:48 +00:00
pta 63b1f54515 Get video ids from youtube with yt-dlp
For two reasons:
1. Youtube is the primary source.
   Apparently staff manually copies the video id youtube gives them,
   since they sometimes forget to update their json. With this commit,
   I'm practically implementing the automation they should have
   implemented themselves.
2. Make links available ahead of time for convenience.
   Currently on our site, links aren't available until the moment the
   program starts. So in practice, I have to open youtube to copy the
   next stream's url for playing in mpv, lest I miss the first several
   seconds of the show. (I know staff puts the next stream's link in
   chat, but since it's manual, occasionally they forget, and the url is
   usually in "/live/" rather than "/watch?v=" format: the latter makes
   clearer screenshot filenames, imo.

yt-dlp becomes a required dependency. The same information could be
sourced with Julia code to scrape an invidious instance, but that would
incur more code to produce the same array of per-video dictionaries,
which could be desireable later as exercise in Julia.
2024-04-17 13:37:00 -04:00
gg1234 82ff0f95f3 Ignore au PAY when figuring out caster's last appearance 2024-04-16 18:09:57 -07:00
gg1234 60ef78df99 Align columns 2024-04-16 16:59:36 -07:00
gg1234 0e1cd80098 More au PAY updates 2024-04-16 16:59:27 -07:00
gg1234 b4ae9e0e50 Add link to post that started the conversation about gaps 2024-04-13 08:09:44 -07:00
gg1234 5ba57b2fad Add many queries for finding gaps between appearances 2024-04-13 08:05:04 -07:00
gg1234 0ba825e945 Add video_id for Senna's next au PAY show 2024-04-11 09:28:37 -07:00
gg1234 092db136d0 Add 2024-04 schedule for au PAY 2024-03-29 13:50:42 -07:00
gg1234 c601e39c41 Bump LIVE_SEARCH_LIMIT to 22 2024-03-15 03:10:21 -07:00
gg1234 745daf3da0 Add a query for finding most recent appearance by caster 2024-03-13 08:25:52 -07:00
gg1234 96038bef34 Add more au PAY shows for 2024-03 2024-03-11 15:54:24 -07:00
gg1234 34ad772719 Add au PAY shows for 2024-03 2024-03-06 05:39:55 -08:00
gg1234 82923a49b4 Add video_id for Mi-chan's upcoming au PAY show 2024-02-24 21:10:55 -08:00
gg1234 e613e5486f Fix a bunch of video_ids
JSON-STAFF-SAN!!!
2024-02-20 21:57:18 -08:00
gg1234 7e22d20bb9 Add video_id for Rinon's upcoming au PAY show on 2/19 2024-02-14 15:54:28 -08:00
gg1234 a5e29317c9 Add video_ids for upcoming au PAY shows 2024-02-07 14:40:33 -08:00
gg1234 82d7345a06 Add au PAY shows for 2024-02 2024-01-30 23:59:16 -08:00
gg1234 8dafb9ce1b Add video_ids for Yui and Mizuki's upcoming au PAY streams 2024-01-20 14:39:23 -08:00
gg1234 d82ea8bf79 Add a query for finding days casters had to cover for eachother 2024-01-11 16:04:11 -08:00
gg1234 905d66aefb Add video_ids for upcoming au PAY streams 2024-01-10 03:44:42 -08:00
gg1234 397b9de8bf Add au PAY shows for 2024-01 2024-01-04 05:37:12 -08:00
gg1234 1c1d9a9552 See if julia-repl syntax works in README 2023-12-29 07:52:51 -08:00
gg1234 8eea6012ed Add year end au PAY shows 2023-12-21 17:42:19 -08:00
gg1234 52e2cbcf00 Add au PAY show for Senna 2023-12-20 04:52:27 -08:00
gg1234 3bf068d148 Remove unused domains; stick to vern 2023-12-18 18:08:46 -08:00
gg1234 de66681973 Merge branch 'main' of ssh://vern.cc:1813/gg/WeatherNews.jl 2023-12-06 01:33:03 -08:00
gg1234 0a299d9d0e Add upcoming au PAY for Ayaka 2023-12-06 01:31:39 -08:00
gg1234 28f05627b6 Fill in some missing schedule data 2023-11-30 23:00:07 -08:00
gg 9ebf3c7b9c Update links 2023-11-28 00:07:26 +00:00
gg1234 da278c985d Fix stale data 2023-11-17 03:46:20 -08:00
gg1234 f7766b8a6e Add video_ids for upcoming au PAY shows 2023-11-17 03:25:50 -08:00
gg1234 73a7df1fb2 Add upcoming au PAY shows 2023-11-11 16:31:50 -08:00
gg1234 c48483a53f Fix typo in link 2023-11-07 16:44:38 -08:00
gg1234 75992f3735 Perform various manual db updates
- Insert schedule for Saya and Rinon's au PAY shows
- Update schedule for missing video_id due to daylight savings bug

I'm not sure how to fix the daylight savings bug,
but it only happens twice a year, so maybe I won't fix it.
2023-11-06 13:48:11 -08:00
gg1234 c9485bc3b8 Update Links section 2023-10-27 21:23:12 -07:00
gg1234 e7e8e9e086 Add video_id for Mizuki's au PAY show 2023-10-27 18:57:27 -07:00
gg1234 61be33c9a5 Add video_ids for au PAY shows 2023-10-22 16:40:50 -07:00
gg1234 9d6d177a18 Add au PAY schedule updates 2023-10-13 11:25:46 -07:00
gg1234 e366c5f8c3 Add upcoming au PAY shows for 2023-10 2023-10-04 23:25:57 -07:00
gg1234 dfdbf16b05 Add exploration into joining mscale and schedule more accurately 2023-10-04 22:43:19 -07:00
gg1234 4e32bdc7af Get path to Utils.pm more reliably 2023-10-03 05:54:27 -07:00
gg1234 e307e03891 Add a link to the spreadsheet from @smile_hakumai 2023-09-26 05:44:17 -07:00
gg1234 2a7634188c Port sql_fn from Perl to Julia
This is a convenience function that I
started using in Perl in 2022.
I wish I was using this style in 1998.
It removes noise from DB code.
2023-09-26 03:54:55 -07:00
gg1234 bf9d33da53 Add an LSP hack 2023-09-24 21:09:15 -07:00