Comic-dl is a command line tool to download manga and comics from various comic and manga sites. Supported sites : readcomiconline.to, mangafox.me, comic naver and many more.
The imports are broken because of relative imports. __main__.py is part of the package which is why it should no be run as an external command. My solution copies the file (which optimally should not be in the package folder but in the project root) and sets the PYTHONPATH such the project is installed. Seems to work
Yeah, that's the issue. I wrote this script when I had started learning python. I'm too lazy to re-structure. But, for the time being, this should do just fine. Thanks a lot for this Stefan! :)
The imports are broken because of relative imports.
__main__.py
is part of the package which is why it should no be run as an external command. My solution copies the file (which optimally should not be in the package folder but in the project root) and sets thePYTHONPATH
such the project is installed. Seems to work