manga-py: Bug: webtoons

Bug report

Environment:

Component Value
OS Ubuntu 16.04.6 LTS
Python version Python 3.5.2
Pip version pip 19.1.1
Npm version 3.5.2
Manga-py version 1.11.0
URL https://www.webtoons.com/en/fantasy/the-gamer/list?title_no=88

To Reproduce:

Steps to reproduce the behavior:

pipenv run manga-py --cbz --zero-fill --rename-pages --no-webp \
  --destination "Manga" --name "the_gamer" --show-current-chapter-info \
  "https://www.webtoons.com/en/fantasy/the-gamer/list?title_no=88" 

Additional context

Error in the output

Parse chapters. Please, wait
Error processing file: vol_000-season-4-ep-102
Error processing file: vol_001-season-4-ep-103
Error processing file: vol_002-season-4-ep-104
Error processing file: vol_003-season-4-ep-105
Error processing file: vol_004-season-4-ep-106
Error processing file: vol_005-season-4-ep-107
Error processing file: vol_006-season-4-ep-108
Error processing file: vol_007-season-4-ep-109
Error processing file: vol_008-season-4-ep-110
Error processing file: vol_009-season-4-ep-111

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 33 (20 by maintainers)

Commits related to this issue

Most upvoted comments

Don’t sweat it. Live coding is hard (At least for me).

When it works, don’t throw the code. Maybe usable for a --provider_support_debug flag if it can be abstracted to other providers.

Write it to a regular file (or two) if you want.

python3 manga.py --debug "http://www.webtoons.com/en/fantasy/the-gamer/list?title_no=88" 
Parse chapters. Please, wait
Error processing file: vol_000-season-4-ep-103
Error processing file: vol_001-season-4-ep-104
Error processing file: vol_002-season-4-ep-105
Error processing file: vol_003-season-4-ep-106
Error processing file: vol_004-season-4-ep-107
Error processing file: vol_005-season-4-ep-108
Error processing file: vol_006-season-4-ep-109
Error processing file: vol_007-season-4-ep-110
Error processing file: vol_008-season-4-ep-111
Error processing file: vol_009-season-4-ep-112

File is totally borked 🤣

7z l debug-WebToonsCom.zip 

7-Zip [64] 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=es_ES.UTF-8,Utf16=on,HugeFiles=on,2 CPUs)

Listing archive: debug-WebToonsCom.zip

--
Path = debug-WebToonsCom.zip
Type = zip
Physical Size = 194102

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2019-12-27 19:24:26 .....            6            8  





<!doctype html>
<html>
<head>
	<title>WEBTOON - The official home for all things WEBTOON</title>
	






<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
...

I’m doing something wrong here:

git pull upstream stable_1.x
python manga.py --debug "http://www.webtoons.com/en/fantasy/the-gamer/list?title_no=88"
Traceback (most recent call last):
  File "manga.py", line 4, in <module>
    from manga_py import main
  File "~/git/manga-py/manga_py/__init__.py", line 25
    print('Setup in progress?', file=stderr)
                                    ^
SyntaxError: invalid syntax