Coder Social home page Coder Social logo

webextension-pixiv-toolkit's Introduction



Pixiv Toolkit

Pixiv Tookit is a webextension for Pixiv users. You can download animation, manga, illusion and novel from Pixiv with using this.

How to install

If you are using Chrome, you can download it from Chrome web store.

If you are using Firefox, you can download it from Firefox Add-ons.

If you are not using Chrome or Firefox, you can try clone the project to your local machine, and build the extension by yourself.

How to build

To build the extension, you need these tools below:

  • nodejs
  • python2

After you install these, run commands step by step:

npm install
npm run build # build for Chrome
npm run build:firefox # or build for Firefox

Then you can install the extension manually.

How to use

There is a layer with a arrow will appear at the center bottom of the page if the page has available content. Click the arrow to active the action panel, then enjoy.

Something wrong?

Please feel free to submit a issue if you have trouble with using this.

webextension-pixiv-toolkit's People

Contributors

leoding86 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

webextension-pixiv-toolkit's Issues

Ugoira option "Generate and download" does not work

Fairly straight forward, turning this option on and leave settings - this does not take effect, and returning to the settings you find it was turned off. This happens even after reloading the extension, or reinstalling it.
This issue is specifically that the option visually indicates it is 'off' when checking settings.

Downloads start automatically after it finishes converting ugoira to webm.

image

System info is:
Pixiv Toolkit Version: 3.7.3-20012112
Pixiv Omina Version: 0.4.1
Operating System: Windows 10 Home x64
Browser: Chrome Version 80.0.3987.106 (Official Build) (64-bit)

合成大型gif/apng网页崩溃

开始合成后占用超2g内存,然后网页崩溃了,pixiv omina可以正常保存,插件里的webm格式也可以正常保存

Feature request

  1. Rename illust image file
    Currently, illust image file is saved to 0 page of manga image filename.
    please add 'Rename illust' in manga section,
    when this is blank following 0 page of manga image filename.

  2. Saving unpacked manga image files.
    I thought 'Pack and download' is choose zip or image files when first use.
    but this feature works auto saving zip file when completed download.
    please add choose zip or image files option in manga section.
    if this option if turned off browser will save these files to download folder or show many save file dialogs.

Thanks very much.

(Suggestion) Easyer to customization illustration name

Hi i have some problem and suggestion :))

