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

[kemono.party] Gallery-dl will stop dling and return to command prompt #3043

Open
v0sc opened this issue Oct 12, 2022 · 9 comments
Open

[kemono.party] Gallery-dl will stop dling and return to command prompt #3043

v0sc opened this issue Oct 12, 2022 · 9 comments

Comments

@v0sc
Copy link

v0sc commented Oct 12, 2022

I've noticed that for the last week or two, gallery-dl was hitting me with nonstop 403 errors after working just fine. Coming onto here, I figured out what I thought was the fix, which was to update my version and turn off my VPN. Doing this helped, as did putting this in before the actual link: gallery-dl -o headers.Referer="https://kemono.party/"

However, every time I use gallery-dl, it will stop downloading files, usually before getting even close to halfway through the first page of posts. It even will stop downloading, when the file's not finished, bringing up the input prompt below a file it says is x% finished. It will do this both with and without the VPN on, and up until that week or two ago, having my VPN on only affected the download speed somewhat, but nothing more.

Every time I try to restart the downloading, it will maybe download several more files/posts worth at most, before doing the same thing. I'm quite confused as to why this is, or how to fix it.

@mikf
Copy link
Owner

mikf commented Oct 12, 2022

gallery-dl was hitting me with nonstop 403 errors

This is fixed in the latest release (v1.23.2, #2990)

it will stop downloading files, usually before getting even close to halfway through the first page of posts

You mean the download server drops the connection multiple times?
gallery-dl cannot do anything about kemono's servers, but you can increase the number of retries before gallery-dl gives up with -R/--retries (-1 for infinite). Maybe that helps.

Having an actual error message / verbose log would be nice when diagnosing such problems, by the way. Also it is often better to go directly to https://chan.kemono.party/kemono/ and look there or talk to the actual devs regarding any kemono issues.

@v0sc
Copy link
Author

v0sc commented Oct 18, 2022

This is fixed in the latest release (v1.23.2, #2990)

So how do I update it to that release? I tried updating it and it says the latest version is 1.23.0. This is what it gives, exactly:
`PS C:\WINDOWS\system32> choco upgrade gallery-dl
Chocolatey v0.10.15
Upgrading the following packages:
gallery-dl
By upgrading you accept licenses for the packages.
gallery-dl v1.23.0 is the latest version available based on your source(s).

Chocolatey upgraded 0/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
PS C:\WINDOWS\system32> choco upgrade gallery-dl -v
Chocolatey v0.10.15
Upgrading the following packages:
gallery-dl
By upgrading you accept licenses for the packages.
gallery-dl v1.23.0 is the latest version available based on your source(s).

Chocolatey upgraded 0/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
PS C:\WINDOWS\system32>`

You mean the download server drops the connection multiple times?

No, I mean this.
GDL
It's not failing retries, it's not dropping the connection. It just stops for some reason. No error message or anything.

@Hrxn
Copy link
Contributor

Hrxn commented Oct 18, 2022

Well, yeah, that is what they say at https://community.chocolatey.org/packages?q=gallery-dl

Be aware that this is a third-party package repository, not in any way related to the upstream source (this repository here on GitHub).
The only other "official" source is the Python Package Index, also known as PyPI, here: https://pypi.org/project/gallery-dl/

This Python package is also maintained by Mike, every other index must be considered a third party.

The real latest release is always here: https://github.com/mikf/gallery-dl/releases/latest

@mikf
Copy link
Owner

mikf commented Oct 19, 2022

It's not failing retries, it's not dropping the connection. It just stops for some reason. No error message or anything.

Are you perhaps using -A/--abort or "skip": "abort"? kemono changed the amount of posts it shows per page and now gallery-dl repeats the last 25 posts after it goes to the next page, making it stop if you have any of these options active. (94a2dfe)

@v0sc
Copy link
Author

v0sc commented Oct 29, 2022

Well, yeah, that is what they say at https://community.chocolatey.org/packages?q=gallery-dl

Be aware that this is a third-party package repository, not in any way related to the upstream source (this repository here on GitHub). The only other "official" source is the Python Package Index, also known as PyPI, here: https://pypi.org/project/gallery-dl/

This Python package is also maintained by Mike, every other index must be considered a third party.

The real latest release is always here: https://github.com/mikf/gallery-dl/releases/latest

So how can I get it to install without Chocolatey, then? I'm not sure how to do that, or how to just get rid of Chocolatey. Coding of any kind's not something I understand, and the only reason I ever used Chocolatey was because trying to install gallery-dl without it didn't work when I tried.

@v0sc
Copy link
Author

v0sc commented Oct 29, 2022

It's not failing retries, it's not dropping the connection. It just stops for some reason. No error message or anything.

Are you perhaps using -A/--abort or "skip": "abort"?

Nope, I'm literally just doing gallery-dl --filesize-min 1.5m --filesize-max 120m then the link, with the min/max sizes sometimes different.

@rautamiekka
Copy link
Contributor

rautamiekka commented Oct 29, 2022

Well, yeah, that is what they say at https://community.chocolatey.org/packages?q=gallery-dl
Be aware that this is a third-party package repository, not in any way related to the upstream source (this repository here on GitHub). The only other "official" source is the Python Package Index, also known as PyPI, here: https://pypi.org/project/gallery-dl/
This Python package is also maintained by Mike, every other index must be considered a third party.
The real latest release is always here: https://github.com/mikf/gallery-dl/releases/latest

So how can I get it to install without Chocolatey, then? I'm not sure how to do that, or how to just get rid of Chocolatey. Coding of any kind's not something I understand, and the only reason I ever used Chocolatey was because trying to install gallery-dl without it didn't work when I tried.

Install Python, then run

pip install --upgrade gallery-dl

as Admin to install system-widely, or add --user to the command to install user-widely without needing Admin, then run it to update gdl in the future.

@v0sc
Copy link
Author

v0sc commented Nov 11, 2022

Python's installed, doing this through powershell and python doesn't work.
Through Python 'install' is an invalid syntax, through Powershell 'pip' isn't a recognized cmdlet.

@v0sc
Copy link
Author

v0sc commented Nov 26, 2022

So...anyone know what is causing this issue then, or...?

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

4 participants