A simple example script that selects a bilibili video at random* and watches it. It requires a cookie from the bilibili website, so after you fork this script, change the cookie accordingly. Maybe turn it into a library next?
0
rebelpotato
watch_bilibili_video
Script
// watch a bilibili video for a random time less than its duration
0
rebelpotato
get_random_bilibili_video
Script
An interactive, runnable TypeScript val by rebelpotato
0
rebelpotato
bilibili_methods
Script
Methods for accessing the bilibili api with a cookie.