{"id":24722075,"url":"https://github.com/futo-org/grayjay-plugin-bilibili","last_synced_at":"2025-03-22T12:48:15.842Z","repository":{"id":271944764,"uuid":"905900727","full_name":"futo-org/grayjay-plugin-bilibili","owner":"futo-org","description":"Grayjay Bilibili Plugin Mirror","archived":false,"fork":false,"pushed_at":"2025-02-14T00:54:46.000Z","size":704,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-14T01:38:47.495Z","etag":null,"topics":["bilibili","futo","grayjay"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/futo-org.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-19T18:45:58.000Z","updated_at":"2025-02-14T00:54:50.000Z","dependencies_parsed_at":"2025-01-10T23:20:31.389Z","dependency_job_id":"e821d4ad-afb5-4757-b6dc-76a0dd738fb8","html_url":"https://github.com/futo-org/grayjay-plugin-bilibili","commit_stats":null,"previous_names":["futo-org/grayjay-plugin-bilibili"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/futo-org%2Fgrayjay-plugin-bilibili","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/futo-org%2Fgrayjay-plugin-bilibili/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/futo-org%2Fgrayjay-plugin-bilibili/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/futo-org%2Fgrayjay-plugin-bilibili/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/futo-org","download_url":"https://codeload.github.com/futo-org/grayjay-plugin-bilibili/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244959447,"owners_count":20538626,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bilibili","futo","grayjay"],"created_at":"2025-01-27T12:16:21.614Z","updated_at":"2025-03-22T12:48:15.816Z","avatar_url":"https://github.com/futo-org.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BiliBili\n\n## What does logging in get you?\n\n- Subtitles\n- Greater than 480p quality\n- Premium content\n- View and save private playlists\n- View and save subscriptions list\n- Prevents some rate limiting/captcha scenarios\n\n## Development\n\n1. `npm run npm-dev` or `bun run bun-dev`\n2. load `BiliBiliConfig.json` into Grayjay\n\n## TO-DO\n\n- [ ] Figure out captcha verification for space posts and space videos or at least proper rate\n  limiting error messages The captcha only shows up for posts. for videos there is just a login\n  prompt that shows up whenever taking an action However once the posts captcha is done the login\n  prompts stop Clear site data and go to `https://space.bilibili.com/\u003cspace id\u003e/dynamic` and scroll\n  down until the captcha shows up\n- [ ] Write tests for regex matching and testing code\n- [ ] Write tests for the all of the request functions to continually verify that they are\n  retrieving expected data\n    - bangumi with free and premium content \u003chttps://www.bilibili.com/bangumi/play/ss43366\u003e\n    - course with free and premium content \u003chttps://www.bilibili.com/cheese/play/ss410\u003e\n    - creator premium video \u003chttps://www.bilibili.com/video/BV12z421y7Lw\u003e\n- [ ] Write tests for all the utility functions\n- [ ] Review TODOs in the code\n- [ ] Review the hardcoded costants\n- [ ] We might need to create id prefixes there are a lot of number ids and the different types\n  probably overlap I don't quite understand the usefulness of the ids though\n- [ ] Add in function and property documentation\n- [ ] Add playback tracker so that the homepage reflects and adapts to what you watch\n- [ ] Add a logging option that will log the urls, headers, and results of all network requests\n- [ ] Implement live chat websocket protocol\n- [ ] Fix the local caching to use saveState\n- [ ] Reduce the lines of code somehow\n- [ ] Show a locked content object for inaccesible premium content\n- [ ] Investigate and handle other url types (mobile video links?)\n- [ ] Handle correctly formatted links that don't actually point to any content\n- [ ] there is additional content on the home page that we can consider loading in the future\n- [ ] consider switching from like rating to 0-10 scale rating for bangumi\n- [ ] playlist search should be redone but there needs to be better support for playlist search in Grayjay\n- [ ] this is a sort of playlist that we might consider adding support for \u003chttps://www.bilibili.com/blackboard/era/YyCI1Zsg5iUjelX2.html\u003e\n- [ ] consider switching from using JSON apis to HTML with regex. this could improve performance\n  because the latency of the html is less than the json\n- [ ] remove bad post search results that are simply duplicates to video search results\n- [ ] bangumi should have a creator page per show based off \u003chttps://www.bilibili.com/bangumi/media/md28339940\u003e\n- [ ] implement monitization/merch features\n- [x] (should be fixed now) there is an issue where space_request doesn't work right. it might be ip\n  address allow list related. like watching a video seems like it might make things work in the\n  future\n- [ ] update to use the new playlist api to get channel playlists\n- [ ] \u003chttps://github.com/futo-org/grayjay-android/issues/1273\u003e\n\n## Pending Fixed Grayjay Bugs\n\n## Grayjay Bugs\n\n- [ ] HLS for live streaming is a little wonky in the UI\n- [ ] Something glitchy with the posts tab on the subscriptions page\n- [ ] Opening direct links to posts doesn't work\n- [ ] When making a live PlatformVideoDetails the video option needs to be a blank\n  VideoSourceDescriptor which is kinda weird\n- [ ] the getSubtitles call is wrapped in an exception swalling thing so when i was hitting a non\n  allow listed domain it was just silently failing\n- [ ] Support for playlists, posts, movies, shows, and custom playlist types as search feed type\n- [ ] The removal of elements from the getlivechatwindow doesn't work likely because it runs before\n  the elements have been created\n- [ ] Searching from the subscriptions page doesn't searchyour subscriptions it searches everything\n- [ ] Ordering options and filters can not be specified on a per feed type basis\n- [ ] Issues with passing search feed type to search api calls\n    - when searching from the main home page search type in the search function call is always null\n      regardless of what is set in getsearchcapabilities\n    - when searching channel contents from a channel page search type in the searchChannelContents\n      function call is always null regardless of what is set in getsearchchannelcontentscapabilities\n    - getchannelcapabilities and getchannelcontents don't ask for LIVE or POSTS types\n- [ ] the first time when trying to open a channel link the app will say the link isn't supported\n- [ ] non utf characters don't get saved to the filename when exporting. this is really bad for\n  simplified chinese characters\n- [ ] when playling a playlist the UnavailableException doesn't display and the playlist simply\n  skips the video\n- [ ] removing a downloaded playlist doesn't remove the downloads (essentially a storage leak)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuto-org%2Fgrayjay-plugin-bilibili","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffuto-org%2Fgrayjay-plugin-bilibili","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuto-org%2Fgrayjay-plugin-bilibili/lists"}