amd794 / kanleying Goto Github PK
View Code? Open in Web Editor NEW最新版以上传新增支持漫画台,看漫画等所有付费章节下载,腾讯动漫的章节下载。平台进度同步更新,在线网站限时开放, app不限时。
Home Page: https://comic.cmdragon.cn
License: Apache License 2.0
最新版以上传新增支持漫画台,看漫画等所有付费章节下载,腾讯动漫的章节下载。平台进度同步更新,在线网站限时开放, app不限时。
Home Page: https://comic.cmdragon.cn
License: Apache License 2.0
文件不存在
漫画地址:https://ac.qq.com/ qq
该漫画共51章节
:char:[] index:[]
Traceback (most recent call last):
File "C:\Users\win10\AppData\Local\Programs\Python\Python39\lib\threading.py", line 892, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\win10\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 1479, in _readerthread
buffer.append(fh.read())
UnicodeDecodeError: 'gbk' codec can't decode byte 0xba in position 58: illegal multibyte sequence
python-BaseException
Exception in thread Thread-6:
Traceback (most recent call last):
File "C:\Users\win10\AppData\Local\Programs\Python\Python39\lib\threading.py", line 954, in _bootstrap_inner
self.run()
File "C:\Users\win10\AppData\Local\Programs\Python\Python39\lib\threading.py", line 892, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\win10\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 1479, in _readerthread
buffer.append(fh.read())
UnicodeDecodeError: 'gbk' codec can't decode byte 0xba in position 58: illegal multibyte sequence
Traceback (most recent call last):
File "C:\Users\win10\AppData\Local\JetBrains\Toolbox\apps\PyCharm-P\ch-0\211.7142.13\plugins\python\helpers\pydev\pydevd.py", line 1483, in _exec
pydev_imports.execfile(file, globals, locals) # execute the script
File "C:\Users\win10\AppData\Local\JetBrains\Toolbox\apps\PyCharm-P\ch-0\211.7142.13\plugins\python\helpers\pydev_pydev_imps_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "D:/Project/tencent_ac-master/kanleying-master/kanleying.py", line 429, in
main()
File "D:/Project/tencent_ac-master/kanleying-master/kanleying.py", line 425, in main
run(detail_dicts.pop(), chapters)
File "D:/Project/tencent_ac-master/kanleying-master/kanleying.py", line 364, in run
images_dict = Comic.get_images_url(detail_dict)
File "D:/Project/tencent_ac-master/kanleying-master/kanleying.py", line 263, in get_images_url
images_url = eval(data.get(Comic.current_host_key, '[]'))
File "", line 1, in
File "D:\Project\tencent_ac-master\kanleying-master\site\ac_qq_com.py", line 25, in _ac_qq
data = ctx.call('getArr', T, N)
File "D:\Project\tencent_ac-master\kanleying-master\venv\lib\site-packages\execjs_abstract_runtime_context.py", line 37, in call
return self._call(name, *args)
File "D:\Project\tencent_ac-master\kanleying-master\venv\lib\site-packages\execjs_external_runtime.py", line 92, in _call
return self.eval("{identifier}.apply(this, {args})".format(identifier=identifier, args=args))
File "D:\Project\tencent_ac-master\kanleying-master\venv\lib\site-packages\execjs_external_runtime.py", line 78, in eval
return self.exec(code)
File "D:\Project\tencent_ac-master\kanleying-master\venv\lib\site-packages\execjs_abstract_runtime_context.py", line 18, in exec
return self.exec(source)
File "D:\Project\tencent_ac-master\kanleying-master\venv\lib\site-packages\execjs_external_runtime.py", line 88, in exec
return self._extract_result(output)
File "D:\Project\tencent_ac-master\kanleying-master\venv\lib\site-packages\execjs_external_runtime.py", line 156, in _extract_result
output = output.replace("\r\n", "\n").replace("\r", "\n")
AttributeError: 'NoneType' object has no attribute 'replace'
直接把仓库clone下来后运行kanleying.py提示以下错误
D:\develop\python3.7\python.exe D:/Code/Git-Project-Learn/kanleying-master/kanleying.py
文件不存在
漫画地址:https://www.kanman.com/107682/
https://www.kanman.com/ kanman
Traceback (most recent call last):
File "D:/Code/Git-Project-Learn/kanleying-master/kanleying.py", line 417, in
main()
File "D:/Code/Git-Project-Learn/kanleying-master/kanleying.py", line 374, in main
detail_dicts = Comic.get_detail_dicts(url, host_url, host_key)
File "D:/Code/Git-Project-Learn/kanleying-master/kanleying.py", line 131, in get_detail_dicts
from kanman_com import Kanman
ModuleNotFoundError: No module named 'kanman_com'
请问是不是项目缺少了kanman_com.py文件,我该如何解决?
需要會員才能觀看的VIP章節,不登陸沒辦法用腳本下載。
有需要輸入cookie的地方嗎?
git clone 后, 要下载漫画, 可以拿到集数,可是回车后就有error了。
F:\Comic\kanleying>python kanleying.py
漫画地址:https://www.cocomanhua.com/12202/
https://www.cocomanhua.com/ cocomanhua
该漫画共887章节
:
char:[] index:[]
Traceback (most recent call last):
File "F:\Comic\kanleying\kanleying.py", line 417, in
main()
File "F:\Comic\kanleying\kanleying.py", line 413, in main
run(detail_dicts.pop())
File "F:\Comic\kanleying\kanleying.py", line 380, in run
images_dict = Comic.get_images_url(detail_dict)
File "F:\Comic\kanleying\kanleying.py", line 263, in get_images_url
images_url = eval(data.get(Comic.current_host_key, '[]'))
File "", line 1, in
File "F:\Comic\kanleying\site\cocomanhua_com.py", line 21, in _cocomanhua
images_url = ctx.eval(f'getArr("{data}")')
File "C:\Python39\lib\site-packages\execjs_abstract_runtime_context.py", line 27, in eval
return self.eval(source)
File "C:\Python39\lib\site-packages\execjs_external_runtime.py", line 78, in eval
return self.exec(code)
File "C:\Python39\lib\site-packages\execjs_abstract_runtime_context.py", line 18, in exec
return self.exec(source)
File "C:\Python39\lib\site-packages\execjs_external_runtime.py", line 87, in exec
output = self._exec_with_pipe(source)
File "C:\Python39\lib\site-packages\execjs_external_runtime.py", line 99, in _exec_with_pipe
p = Popen(cmd, stdin=PIPE, stdout=PIPE, stderr=PIPE, cwd=self._cwd, universal_newlines=True)
File "C:\Python39\lib\subprocess.py", line 947, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Python39\lib\subprocess.py", line 1416, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
NotADirectoryError: [WinError 267] The directory name is invalid
嗨皮漫画输入网址后直接连接超时3次退出。这个网站是用不了了吗?
您好, 我已经可以拿到每张图片的url 问题是现在去获取图片资源的时候一直403 目前没有思路了 比如这张图片 https://img.cocomanhua.com/comic/20533/M0R0dGFVRnJCUzBBTW9OQ05xdGNFMnFmV2xxLzh5VXpFczVHZmF2dnJ0VjhqbDl6MjZ4MHIzNU9HaEhNdVpYLw==/0006.jpg 怎么获取到这张图片资源呢 望回复 在这里感谢了
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.