Bili Sync (Beili Sync Tool)
bili-sync is a beile-sync tool written specifically for NAS users and driven by Rust & Tokio.
##Usage Instructions 1. It is normal to use a pop-up window with error messages for the first time. Use the Lazy Cat Developer Tool or right-click the application to view the log, get the auth_token printed in the log, open the application, switch to the settings page, enter auth_token, and click Authentication 2. To obtain the identity credentials of your Bilibili account, you need to fill in the SESSDATA, bili_jct, buvid3, dedeuserid and ac_time_value values of your Bilibili account under the "Bilibili Authentication" tab on the application settings page 3. SESSDATA, bili_jct, buvid3, and deuserid can be found in the cookies of Site B. You can refer to the operations in the document to obtain it: nemo2011.github.io/bilibili-api/#/get-credential 4. ac_time_value can be obtained by opening the console on the browser site B page, F12, entering window.localStorage.ac_time_value in the Console and executing it. 5. Save the configuration after filling in 6. To subscribe to favorites, the local path must be written as absolute path. In this application, you can use the following path/bilibili/<your customized favorite name>, which corresponds to the bilibili folder in the data directory of the lazy cat application For more details, please refer to the document: bili-sync.allwens.work/quick-start ##Features and Roadmap Authenticate using user-filled credentials and automatically refresh if necessary Support the download of favorites and video lists/video collections Automatically select the best video and audio streams within the user settings and merge them using FFmpeg after the download is complete Use Tokio and Reqwest to perform asynchronous and concurrent downloads of videos and video paging Use file naming supported by the media server to facilitate one-click import as a media library Failure to download the current round will be retried in the next round. If the number of failures is too high, it will be automatically discarded Use a database to store media information and avoid multiple requests for the same video Print the log, automatically terminate when the request occurs, and wait for the next round of execution Provides binary executables for multiple platforms, providing ready-to-use Docker images for the Linux platform Support automatic scanning and downloading of videos in "Watch Later" Support automatic scanning and downloading of UP main submitted videos Supports limiting the parallelism of tasks and interface request frequency Supports block parallel downloading of single files Support using Web UI configuration to view and manage videos and video sources












