Code Monkey home page Code Monkey logo

getcomic's People

Contributors

abcfy2 avatar feilongfl avatar shitlime avatar xluer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

getcomic's Issues

出现以下问题怎么解

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
然后呢?

Proxy support?

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)

Can no longer download from ac.qq.com...

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)

Error if chapters more 99

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.

已经失效了哦。。

之前一直都能使用,最近突然不行了,不知道您有没有时间去修复修复呢?我用了你项目原理作为我的项目的接口,现在突然使用不了,希望您能抽空修复下~谢谢咯,另外下面是我项目的地址,采用的是您的接口,也欢迎和我联系。

https://github.com/zhhr1122/z_comic_new

请教

可以模拟登录吗?爬 VIP 的动画

改版后画质下降了!

腾讯漫画有两种清晰度:
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参数,没这个就没法下载,降低画质的参数可以直接删掉

目前来看,哔哩漫画集成了好几家版权漫画,而且画质(去掉参数后的原图版)比集成的那几家都高(或者至少一样清晰),算是继承了哔哩动画当年的传统(过去哔哩动画在线也是几大版权方里最清晰的)
请问大大能否写个哔哩漫画的脚本?

Bug Report:关于章节目录和下载中的字符处理问题

首先感谢作者,通过手动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 不合法字符无法创建文件夹的问题。

疑问

image

嗨 遇到个问题,这是报什么错误? 我没用过python,我的电脑事mac。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.