返回类型结构说明
# E-hentai
# E-hentai 主类说明
EHentai(**requests_kwargs) # 其他网络参数
⚠注意
E-Hentai
与 ExHentai
不支持单色图片的搜索,例如 黑白漫画
只推荐用于搜索 CG、画集、彩本、图集等
# Cookies 获取
登录您的 E-Hentai
(opens new window) 或 ExHentai
(opens new window)
召唤出您的 控制台
(按下 F12
)
输入 document.cookie
获取到 cookies
格式为 "igneous=xxx; ipb_member_id=xxx; ipb_pass_hash=xxx; sk=xxx"
这一整串就是需要的 cookies
,直接复制使用即可
其中 ipb_member_id
与 ipb_pass_hash
是必须项
# 数据返回值列表
提示
数据结构也可以查阅 源代码
- name: 源代码
desc: 🚀强的人直接看这个
link: https://github.com/kitUIN/PicImageSearch/blob/main/PicImageSearch/model/ehentai.py
bgColor: '#DFEEE7'
textColor: '#2A3344'
情境
以 Demo
中的代码为例子
变量 | 内容 | 类型 |
---|---|---|
resp.origin | 原始返回值 | PyQuery |
resp.title | 标题 | str |
resp.url | 地址 | str |
resp.thumbnail | 缩略图 | str |
resp.type | 分类 | str |
resp.date | 日期 | str |
resp.tags | 标签 | List[str] |
Edit this page on GitHub (opens new window)
上次更新: 2024/07/27, 01:25:05