BUPT Library Record Backup
用于导出个人北邮图书馆图书借阅记录。跨平台,但仅支持 Python 3。
需要输入使用学工号和密码登录北邮统一身份认证后的 Cookie中的 JSESSIONID,然后程序会自动导出全部的图书借阅记录并保存到文件,将会生成 3 个文件,包含原始数据的 json 格式文件,借阅过的图书列表,借阅日志(包含借阅,续借和还书三种操作)
如何获取 JSESSIONID
-
登录北邮统一身份认证 如网址 my.bupt.edu.cn
-
按 F12 打开开发者工具
-
在 FireFox 浏览器点击存储(Store)选项卡,Chrome 或 Edge 浏览器点击应用选项卡,再点击展开 Cookie
-
查看Cookie中 JSESSIONID 的值
Firefox:
Edge / Chrome:
安装
直接使用 pip 安装
pip install buptlibrecord
使用
登录 buptlibrecord JSESSIONID
在 python 中调用
import buptlibrecord
book_info_list, totalPage, total_count = buptlibrecord.get_all_record_list(JSESSIONID)
Metadata
Release files for buptlibrecord 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| buptlibrecord-0.0.1.tar.gz | 4.6 kB | Without provenance | Details for buptlibrecord-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| buptlibrecord-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for buptlibrecord-0.0.1-py3-none-any.whl |
Total release size: 9.2 kB
Release files / buptlibrecord-0.0.1.tar.gz
| Download URL | buptlibrecord-0.0.1.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
77ab361f8df5f8c974acd48f488a022058a882079bd86ca258dfcfcd3e2cdfb4
|
|
BLAKE2b-256 checksum How to use checksums |
a2574b663e2ddebaff0a15334d02be82819231c97fbdb0c8b1daee5536faff21
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1
|
Release files / buptlibrecord-0.0.1-py3-none-any.whl
| Download URL | buptlibrecord-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0c3a67d1072d5b872573933a537e62258c1b81eb77c107dcebeb0cd41f546ec1
|
|
BLAKE2b-256 checksum How to use checksums |
b1ae7d16dd5d20ecdeee8746d8a50b6072dc73cad64d4e2b19b79ea08f4a8dfa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1
|
Security for buptlibrecord 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.