AlphaSlayer1964 / kemono-dl

A simple kemono.party downloader using python.
509 stars 83 forks source link

noob here need some help #147

Closed momo5120 closed 2 years ago

momo5120 commented 2 years ago

when i try to do the cookie.txt i keep getting

C:\Users\mh\AppData\Local\Programs\Python\Python310\python.exe: can't find 'main' module in 'C:\Users\mh\kemono-dl.py'

any way to fix ty

Ovear commented 2 years ago

Download full source code and extract to one single folder should help.

momo5120 commented 2 years ago

Download full source code and extract to one single folder should help.

C:\Users\mh>py kemono-dl.py --cookies "cookie.txt" --links https://kemono.party/patreon/user/34664186 Traceback (most recent call last): File "C:\Users\mh\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\mh\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "C:\Users\mh\kemono-dl.py__main__.py", line 1, in import requests ModuleNotFoundError: No module named 'requests'

afterdelight commented 2 years ago

pip install requests on cmd

momo5120 commented 2 years ago

sorry for asking for help so much

but now after the pip install requests on cmd im getting

momo5120 commented 2 years ago

C:\Users\mh>py kemono-dl.py --cookies "cookie.txt" --links https://kemono.party/patreon/user/34664186 Traceback (most recent call last): File "C:\Users\mh\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\mh\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "C:\Users\mh\kemono-dl.py__main__.py", line 12, in from .args import get_args ImportError: attempted relative import with no known parent package

afterdelight commented 2 years ago

cd to kemono-dl folder where requirements.txt is located then exec pip install -r requirements.txt