如何查询章节的本子号 #257
如何查询章节的本子号
#257
-
我想问问如何查看一个含有多个章节的本子的各个章节的本子号,移动端似乎无法看到具体章节的本子号,这导致我无法只对某个章节进行下载。我查看了提供的jmcomic网站的api部分,小白有点不太看得懂qwq,是否有相应的函数或者option插件以及用法呢 |
Beta Was this translation helpful? Give feedback.
Answered by
hect0x7
Jul 27, 2024
Replies: 2 comments 4 replies
-
可以参考:https://jmcomic.readthedocs.io/zh-cn/latest/tutorial/0_common_usage/#_3 你要的应该是photo_id吧,比如 18comic.vip/photo/333,这个章节(photo)的id就是333,333就是你要的章节的本子号 # 1. 先获取章节所在的本子
album = client.get_album_detail(666)
# 2. 获取本子的第一章节
photo = album[0]
# 3. 获取章节的id
pid = photo.id |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
hect0x7
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
可以参考:https://jmcomic.readthedocs.io/zh-cn/latest/tutorial/0_common_usage/#_3
你要的应该是photo_id吧,比如 18comic.vip/photo/333,这个章节(photo)的id就是333,333就是你要的章节的本子号