📌✨ For more pinned-gist projects like this one, check out: https://github.com/matchai/awesome-pinned-gists
-
Create a public GitHub Gist. (https://gist.github.com/)
-
Create a has
gist
permissions token then copy it. (https://github.com/settings/tokens/new) -
Follow the documents to get
SESSDATA
's key then copy it.(https://nemo2011.github.io/bilibili-api/#/get-credential)
-
Fork this repository.
-
Edit the env in file
.github/workflows/main.yml
. -
Go to Settings > Secrets.
-
Click New repository secret and add the repository secrets below :
- GH_TOKEN: GitHub token
- BILI_SESSDATA: SESSDATA
-
Go to Actions > Update gist then click
enable workflows
.
-
Clone this repository.
-
Install the requirements by the command below.
pip install -r requirements.txt
-
Copy
.env.example
file,and rename to.env
,then edit it. -
Run the gist.py by the command below.
py gist.py
-
Use bilibili-api-python to get some details on bilibili.
-
Use Github Actions to Auto update the Gist.
Used MIT License
on this repository.
The MIT License (MIT)
Copyright (c) 2024 luyanci
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
OR OTHER DEALINGS IN THE SOFTWARE.