Export BUPT Library Records.
Project description
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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
buptlibrecord-0.0.1.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for buptlibrecord-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c3a67d1072d5b872573933a537e62258c1b81eb77c107dcebeb0cd41f546ec1 |
|
MD5 | c877c828f568779b89fd68fb66fa7208 |
|
BLAKE2b-256 | b1ae7d16dd5d20ecdeee8746d8a50b6072dc73cad64d4e2b19b79ea08f4a8dfa |