abcfy2 / getcomic Goto Github PK
View Code? Open in Web Editor NEWDownload tencent comic-下载腾讯漫画
Home Page: http://my.oschina.net/abcfy2/blog/294668
Download tencent comic-下载腾讯漫画
Home Page: http://my.oschina.net/abcfy2/blog/294668
Traceback (most recent call last):
File "getComic-gui.py", line 195, in run
imgList = getComic.getImgList(self.contentList[i]['url'])
File "C:\Users\lenovo\Downloads\getComic-master\getComic-master\getComic.py", line 100, in getImgList
nonce = re.findall(r'data-mpmvr="(.+?)"', chapter_page)[0]
IndexError: list index out of range
下载了getComic-1.6.zip
然后呢?
RT,有些漫画是收费漫画,我倒是有个付费帐号,现在想用这个帐号下载付费章节该怎么做?
It gets empty picJsonPage, thus json.loads(picJsonPage) raises exception.
大佬,nonce的值始终没看懂怎么得出的,请指教
Is it possible to have a command-line switch for a http proxy? I've hard-coded it, but it's ugly, and Python isn't my preferred language.
proxy = '120.52.72.24:80'
proxies = { 'http' : 'http://'+proxy }
requestSession.proxies.update(proxies)
I am trying to download this comic:
http://m.ac.qq.com/chapter/index/id/533952/cid/19
But it seems that the directory structure of ac.qq.com has changed maybe?
漫画名: 精灵囚笼
简介: 反乌托邦题材奇幻故事。未来世界,精灵**着人类。男主越旸与精灵菲丽艾的相遇,将逐渐揭开周遭隐秘的真相和黑暗……
章节数: 77
章节列表:
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52 圣诞特别篇
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
正在下载第0001话: 01
Traceback (most recent call last):
File "./getComic.py", line 299, in <module>
main(url, path, lst, one_folder)
File "./getComic.py", line 256, in main
imgList = getImgList(contentList[i - 1], id)
File "./getComic.py", line 98, in getImgList
picJson = json.loads(picJsonPage)
File "/usr/lib/python3.4/json/__init__.py", line 318, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.4/json/decoder.py", line 343, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.4/json/decoder.py", line 361, in raw_decode
raise ValueError(errmsg("Expecting value", s, err.value)) from None
ValueError: Expecting value: line 1 column 1 (char 0)
最近想补一下银魂,然而番外并没有下到(分析中也没有)
虽然番外只有几话
get error:
Traceback (most recent call last):
File "getComic.py", line 320, in
main(url, path, lst, one_folder)
File "getComic.py", line 278, in main
imgList = getImgList(contentList[i - 1], id)
File "getComic.py", line 90, in getImgList
base64data = re.findall(r"data:\s*'(.+?)'", cid_page)[0][1:]
any comic where more 99 chapters.
之前一直都能使用,最近突然不行了,不知道您有没有时间去修复修复呢?我用了你项目原理作为我的项目的接口,现在突然使用不了,希望您能抽空修复下~谢谢咯,另外下面是我项目的地址,采用的是您的接口,也欢迎和我联系。
可以模拟登录吗?爬 VIP 的动画
下载总是失败(重试)——失败(重试):
http://ac.qq.com/Comic/comicInfo/id/634670
不能用了。。!!!https://www.aier.cc/
腾讯漫画有两种清晰度:
1、电脑的网页版,1100宽的分辨率
2、手机的网页版或APP端,800宽的分辨率
以前都能下载1100宽的高清图,前几天程序失效,我换了新版getComic试验了下,发现画质下降了,下载的图片由1100宽的高清图变成了800宽的一般画质了……
必须要全部抓取,感觉不实用
目前哔哩漫画大部分付费漫画只能在app看,网页版只有免费的
https://manga.bilibili.com/m
这是网页版抓到的链接
https://i0.hdslb.com/bfs/manga/[email protected]?token=73441250b03e3f16%3ARX%2B0zPRSs0bbUPpVY83%2Blg%2FDFrM%3D%3A1551373874
@900w.jpg是降低画质的参数,去掉后可以下到高清原图的jpg
https://i0.hdslb.com/bfs/manga/d4c9560bd56cd6a635ef0ff89bf8ba481cb00252.jpg?token=73441250b03e3f16%3ARX%2B0zPRSs0bbUPpVY83%2Blg%2FDFrM%3D%3A1551373874
这是app抓到的链接
https://i0.hdslb.com/bfs/manga/db87755efe339599c7de7fa93d2230088daa1838.jpg@1600w_2393h_0e_55q.webp?token=73441250b03e3f16%3Ay%2FdrZgW5GrM1qL8uh7z7N%2Faep1A%3D%3A1551156263
@1600w_2393h_0e_55q.webp是转jpg为webp的参数,显然webp画质不如原图jpg,去掉后可以下到高清原图的jpg
https://i0.hdslb.com/bfs/manga/db87755efe339599c7de7fa93d2230088daa1838.jpg?token=73441250b03e3f16%3Ay%2FdrZgW5GrM1qL8uh7z7N%2Faep1A%3D%3A1551156263
除了原图链接外,关键还有token参数,没这个就没法下载,降低画质的参数可以直接删掉
目前来看,哔哩漫画集成了好几家版权漫画,而且画质(去掉参数后的原图版)比集成的那几家都高(或者至少一样清晰),算是继承了哔哩动画当年的传统(过去哔哩动画在线也是几大版权方里最清晰的)
请问大大能否写个哔哩漫画的脚本?
首先感谢作者,通过手动update cookies成功抓取vip分卷
出问题的页面是这个:
File "D:\Libs\getComic\getComic.py", line 219, in __download_one_img
with open(imgPath, 'wb') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'D:/MCon/Download\美食
的俘虏\第0212话-第212话 选手入场!! \017.jpg'
实际文件目录为第0212话-第212话 选手入场!!
估计是章节名在双!!后增加了一个空格,然后在Windows 默认建立文件夹参数下最后空格会被吞掉。
之前还疑似出现过分卷卷名创建文件夹时出现windows 不合法字符无法创建文件夹的问题。
感谢分享,现在是无法下载付费章节吗?
RT.
When trying to download 小倩投食计划, it pulled 34 chapters.... but every picture was the cover photo.
./getComic.py -u http://ac.qq.com/Comic/comicInfo/id/540361
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.