seo-rii / Webtoon_Downloader

Webtoon Downloader for Naver Webtoon, Daum Webtoon, and Kakao Page, and etc.
MIT License
39 stars 6 forks source link

kakaopage not working #2

Open gcfvfhg opened 3 years ago

gcfvfhg commented 3 years ago

I enter the word below Webtoon_Downloader.exe -s 1 -f 2 kakao 50099907 C:\Users\q\Downloads\s

All the pictures I got are wrong

seo-rii commented 3 years ago

I think the API of Kakao page has changed. I'll fix it soon.

seo-rii commented 3 years ago

Can you speak Korean? If you can, it's ok to use it.

gcfvfhg commented 3 years ago

Sorry,I don't speak korean I rewrite my question.

I view pictures in a web browser. I get jpeg files. ⇓

105577814-c8d89400-5db6-11eb-991b-6ee28efe248e

I run the program to download pictures. I get png files.⇓

png

Why did you change the format of pictures from jpeg to png?

seo-rii commented 3 years ago

In fact, it's a kind of bug. I was the first to create a downloader for Naver and other sites were developed by changing it slightly, but in the case of Naver, the picture was in the form of a png, so I saved it as it was. And after creating the option to merge into pdf later, this bug has not been found until now because I have never tested the option to save pictures separately. I will fix it in the next release.

seo-rii commented 3 years ago

Additionally, for the option to combine images into one as image, the extension is forced to png. This is because for jpeg, the image has the maximum vertical size.

gcfvfhg commented 3 years ago

thank you for your help (≧▽≦)

I did not find a png file on naver

In the case of 네이버 웹툰, the picture was in the form of a jpg

jpg

In the case of 네이버 도전만화, the picture was in the form of a jpeg

jpeg

I'm not sure what I observed is applicable to all comics on NAVER

thank you for your response

Johann-gif commented 2 years ago

Hello, Has the kakao API issue been resolved? I am having a problem trying to download a webtoon from the kakao site with your program. Command line: Webtoon_Downloader.exe -s 1 -f 2 --noProgressBar kakao 54204320 C:\Users\user\Downloads\s The progress bar is doing weird things in my terminal, hence the addition of the option --noProgressBar to not display it. Besides, I am French but I use NordVPN to connect to South Korea, not knowing if the location is a problem. When I run the command, this error appears:

C:\Users\user\Downloads>Webtoon_Downloader.exe -s 1 -f 2 --noProgressBar kakao 54204320 C:\Users\user\Downloads\s
Process Process-1:
Traceback (most recent call last):
  File "multiprocessing\process.py", line 315, in _bootstrap
  File "multiprocessing\process.py", line 108, in run
  File "Webtoon_Downloader.py", line 18, in downPartialEpisode
  File "module\image.py", line 15, in getImgNo
  File "module\gethtml.py", line 92, in getHtml
  File "json\__init__.py", line 357, in loads
  File "json\decoder.py", line 337, in decode
  File "json\decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Process Process-2:
Traceback (most recent call last):
  File "multiprocessing\process.py", line 315, in _bootstrap
  File "multiprocessing\process.py", line 108, in run
  File "Webtoon_Downloader.py", line 18, in downPartialEpisode
  File "module\image.py", line 15, in getImgNo
  File "module\gethtml.py", line 92, in getHtml
  File "json\__init__.py", line 357, in loads
  File "json\decoder.py", line 337, in decode
  File "json\decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Process Process-3:
Traceback (most recent call last):
  File "multiprocessing\process.py", line 315, in _bootstrap
  File "multiprocessing\process.py", line 108, in run
  File "Webtoon_Downloader.py", line 18, in downPartialEpisode
  File "module\image.py", line 15, in getImgNo
  File "module\gethtml.py", line 92, in getHtml
  File "json\__init__.py", line 357, in loads
  File "json\decoder.py", line 337, in decode
  File "json\decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Process Process-4:
Traceback (most recent call last):
  File "multiprocessing\process.py", line 315, in _bootstrap
  File "multiprocessing\process.py", line 108, in run
  File "Webtoon_Downloader.py", line 18, in downPartialEpisode
  File "module\image.py", line 15, in getImgNo
  File "module\gethtml.py", line 92, in getHtml
  File "json\__init__.py", line 357, in loads
  File "json\decoder.py", line 337, in decode
  File "json\decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Version of python

C:\Users\user\Downloads>python --version
Python 3.6.6

Moreover i tried to use the version containing the UI and i also have a problem. The application displays that it could not connect to the network: image

and when I continue the form I get this error: image And the loading loops indefinitely...

Can you help me ?

Regards.

Edit : The download from Naver works well, however, but the image format problem is still present (jpg -> png).