Sankaku-Downloader-py icon indicating copy to clipboard operation
Sankaku-Downloader-py copied to clipboard

The program stops when trying to download posts that needs account to view

Open c1b3r3y3 opened this issue 4 years ago • 14 comments

The tittle resumes everything.

The program works really good and I didn't have any trouble downloading large amount of files and even videos.

But now I'm trying to download a tag with some images that need account to view and it stops and do nothing more.

The tag in question is naturalton and as example one of the post is id #22915925, it needs an account to be able to see it. As I say, I didnt have any problems with large downloads before, like lexus, naruto_pixxx or marie_rose; so it must be a login problem.

It will be nice if the program let introduce a login or skip this files and procede.

Anyways, thanks for the work, it's amazing.

c1b3r3y3 avatar Dec 16 '20 02:12 c1b3r3y3

Same problem here. For example, I am trying to download Blue-Senpai and it stops at 103/592, so it seems like the site may be stopping the DL for pictures that require an account. Did not used to have this problem, so I assume it is because of a site update or something.

Annihilator4413 avatar Dec 17 '20 19:12 Annihilator4413

The tittle resumes everything.

The program works really good and I didn't have any trouble downloading large amount of files and even videos.

But now I'm trying to download a tag with some images that need account to view and it stops and do nothing more.

The tag in question is naturalton and as example one of the post is id #22915925, it needs an account to be able to see it. As I say, I didnt have any problems with large downloads before, like lexus, naruto_pixxx or marie_rose; so it must be a login problem.

It will be nice if the program let introduce a login or skip this files and procede.

Anyways, thanks for the work, it's amazing.

Fast solution: add -extreme_content in tag research in order to skip all the login protected elements (me and a friend tested this for a while e seems to be a non coding fix that works pretty well if you are not interested in login proteced elements) Slow solution: download method in Sankaku class needs to be rewritten (now it will listen to the server forever waiting with hope the content)

Onafets26 avatar Dec 21 '20 11:12 Onafets26

So basically it can't download anything with an extreme tag? That kinds sucks, Is anyone developing this anymore? Any hope of it being fixed?

Annihilator4413 avatar Jan 01 '21 23:01 Annihilator4413

With a lot of try and fail, some updates. extreme_content, blocked_artist and contentious_content are tags login/premium proteced, and with current coding they will cause the program stop downloading and freeze on the entry. What i dont know by now is if the api used from this program will work also under login (Sankaku public and documented api work only under authentication with personal api code, this code uses some different api with no public documentation).

Onafets26 avatar Jan 09 '21 15:01 Onafets26

I added token support on my fork, check it out lol. i added some other stuff too. The fork

xjunko avatar Sep 26 '21 13:09 xjunko

I added token support on my fork, check it out lol. i added some other stuff too. The fork

I just tried out your fork and it doesn't seem to work with a token entered. It just never proceeds to download anything. Any ideas? BTW I can't generate an issue on your version, so here I am.

MarcG2 avatar Dec 29 '21 05:12 MarcG2

I added token support on my fork, check it out lol. i added some other stuff too. The fork

I just tried out your fork and it doesn't seem to work with a token entered. It just never proceeds to download anything. Any ideas? BTW I can't generate an issue on your version, so here I am.

lmao rip my friend just mentioned that today, ill try to fix that soontm.

xjunko avatar Dec 31 '21 05:12 xjunko

I added token support on my fork, check it out lol. i added some other stuff too. The fork

I just tried out your fork and it doesn't seem to work with a token entered. It just never proceeds to download anything. Any ideas? BTW I can't generate an issue on your version, so here I am.

lmao rip my friend just mentioned that today, ill try to fix that soontm.

~~couldnt figured out why it wont work, my friend's accessToken couldnt work shit but mine (which i did give to him for testing) works just fine... idk how to fix this one my bad :pensive:~~ resetted his token and it works now :trollface:

xjunko avatar Dec 31 '21 12:12 xjunko

resetted his token and it works now

Wait so it does work? How do you reset the token?

MarcG2 avatar Jan 05 '22 03:01 MarcG2

Wait so it does work? How do you reset the token?

logout and login does the trick and also make sure you pick the right token, its in cookies and is called accessToken. i got the token from the beta web btw, pretty sure the only way to get them.

xjunko avatar Jan 05 '22 03:01 xjunko

logout and login does the trick and also make sure you pick the right token, its in cookies and is called accessToken. i got the token from the beta web btw, pretty sure the only way to get them.

Well it downloads but now it now it attempts to name all files "none" which constantly overwrites everything....

MarcG2 avatar Jan 05 '22 03:01 MarcG2

Well it downloads but now it now it attempts to name all files "none" which constantly overwrites everything....

huh... thats new

xjunko avatar Jan 05 '22 23:01 xjunko

huh... thats new

I've tried various things like running it as admin with no luck. It can't be a dependency issue can it? Are you running the compiled exe or are you using the python script?

MarcG2 avatar Jan 06 '22 02:01 MarcG2

I've tried various things like running it as admin with no luck. It can't be a dependency issue can it? Are you running the compiled exe or are you using the python script?

python script, but it should work on compiled exe. anyway if youre gonna use it with python, try the rewrite branch, that mightve fixed it.

xjunko avatar Jan 06 '22 05:01 xjunko