Comments (22)
迷惑的点就在这里,问题又回到原点了、、、、我再查查防火墙,最近刚重装电脑
生草,查了一遍,没有使用系统代理,defender也没抽风,vpn更是没开,网络端口也没被占用
from jmcomic-crawler-python.
其实不是bug,是有意为之,根本原因是禁漫APP的本子详情接口不返回更新日期、发布日期这些字段,但是网页有返回。
所以当使用JmApiClient时,只能对这些字段赋特殊值,来兼容实体类,对应代码位于:
JMComic-Crawler-Python/src/jmcomic/jm_toolkit.py
Lines 679 to 682 in fc2f2a9
from jmcomic-crawler-python.
你可以换成网页端Client试试,配置下option的client.impl = 'html'即可
示例代码:
from jmcomic import *
op = create_option_by_env()
cl = op.new_jm_client(impl='html')
album = cl.get_album_detail(123)
print(album.pub_date)
print(album.update_date)
打印信息
2024-01-13 16:57:00:【html】https://18comic.vip/album/123
2018-03-12
2022-12-05
from jmcomic-crawler-python.
有点无奈的是html不知为何会请求失败,但浏览器打开可以访问,并且f12看也没有重定向
from jmcomic-crawler-python.
有点无奈的是html不知为何会请求失败,但浏览器打开可以访问,并且f12看也没有重定向
option有和浏览器配置一样的代理吗?
from jmcomic-crawler-python.
浏览器未配置任何代理、、、
from jmcomic-crawler-python.
看下你的option配置?敏感信息记得删除掉
from jmcomic-crawler-python.
仅此而已,醉了
download:
image:
suffix: .jpg
threading:
image: 32
photo: 16
dir_rule:
base_dir: E:/JMAlbum/
rule: Bd_Aid_Pindex
plugins:
after_init:
- plugin: login
kwargs:
username: ***
password: ***
from jmcomic-crawler-python.
发现官方文档有误:https://jmcomic.readthedocs.io/en/stable/option_file_syntax/
经测试如果opt不定义impl则不止选择html,也会使用api
from jmcomic-crawler-python.
看你option也没有配置代理,这样的话,默认jmcomic会使用系统代理,浏览器也是默认遵循系统代理,按理说是一样的。
你浏览器访问的域名和jmcomic访问的域名一样吗?
from jmcomic-crawler-python.
发现官方文档有误:https://jmcomic.readthedocs.io/en/stable/option_file_syntax/ 经测试如果opt不定义impl则不止选择html,也会使用api
你是对的,默认的Client类型取决于 JmModuleConfig.DEFAULT_CLIENT_IMPL,最近我改成了api,文档还没有更新
from jmcomic-crawler-python.
是一致的,但http一直报错Failed to perform, ErrCode: 35, Reason: 'BoringSSL SSL_connect: Connection was reset in connection to 18comic-cn.vip:443 '. This may be a libcurl error, See https://curl.se/libcurl/c/libcurl-errors.html first for more details.
另外发现网站:https://jcomic-cn.vip
from jmcomic-crawler-python.
是一致的,但http一直报错Failed to perform, ErrCode: 35, Reason: 'BoringSSL SSL_connect: Connection was reset in connection to 18comic-cn.vip:443 '. This may be a libcurl error, See https://curl.se/libcurl/c/libcurl-errors.html first for more details. 另外发现网站:https://jcomic-cn.vip
Connection was reset 说明被墙了,你使用的网络访问不了18comic-cn.vip。
那但按理说,你用浏览器访问18comic-cn.vip,也会得到Connection was reset呀?
from jmcomic-crawler-python.
迷惑的点就在这里,问题又回到原点了、、、、我再查查防火墙,最近刚重装电脑
from jmcomic-crawler-python.
换别的域名试试?比如
client:
impl: html
domain:
html: 18comic-cool.art
from jmcomic-crawler-python.
换别的域名试试?比如
client: impl: html domain: html: 18comic-cool.art
同样的问题,看来解决不是很简单了,我先凑合用api吧
from jmcomic-crawler-python.
换别的域名试试?比如
client: impl: html domain: html: 18comic-cool.art同样的问题,看来解决不是很简单了,我先凑合用api吧
发现一件神奇的事,我能直连访问18comic.vip
from jmcomic-crawler-python.
换别的域名试试?比如
client: impl: html domain: html: 18comic-cool.art同样的问题,看来解决不是很简单了,我先凑合用api吧
发现一件神奇的事,我能直连访问18comic.vip
啊??
from jmcomic-crawler-python.
国内不挂代理能访问?惊了,你哪个地区的,方便透露吗 😮访问https://ipinfo.io/ 看看
from jmcomic-crawler-python.
给的地址不是我的所在地,偏了几百公里到江苏了哈哈哈
from jmcomic-crawler-python.
换别的域名试试?比如
client: impl: html domain: html: 18comic-cool.art同样的问题,看来解决不是很简单了,我先凑合用api吧
发现一件神奇的事,我能直连访问18comic.vip
用jmcomic能访问18comic.vip吗
from jmcomic-crawler-python.
换别的域名试试?比如
client: impl: html domain: html: 18comic-cool.art同样的问题,看来解决不是很简单了,我先凑合用api吧
发现一件神奇的事,我能直连访问18comic.vip
用jmcomic能访问18comic.vip吗
时好时坏
from jmcomic-crawler-python.
Related Issues (20)
- 在'趣味用法:测试你的ip可以访问哪些禁漫域名'中出现NameError: name 'AdvancedDict' is not defined HOT 2
- 按照album压缩 异常 HOT 2
- impersonate chrome is not supported HOT 3
- 希望能添加一个download_album_for_pdf函数直接下载pdf文件 HOT 2
- 发现个章节下载的小问题 HOT 1
- 手动调整Action下载包结构 下载完成的本子.zip/书名.zip
- 请问出现了如下状况怎么办啊 HOT 2
- 版本更新问题 HOT 1
- 有证书验证要怎么通过 HOT 1
- 下載多話的漫畫資料夾名稱問題 HOT 2
- 到最后一步下载不了,想请教下大佬 HOT 1
- 最新GitHub Actions 无法下载文件 HOT 7
- 功能需求:过滤重复图片 HOT 6
- 怎么使用jmcomic的搜索api HOT 8
- 你就是人类在漫漫黑夜中的一点星光
- 收藏夹爬取不全 HOT 2
- 下载过滤器使用不了 HOT 1
- 对于多章节漫画只能下载第一章 HOT 8
- 按照作者名搜索,搜索失败 HOT 1
- fork過來的項目可以隱藏嗎 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jmcomic-crawler-python.