709924470 / pixiv_fanbox_downloader

Add a button next to "Like" for downloading purpose, need TamperMonkey or equivalent extensions 在喜欢按钮边上加上下载按钮,需要油猴或类似的浏览器扩展
https://greasyfork.org/zh-CN/scripts/380615-fanbox%E5%9B%BE%E7%89%87%E4%B8%8B%E8%BD%BD%E5%99%A8
32 stars 7 forks source link

When I press "direct download" or "download as zip", nothing happens. #5

Closed weeklyshoe closed 5 years ago

weeklyshoe commented 5 years ago

When I press "direct download" or "download as zip", nothing happens. I am using Tampermonkey on the latest version of chrome. Do you need to be a fanbox supporter for this to work? Or is this script supposed to work for any account?

709924470 commented 5 years ago

Try wait for up to 10 minutes, it takes time to download all the images to local memory and download status always show up when it's already downloaded.

You can check the downloading status by pressing F12 and check Network tab, the waterfall graph should show there's something's loading.

Nightvibe-Ro commented 5 years ago

there is button, but not work...... again this error every time"[Fanbox Downloader.js] Cannot add download button!" 캡처d

weeklyshoe commented 5 years ago

Try wait for up to 10 minutes, it takes time to download all the images to local memory and download status always show up when it's already downloaded.

You can check the downloading status by pressing F12 and check Network tab, the waterfall graph should show there's something's loading.

i've been waiting for a while now and nothing's been happening....what's supposed to happen when this works? what should the waterfall graph look like?

709924470 commented 5 years ago

there is button, but not work...... again this error every time"[Fanbox Downloader.js] Cannot add download button!" 캡처d

The button is already in the page, as you can see this in the console.

[Fanbox Downloader.js] Successfully added the button.
709924470 commented 5 years ago

Try wait for up to 10 minutes, it takes time to download all the images to local memory and download status always show up when it's already downloaded. You can check the downloading status by pressing F12 and check Network tab, the waterfall graph should show there's something's loading.

i've been waiting for a while now and nothing's been happening....what's supposed to happen when this works? what should the waterfall graph look like?

The newest version has download progress in console, try it and see if it still not working.

weeklyshoe commented 5 years ago

The newest version has download progress in console, try it and see if it still not working.

nothing is showing up in the console

709924470 commented 5 years ago

The newest version has download progress in console, try it and see if it still not working.

nothing is showing up in the console

There should be something like this after you click download Progress status

weeklyshoe commented 5 years ago

The newest version has download progress in console, try it and see if it still not working.

nothing is showing up in the console

There should be something like this after you click download Progress status

but nothing is happening after i press direct download or download as zip. do i need to wait for it to appear or am i doing something wrong?

709924470 commented 5 years ago

The newest version has download progress in console, try it and see if it still not working.

nothing is showing up in the console

There should be something like this after you click download Progress status

but nothing is happening after i press direct download or download as zip. do i need to wait for it to appear or am i doing something wrong?

There should be at least something like Downloading <Image Name>. Console

weeklyshoe commented 5 years ago

image image

I think I found the problem, getAllImageUrl () isn't returning anything for me. Why is this?

709924470 commented 5 years ago

image image

I think I found the problem, getAllImageUrl () isn't returning anything for me. Why is this?

Try run document.querySelectorAll("img.lazyloaded, img.lazyloading, img.lazyload") in your console, if there's nothing returned, it the problem in the way I try to get all elements.

There should be something like this Console

weeklyshoe commented 5 years ago

Try run document.querySelectorAll("img.lazyloaded, img.lazyloading, img.lazyload") in your console, if there's nothing returned, it the problem in the way I try to get all elements.

There should be something like this Console

this works on the artist's home page (https://www.pixiv.net/fanbox/creator//), but not on the page of a single post (https://www.pixiv.net/fanbox/creator//post/*/)

Uscalysta commented 5 years ago

hmm... same problem , button show up but cant download on single post fanbox (https://www.pixiv.net/fanbox/creator/*/post/*/)

i found same error at source "[Fanbox Downloader.js] Cannot add download button!"

and found this warning

image

709924470 commented 5 years ago

hmm... same problem , button show up but cant download on single post fanbox (pixiv.net/fanbox/creator//post/)

i found same error at source "[Fanbox Downloader.js] Cannot add download button!"

and found this warning

image

That is a script need to load from external source, and its included in the comments on the top of the script. // @require https://cdnjs.cloudflare.com/ajax/libs/jszip/3.2.0/jszip.min.js

Please update to the newest version, added a new method of adding button.

709924470 commented 5 years ago

Try run document.querySelectorAll("img.lazyloaded, img.lazyloading, img.lazyload") in your console, if there's nothing returned, it the problem in the way I try to get all elements. There should be something like this Console

this works on the artist's home page (pixiv.net/fanbox/creator/*), but not on the page of a single post (pixiv.net/fanbox/creator//post/)

Can you try to inspect image element in post pages and upload a screenshot of it? You can inspect a element by right click the element and click on the Inspect option. Inspecting an element

weeklyshoe commented 5 years ago

image this is what shows up when I inspect the preview image

also, do you need to be a fan of the creator to use this script?

709924470 commented 5 years ago

image this is what shows up when I inspect the preview image

also, do you need to be a fan of the creator to use this script?

Yes, you need to be a fan of the creator. I'm going to add a prompt for the ones try to download without subscript.