神代綺凛

[Pxder] Pixiv 插画下载器
可按根据指定画师 UID 解析并下载插画(包括动图)、一键下载所有你关注的画师的插画或收藏的插画、智能增量更新下载...
扫描右侧二维码阅读全文
24
2018/08

[Pxder] Pixiv 插画下载器

可按根据指定画师 UID 解析并下载插画(包括动图)、一键下载所有你关注的画师的插画或收藏的插画、智能增量更新下载过的画师的插画。

多线程下载,并且支持使用 HTTP 与 SOCKS 代理。

Head Pic: 「五河琴里」/「秋原ノゾミ Sheila」のイラスト [pixiv]

Pxder

由于 Pixiv 已不再支持客户端的登录 API,请更新到 v2.12.0 及以后的版本以使用新的登录方式

运行示例

此项目基于 Node.js,姑且算自己学习的副产物(实际上是不务正业的产物

最大的缺点是没有 GUI,纯命令行操作,不过也并不难用(信我)

安装及使用等说明请直接看 Github 项目文档

注意

因P站域名遭到 GFW 的 SNI 阻断,这意味着只要你在大陆内,即便你改了 Hosts 也无法直接使用 pxder,请记得使用pxder --setting设置代理或启用直连模式

从现在开始所有在评论中询问因未挂代理而产生的问题都将会被无视

搬瓦工VPS优惠套餐,建站稳如狗,支持支付宝,循环出账94折优惠码BWH3HYATVBJW
年付$47CN2线路,1核/1G内存/20G硬盘/1T@1Gbps【点击购买
季付$47CN2 GIA线路,1核/1G内存/20G硬盘/1T@2.5Gbps【点击购买
Last modification:February 12th, 2021 at 05:31 pm
If you think my article is useful to you, please feel free to appreciate

Leave a Comment Cancel reply

412 comments

  1. anony  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 69.0.3497.81(Google Chrome 69.0.3497.81)

    也许是由于过于疲惫,下载的画作出现了底部黑条(还有几个)
    如果不能解决也没关系 毕竟数量不多 但是 可以把这些异常的图片找出并删除吗 这样重下就可以了

    1. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 69.0.3497.81(Google Chrome 69.0.3497.81)
      @anony 这个确实是没下载完整,一般是网络原因,下载到一半连接中断了但又不是超时因此不会被重下

      我在下个版本会尝试加入文件完整性检查来解决这个问题

    2. anony  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 69.0.3497.81(Google Chrome 69.0.3497.81)
      @anony 好吧,png的黑条其实是透明像素……传上来就看不出了
  2. Asuna  Windows 7 x64 Edition(Windows 7 x64 Edition) / Google Chrome 63.0.3239.26(Google Chrome 63.0.3239.26)
    为什们我收集了好多图,然而只会下载35张啊,然后我再下载就会出现Collecting illusts of your bookmark
    1. 神代綺凜  Mac OS X(Mac OS X) / Safari(Safari)
      @Asuna 请补充描述
      你使用的命令是什么
      你希望看到的效果是什么
      1. Asuna  Windows 7 x64 Edition(Windows 7 x64 Edition) / Google Chrome 63.0.3239.26(Google Chrome 63.0.3239.26)
        @神代綺凜 pxder -b,我收藏了1k张图,然后它只是会下载35张最新收藏的。如果我有新收藏的话再输入pxder -d 就会下载新收藏的,以前收藏的不会再下载了
        1. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 68.0.3440.106(Google Chrome 68.0.3440.106)
          @Asuna 已经修复,更新并删除你原来下载过的收藏文件夹即可
        2. 神代綺凜  Mac OS X(Mac OS X) / Safari(Safari)
          @Asuna emmmm,等有空我看一下
          1. sunnic  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 68.0.3440.106(Google Chrome 68.0.3440.106)
            @神代綺凜 我和他一样的情况收藏了很多图,只是我是下了49张停了
            1. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 68.0.3440.106(Google Chrome 68.0.3440.106)
              @sunnic 已经修复,更新并删除你原来下载过的收藏文件夹即可
              1. Asuna  Windows 7 x64 Edition(Windows 7 x64 Edition) / Google Chrome 63.0.3239.26(Google Chrome 63.0.3239.26)
                @神代綺凜 emm,怎么更新啊φ( ̄∇ ̄o)
                1. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 68.0.3440.106(Google Chrome 68.0.3440.106)
                  @Asuna 文章写了
              2. sunnic  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 68.0.3440.106(Google Chrome 68.0.3440.106)
                @神代綺凜 谢谢w
  3. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 68.0.3440.106(Google Chrome 68.0.3440.106)
    下载收藏的功能已加
  4. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 68.0.3440.106(Google Chrome 68.0.3440.106)
    个人感觉没必要,只要你不是超大量的下载(几千个画师那种)一般是不会有被ban之类的风险的,并且控制线程数(这也是我为什么最多就给10线程),而且要ban只会ban你的IP,只要你使用代理或者在国外vps上就不会对你本地有什么风险

    下载已收藏的话……也可以,下午有时间的话做一下

  5. clay  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 68.0.3440.106(Google Chrome 68.0.3440.106)
    一直显示:connect ETIMEDOUT x.x.x.x:443,请问咋个解决
    1. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 68.0.3440.106(Google Chrome 68.0.3440.106)
      @clay 因为P站被DNS污染,你有三种解决方法
      1、使用无污染DNS例如101.6.6.6并刷新DNS缓存
      2、修改hosts,自行百度
      3、使用代理
      1. clay  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 68.0.3440.106(Google Chrome 68.0.3440.106)
        @神代綺凜 已解决,thk,还是dns问题,改换8.8.8.8就好了
        1. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 68.0.3440.106(Google Chrome 68.0.3440.106)
          @clay 这么说,你是在国外吗(
  6. 70公斤大咸鱼  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 68.0.3440.106(Google Chrome 68.0.3440.106)
    哇,便民小神奇,找了好久了ヾ(≧∇≦*)ゝ
    1. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 68.0.3440.106(Google Chrome 68.0.3440.106)
  7. 棒棒糖  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 68.0.3440.106(Google Chrome 68.0.3440.106)
    为什么这么好用呢?讲道理都可以忽略你的图床了.webp
    1. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 68.0.3440.106(Google Chrome 68.0.3440.106)
      @棒棒糖 图床很久以前就不更新了,因为手动传好傻啊(
      这个东西其实也是决定停更那个时候想着要做的,终极目标是能自动更新自动传图,虽然这个设想可能还是会咕咕咕
  8. zephyru  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 60.0.3112.113(Google Chrome 60.0.3112.113)
    p站果然是最好的靶子....
    我也写过类似的东西....
    不过方向不一样,
    我写的是针对各种榜单...对p站暴露的那个接口做再处理(过滤一些标签之类的)..
    以及针对搜索的...指定爬取的页数,把搜索出来的东西做个排序,来得到类似VIP才有的热门图片搜索效果...
    不过,一些边界条件,以及错误处理都没做....而且下载部分也没写组图的逻辑..
    后面本来想针对,专题页和个人推荐页下手...但是发现它的html结构毫无规律,也不知道数据是从哪取出来的...
    也没找到渲染是在哪一步做的...也就作罢了......
    一度想用无头浏览器来写.....不过,懒还是战胜了我....
    1. zephyru  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 60.0.3112.113(Google Chrome 60.0.3112.113)
      @zephyru 一看GUI....也许我是前端的原因吧...功能都是从ui界面撸起...无论有多难看....
      1. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 68.0.3440.106(Google Chrome 68.0.3440.106)
        @zephyru 我都忘了我本质是写前端的
        找机会慢慢撸个webui
  9. 神代綺凜  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 68.0.3440.106(Google Chrome 68.0.3440.106)
    Windows的批处理?有这么强大吗
    我拿shell写的爬nhentai的都很麻烦了,批处理要怎么操作,而且Windows没有自带curl之类的把