mikf / gallery-dl

Command-line program to download image galleries and collections from several image hosting sites
GNU General Public License v2.0
11.82k stars 969 forks source link

Coomer.party & Kemono.party stopped working #3001

Closed Roccobot closed 2 years ago

Roccobot commented 2 years ago

Like title says, Coomer.party & Kemono.party suddenly stopped working, and all I get is [downloader.http][warning] '403 Forbidden' for 'abc.jpg' even if the image is publicly available. I also log into both through gallery-dl

Hrxn commented 2 years ago

gallery-dl version? Verbose log?

Roccobot commented 2 years ago

Sorry, I wanted to edit the original post but then I forgot 🤦‍♂️

Python 3.10.7 gallery-dl 1.23.2 external config file

command: gallery-dl --verbose https://coomer.party/onlyfans/user/delightfulhug Log: Log.txt (sorry for the NSFW)

ubertgoobert commented 2 years ago

@JamiDEV

gallery-dl -o headers.Referer="https://kemono.party/" linkthatyouwanttodownload

I saw this in another topic #2990 and tried it myself and I found that it worked. For stuff from coomer you just change it to -o headers.Referer="https://coomer.party/" .

afterdelight commented 2 years ago

isnt it altready patched in this commit https://github.com/mikf/gallery-dl/commit/b84982b2f96ebf04546ce4bd8c06487746edb5d1?

Roccobot commented 2 years ago

@ubertgoobert can you explain more in detail what I need to do? Thanks!

raihanirfan commented 2 years ago

[downloader.http][warning] HTTPSConnectionPool(host='data69.coomer.party', port=443): Max retries exceeded with url: /data/ec/c2/ecc29c0c2cde6e26e427f786ccd14c08f494757c5eafa8e456afb70feee1b62a.jpg (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x041B8AB0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')) (1/5)

i have this erorr too

mikf commented 2 years ago

@Roccobot you need to get the latest release (v1.23.2). According to your log you only have v1.21.2 . Alternatively you can add -o headers.Referer="https://kemono.party/" or -o headers.Referer="https://coomer.party/" to when you run gallery-dl.

@raihanirfan that's an entirely different error than the 403 one. Yours is related to a DNS lookup of data69.coomer.party ("getaddrinfo failed").

raihanirfan commented 2 years ago

@raihanirfan that's an entirely different error than the 403 one. Yours is related to a DNS lookup of data69.coomer.party ("getaddrinfo failed").

so how to fix that? or the problem is coomer server?

mikf commented 2 years ago

The problem is the DNS server used by your system, which cannot or refuses to give an IP address for data69.coomer.party. Theoretically this domain should also not work in your browser, unless your browser uses some other, special networking settings than the rest of your system. I get a simple OK when visiting https://data69.coomer.party/

raihanirfan commented 2 years ago

i get a ok too when visited that link.

Jeen019 commented 2 years ago

does it take some time for update to be available on snap?

gallery-dl -v [gallery-dl][debug] Version 1.23.1 [gallery-dl][debug] Python 3.6.9 - Linux-5.15.0-48-generic-x86_64-with-Ubuntu-22.04-jammy [gallery-dl][debug] requests 2.27.1 - urllib3 1.26.12 Use 'gallery-dl --help' to get a list of all options. user:~$ snap refresh gallery-dl snap "gallery-dl" has no updates available

mikf commented 2 years ago

snap

Sorry about that. Update should be available now.

Roccobot commented 2 years ago

Same again, even after updating like I always do (python3 -m pip install -U gallery-dl – it says it is already updated) Latest log file

@mikf is there a command to check if my installed version is actually 1.23.2? 🤔

Silent-Soldier commented 2 years ago

is there a command to check if my installed version is actually 1.23.2? 🤔

pip list will write to console the current version of all installed packages/wheels.

pip list --outdated --format=columns will just show outdated packages/wheels, current vs updated version, and type.

Another option I just remembered is gallery-dl --version or gallery-dl -v.

mikf commented 2 years ago

Your installed pip version is most likely v1.23.2, but that doesn't appear to be the one running when you type gallery-dl. You probably have an older version lying around somewhere, which gets used instead of the one installed with pip. Or you have multiple Python interpreters, each of which can have its own gallery-dl installed.

python3 -m gallery_dl --version
1.23.2

gallery-dl --version
1.21.2

edit: I just noticed you are on macOS and not Windows. In this case you should be able to use which or type to determine the location of the wrong gallery-dl binary.

Apparently there is a where command for cmd.exe (or Get-Command for Powershell) to give you the location of a file (where gallery-dl.exe). Try that to find and delete the older version of gallery-dl. (https://stackoverflow.com/questions/304319/is-there-an-equivalent-of-which-on-the-windows-command-line)

Roccobot commented 2 years ago

Thanks, @mikf, actually I'm on a Mac. I manually deleted gallery-dl executable from the Python Bin folder, then I tried again and it finally updated.*

For the Pip issue, I don't really know how to update, but it is true that sometimes a message says 'please update pip' or something. I'll try to figure it out.

* and now the Coomer.party and Kemono.party downloads worked!

mikf commented 2 years ago

sometimes a message says 'please update pip' or something

It wants you to run python3 -m pip install -U pip to update pip itself.

Roccobot commented 2 years ago

sometimes a message says 'please update pip' or something

It wants you to run python3 -m pip install -U pip to update pip itself.

Yeah, but it says Requirement already satisfied: pip in /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages (22.2.2), then sometimes still says I have the older version. Maybe it's just me not understanding that thing of python VS python3 and pip VS pip3 🧐