Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
c1b3r3y3 opened this issue Dec 16, 2020 · 14 comments

Comments

@c1b3r3y3
Copy link

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.

@Annihilator4413
Copy link

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.

@Onafets26
Copy link

Onafets26 commented Dec 21, 2020

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)

@Annihilator4413
Copy link

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?

@Onafets26
Copy link

Onafets26 commented Jan 9, 2021

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).

@xjunko
Copy link

xjunko commented Sep 26, 2021

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

@MarcG2
Copy link

MarcG2 commented Dec 29, 2021

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.

@xjunko
Copy link

xjunko commented Dec 31, 2021

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
Copy link

xjunko commented Dec 31, 2021

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 😔 resetted his token and it works now :trollface:

@MarcG2
Copy link

MarcG2 commented Jan 5, 2022

resetted his token and it works now

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

@xjunko
Copy link

xjunko commented Jan 5, 2022

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.

@MarcG2
Copy link

MarcG2 commented Jan 5, 2022

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....

@xjunko
Copy link

xjunko commented Jan 5, 2022

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

huh... thats new

@MarcG2
Copy link

MarcG2 commented Jan 6, 2022

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?

@xjunko
Copy link

xjunko commented Jan 6, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants