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

Kissmanga error #818

Closed
Metichi opened this issue Jun 9, 2020 · 1 comment
Closed

Kissmanga error #818

Metichi opened this issue Jun 9, 2020 · 1 comment

Comments

@Metichi
Copy link

Metichi commented Jun 9, 2020

They added their own captcha similar to kissanime's


gallery-mangadl https://kissmanga.com/Manga/Beastars/Ch-179----The-Power-Under-The-Heels?id=636789 --verbose
[gallery-dl][debug] Version 1.14.0-dev
[gallery-dl][debug] Python 3.8.2 - Linux-5.4.0-33-generic-x86_64-with-glibc2.29
[gallery-dl][debug] requests 2.22.0 - urllib3 1.25.8
[gallery-dl][debug] Starting DownloadJob for 'https://kissmanga.com/Manga/Beastars/Ch-179----The-Power-Under-The-Heels?id=636789'
[kissmanga][debug] Using KissmangaChapterExtractor for 'https://kissmanga.com/Manga/Beastars/Ch-179----The-Power-Under-The-Heels?id=636789'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): kissmanga.com:443
[urllib3.connectionpool][debug] https://kissmanga.com:443 "GET /Manga/Beastars/Ch-179----The-Power-Under-The-Heels?id=636789 HTTP/1.1" 503 None
[kissmanga][info] Solving Cloudflare challenge
[urllib3.connectionpool][debug] Resetting dropped connection: kissmanga.com
[urllib3.connectionpool][debug] https://kissmanga.com:443 "POST /Manga/Beastars/Ch-179----The-Power-Under-The-Heels?id=636789&__cf_chl_jschl_tk__=f9e20a2956dec99c49dc9942a627342ca2654ffa-1591711150-0-AV9jIKE7N3KQoE9tYjYX99BEfj5OOHgWu1GPBPSqmV1NmWPsUbtzbJ9lhMZOJbV2-4VYO9e1IV19SGteHSPiRjEv62su0nMOZP05Yx47HGspG0A8HLDZg47rpdFF6BxpebCGiOB_IIbltTOZzhL4knbL21ROaLivmA7xIS6lnZuVVSvDyu-jKJl_pg2o37mepu3oCIJO20uSfk9H5e_cnqG4XSM3lxsLMrm9SQtS5xUxS-lVNYBkFN1p0xPzEbFq6EgSxb8BlwU5uKkY8yZ_gtPdK1Lla1v-omgm5mwhhwEk-W8xW8WrtMY5jXo9pyawTFCrEwpe7GQm18Alt8uCkhqlfEzsp_i1EgpEB30upSL4 HTTP/1.1" 302 None
[kissmanga][error] An unexpected error occurred: ValueError - not enough values to unpack (expected 2, got 0). Please run gallery-dl again with the --verbose flag, copy its output and report this issue on https://github.com/mikf/gallery-dl/issues .
[kissmanga][debug] 
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/gallery_dl-1.14.0.dev0-py3.8.egg/gallery_dl/job.py", line 61, in run
    for msg in self.extractor:
  File "/usr/local/lib/python3.8/dist-packages/gallery_dl-1.14.0.dev0-py3.8.egg/gallery_dl/extractor/common.py", line 374, in items
    data = self.metadata(page)
  File "/usr/local/lib/python3.8/dist-packages/gallery_dl-1.14.0.dev0-py3.8.egg/gallery_dl/extractor/kissmanga.py", line 109, in metadata
    manga, cinfo = title.split("\n")[1:3]
ValueError: not enough values to unpack (expected 2, got 0)
@Metichi
Copy link
Author

Metichi commented Jun 10, 2020

Ok, there is a workaround right now.
If you do the login through your browser, export the cookies, and use that cookies file, it works.

EDIT: And when you are using the cookie, it also prompts you to manually do the captcha as needed

@mikf mikf closed this as completed in 4cf3d54 Jun 12, 2020
mikf added a commit that referenced this issue Jun 25, 2020
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

1 participant