1. I want to save image like this format: {author} - {title} ({id}) .jpg but saving like this {author} - {title} ({id}.jpg
2. Keep page number
Keep page number even if the illustration only has one image- I think that better start a one instead of zero
3. Pack and download, check again with problem 1 because have the same format.I want change name like that {author} - {title} ({id}) {ページ} ページ.jpg(ページ: that mean page ) that auto change name to {author} - {title} ({id}) .jpg if the illustration only has one image, if not count from 1
4. Add option save directly or download as zip (over 2 image)

只有一张图时获取不到pageNum?

RT,像 {id}_{pageNum}_{title} 这样的设置获取回来会变成 534545454_名字名字(只有一个下划线),{id}_p{pageNum}_{title} 则会变成 534545454_p_名字名字,非常诡异。
多P的图则没有任何问题。

关于浏览记录功能

浏览记录是非常好的功能,但是我发现记录好像会遗漏一些,浏览之后根据“viewed_at”查看发现最新的记录时间居然相差十多个小时(已转换本地时间),最新的时间是1573442340而我最近的浏览时间则是2019/11/12 2:00:00左右。
我发现‘viewed_at’仅保存第一次浏览的时间,这使得使用它有一些困难,我希望它能保存最近的时间,或者拆分成两个如‘first_viewed’和‘last_viewed’等等。thanks。

Cannot import visit history data

It is because the web worker don't have the global variable. The issue may be caused by package updating. Will fix it at next version.

无法下载

无法下载pixiv的图片,但它的提示是下载完成,然而并没有下载

Stuck on "downloading" on ugoira

Is there any way to know how far this extension downloading ugoira data before download menu available or at least indicator of it working on something?
It seems never completed on some ugoiras and I really can't tell reloading the addon really fix the issue. Here's the sample work that keep stuck at downloading no matter what I do:
https://www.pixiv.net/en/artworks/73031132

I using vivaldi 2.9.1705.41 and firefox 61.0.2 on windows 10
Screenshot_2019-12-03 cowgirl position, creampie, Yuzuki Yukari 結月ゆかりS○XROID版 - pixiv

'Extension takes over downloads' seems to have no effect

The extension doesn't seem to handle downloading on it's own - I still get asked where I want to save a file.
Steps:
I turned this feature on.
I was asked to give permissions, and I granted them.
Initiating a webm download, I am still asked where to save the file (which is what happens normally before I tried enabling this option)

screenshot of settings

System info is:
Pixiv Toolkit Version: 3.7.3-20012112
Pixiv Omina Version: 0.4.1
Operating System: Windows 10 Home x64
Browser: Chrome Version 80.0.3987.106 (Official Build) (64-bit)

Page number issue when saving

  1. saving page number is different when manga (multi page illust) downloading.
    Currently saving page number is different.
    Automatic download (Pack and download), page number starts from 0 to n.
    Manually download (Save chunk 0-n), page number start from 1 to n+1.

  2. No need 'Rename illustration image' (when one page illust).
    Maybe this feature should need when packing zip this one page illust.
    And no need {pageNum} with 'Rename illustration image' because this works with one page illust,
    and more issue currently, unnessary page number 0 injected to end of filename when without {pageNum} prefix.

please fix these.
Thanks.

Word 'null' inserted at the start of file names.

This issue occurs for me when using custom filenaming for ugoira (via the extensions settings.)
My specific pattern is: {author}-{authorId} {title}-{id}

An example of output is:

nullTheJuneBug_1802419__Cardigan_79553655.webm

from this page: https://www.pixiv.net/en/artworks/79553655

System info is:
Pixiv Toolkit Version: 3.7.3-20012112
Pixiv Omina Version: 0.4.1
Operating System: Windows 10 Home x64
Browser: Chrome Version 80.0.3987.106 (Official Build) (64-bit)

Illegal characters for filenames should be filtered

If a illustration title or author name contain illegal characters like
? * < > | : "
the filename can't be saved. The illegal characters should be filtered/replaced with _ (underline) or at least give an option to automatically filter them before creating the filename.

The forbidden printable ASCII characters are:

Linux/Unix:

  • / (forward slash) (you can use if you escape with \/ )

Windows:

  • < (less than)
  • > (greater than)
  • : (colon - sometimes works, but is actually NTFS Alternate Data Streams)
  • " (double quote)
  • / (forward slash)
  • \ (backslash)
  • | (vertical bar or pipe)
  • ? (question mark)
  • * (asterisk)

v3.7.2 Rename Format

v3.7.2
Remove page number in filename when downloading illustation has only one image

but my rename format is {title}({id}_p{pageNum})
now i have to add filename "0"....
can add original filename? or add other tag like {originId}
example : {tag}=79012732_p0.jpg

浏览历史消失了

插件版本3.10,今天需要看浏览历史的时候发现历史被清空了,如果是出现bug导致新历史未记录还好理解,但现状是全部的历史都不存在了。
Snipaste_2020-03-25_17-51-21

techorus-cdn.com ?

new

讀取變更techorus-cdn.com的資料是什麼意思?我不敢更新

无法下载GIF

总是显示网络错误,但是网络情况良好,不知道为什么
截屏2020-03-19上午11 11 46

No download (images, manga, gifs), greetings.

Hello friend, I wanted to inform you that since the last update the extension does not work (do not download), we hope you can solve the problem.
pstd: I wanted to ask you if in the following updates you could add the option (time of the photo in which it was uploaded to Pixiv), greetings.

P* button doesn't show up unless I use a new tab or refresh the page.

Great addon, thanks! However the problem I'm having is that the P* button doesn't always appear. If I click a direct link like this example it works fine:

https://www.pixiv.net/en/artworks/77093460

However if I use the right or left arrows to flip to the next image the P* no longer appears. Any image link I click on from inside the pixiv website does not display the P* either. The only way to get the P* button to appear reliably is to open links in a new tab or refresh the page.

I'm using v3.2 of the addon with Firefox 70.0.1 on windows 7.

下载位置的问题

他就是下不到我选的相对路径的文件夹里,就下到我浏览器的下载路径。。。。

Unable to download while logged into Pixiv.

Tested this in both Chrome and Firefox so far with the same results & behavior. (Updated both Chrome and Firefox to see if that had any effect but it did not)

Specifically with individual images or multiple. Ugoira looks like it downloads properly.

Chrome: 80.0.3987.116 (also happened on previous version)
Firefox: 73.0.1 (64-bit) (also happened on previous version)

Currently having an issue where there looks like a recent update happened on Pixiv with a side-header, and it going through a tutorial of sorts.

left button

The sidebar that shows up when you click on the button:
sidebar

From what I can tell, the extension is unable to properly download any pictures, but when logged out, the extension works.

DL 0-xx button doesn't work

problems:
the Generate GIF and Download GIF is fully usable,
but the button DL 0-xx doesn't work.
extra information:
Before February 18,2020 , the DL 0 - xx is works well
Platform : OS X 10.15.3
Browser: Google Chrome 80.0.3987.116 64bit

绘画图片保存时重命名总会在末尾多出一个“0”

尝试了各种重命名方式,但不管怎样在保存时文件名末尾都会莫名其妙加上一个“0”
也没有打开“保留页码”按钮,就很奇怪这个0是什么东西
如果重命名为“not set”保存图片时就会只有一个0,所以这个“0”是为了防止空名称的占位吗?
但是我都重命名了它还在就很烦
希望大佬能给我一些指点!谢谢!

Chrome Plug-in Freezing Pixiv Tabs and Download History not registered(?)

A: Chrome is finding that Pixiv tabs are becoming unresponsive and prompts to close them
B: As of today the Download button doesn't show the checkmark for "already downloaded" works in some tabs. Even after repeated downloads

A: As of very recently the performance of Chrome has dwindled in Pixiv pages. I check for other roundabout ways to solve the problem using some functions of chrome:flags, and also disabled most of my plugins. I lastly disabled Pixiv Toolkit and the performance returned.
More thn three "right click-> open in newtab" actions would cause Pixiv to freeze.

B: Download button functions properly, but after the download, the checkmark that usually appears at the right part does not appear. Some tabs register the "event' properly after a re-download of the work (the tab doesn't prompt the window that warns a repeated work download too)
The link of one of the works in which this happened is this one: https://www.pixiv.net/en/artworks/82193965

Chrome Ver 83.0.4103.97 (Official Build) (64-bit)

pixiv_toolkit_settings-1591913787447.txt

For the sake of reference, I have very recently exported my Pixiv Toolkit history and imported in to a different user in chrome. I don't know if this could have cause the problem B

下载按钮的功能问题

2020/2/27

下载文件功能仍然不正常,点击按钮后,有下载进度,进度100% 后,显示 “已下载”,同时按钮变绿,但是实际上浏览器并没有回馈文件保存到硬盘的信息提示。

插件版本 3.9 ,pixiv 账户已登录,grant the extension to access techorus-cdn.com 的权限也有打开。

No WebM option on Firefox

I have no WebM option when saving Ugoira from Firefox.
See:
att

It happens with all Ugoira animations.
What could I be doing wrong? Is it possible that I disabled some necessary feature?
I'm using version 3.2 of the extension, by the way.

Anyway, thanks a lot for your hard work Leo.

Downloaded images don't follow standard pixiv numbering

The download feature uses a different numbering scheme that causes problems with sorting. For instance on pixiv if a gallery number is "5544" the individual images will be named 5544_p1, 5544_p2 etc when downloaded directly. If I use this addon to download the same images as a zip and tell it to add the ID and NUMBER to the images it will name them 55441, 55442 instead without the underscore. This causes problems when sorting because image numbers 0-9 will be displayed on a different row from images 10+ because the extra digit added to the end makes it a larger number.

So it would nice if the toolkit followed the standard pixiv naming format of ####_p#. Ideally it would do this by default so that the names of downloaded images match whether you do it manually or through the toolkit.

Can't download ugoira

As soon as I open the control panel at the bottom of the screen the button says "Downloading 1%" for a split second and then goes back to "Interrupted, Click to Retry". Clicking the button just results in the same thing after a moment. I haven't tried to use this feature in a while but it worked fine a week/month ago. I'm using version 3.9.0, this is the latest that Firefox will provide.

求助

为什么无法下载r18作品,但普通作品无影响,表现为下方无下载按钮

Still can't download ugoira or images after 3.10.1 update

I updated the addon and gave it the required permission to access the CDN. I then tried to download Ugoira again. It still doesn't work, the button says it was interrupted. I also can't download images properly either, the zip file will contain blank or corrupted images that can't be displayed, each one is 146 bytes in size. Sometimes the first couple of images in the set will download properly, but the rest will be 146 bytes.

I'm using firefox 73.0.1 64-bit.

Firefox addon store

It would be helpful to publish this onto the firefox's addon website so firefox users dont have to compile the extension

option tab broken in firefox 71

unsure if it's just because of a new firefox, but going to the plugin's options enters an infinite load of the page, the browser immediately eats all available ram and starts filling the pagefile up until it crashes the pc unless firefox is manually terminated from the task manager.

Can't download ugoiras and images seem iffy

I only noticed it today, and I noticed a similar post from a couple of weeks ago, but I am unable to download any ugoiras. Images seem to download fine but when trying to open them, my computer simply can't. When attempting to download an ugoira, the bubble will download to 1%, stop, and then say "Interrupted. Click to retry.". Rinse and repeat indefinitely. If there is something wrong on my end, I'd like to try and fix it, but if it's something that multiple people are having, it could potentially be something that warrants more attention. Thanks for your help :)

Cant seem to download ugoira as apng

I select the apng option, it starts generating, but when i check back later, the % indicator has dissapeared and I dont see any downloads...Firefox's download history shows nothing and I cant figure out if the add on has a specific download folder...

PixivToolkit v3.3.2 doesn't save anymore some zipped illustrations

Example pixiv page not working for me
https://www.pixiv.net/en/artworks/77638788
after downloading all the 5 images it should create a zip but devtools console show:

Uncaught (in promise) ReferenceError: vm is not defined
at s.getFilename (app.js:1)
at Object.onDone (app.js:1)
at app.js:1

I've set all rename Illustration and Manga options as {id}_{pageNum}

This one works for me
https://www.pixiv.net/en/artworks/77625914
77625914_0-1.zip downloaded correctly.

I'm on Win7 32bit, using Vivaldi 2.9.1719.3

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.