Open CanineCuriosity opened 4 years ago
On https://github.com/TilCreator/Tapas-Comic-Downloader click the green download button, click the download zip button. Then extract the zip to somewhere. Open cmd (found in the searchbar), enter cd <where you have extracted the zip>
(without the <>
), then enter pip install -r requirenments.txt
and after that you are ready to use python tapas-dl.py <name>
(without the <>
) to download comics.
Got an error in cmd, it doesn't seem to recognize the pip command. Python is installed, so maybe I missed something during the setup?
Ignore the previous comment, I think I got it working. I tried to use the script, but it didn't do anything. Am I missing something here?
All three commands should give at least some output. Are the files (requirenments.txt, requirenments_novels.txt, tapas-dl.py) in that folder (C:\Python)?
Yeah, that's where I put them. So, it seems like the command prompt doesn't recognize the python commands (which means I probably messed up somewhere when installing it). Is there a way to install these using python's own command prompt?
Sadly idk, you would have to look into the pip docs for that. To fix the cmd not recognising python you probably want to search for "Windows Python in PATH" or similar.
Help, i am completely helpless when it comes to coding. How can I fix this??
You need to be in the same directory where the files (requirenments.txt, requirenments_novels.txt, tapas-dl.py) are. See the cd
command.
Uhmm, how to do that? I've downloaded the zip and stored it in drive D. I just copied and pasted it's location to cmd
Extract the zip and go to the directory where you extracted it. You will find enough help on how to use the cd
command on the internet.
Oh okay, got it thanks😊
Can I close this issue now?
I have a problem when it comes to downloading the novels from tapas whether i enter the URl it says 'piquery' not found. Can somebody pls tell me how to fix it?
Have you installed the requirements.txt?
I am sorry for being a total ignorant. By installing you mean running it into cmd? Yes i did i ran it through cmd.
I mean those two commands:
pip install -r requirenments.txt
pip install -r requirenments_novels.txt
Alright, I got python working on cmd. I think. It says the download was succesful.
In case someone else runs into the same problem, this tip from a random forum did the trick:
However, I ran into another problem (probably 'cause I'm using the code wrong or something): When I run the code, it doesn't give any indicator that it actually did something. Can you provide an example of a fully functional command? Thanks in advance.
~/git/Tapas-Comic-Downloader on master
❯ python tapas-dl.py Erma
Erma [Erma] (450 pages):
Found directory, only updating (use -f/--force to disable)
Detected comic
Downloaded 21 of 21 images
What does python --version
(enter in the cmd) say?
Yes.. I entered the command for novels...
On Wed, 11 Nov 2020, 3:37 AM TilCreator J. notifications@github.com wrote:
I mean those two commands:
pip install -r requirenments.txt pip install -r requirenments_novels.txt
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/TilCreator/Tapas-Comic-Downloader/issues/27#issuecomment-724921816, or unsubscribe https://github.com/notifications/unsubscribe-auth/APPE2IKJS6BSNTMOD2ARKVLSPGJAJANCNFSM4SS5XU3Q .
You need both, not just requirenments_novels.txt
Okay, so, cmd doesn't recognize "python" as a command, but it does recognize "py". Here's what I got so far:
So, it seems like I can run the command just fine with that small modification, but there is another error here.
I have no idea what is happening there and the only suggestion I have is to use Linux instead of Windows ^^
it says directory name is invalid??
Try python tapas-dl.py -c xuanlong
The -c
option was specificaly created for windows, because it restricts file name characters. Also have a look at python tapas-dl.py --help
, that lists all available options.
Still says the same though even with -c. I also did some research on how to fix the error and it still says the same...
C:\Tapas-Comic-Downloader-master\Tapas-Comic-Downloader-master>python tapas-dl.py -c Xuanlong
Loading Xuanlong... Xuanlong: Steel and Fang [Xuanlong] (155 pages):
Checking folder... Traceback (most recent call last):
File "C:\Tapas-Comic-Downloader-master\Tapas-Comic-Downloader-master\tapas-dl.py", line 131, in
Oh, you're right, error on my part, it's fixed now
Was there an error in the code?
Also, I don't have access to a system with linux, but I could try to set up a Virtual Machine. Can you give me the exact version of linux and python you're running? Also, does the code have some random interactions with VMs that I should be aware of?
Lets see if we can find a fix for windows users :3
Yes
It shouldn't be hard to install on Windows / Only be easier on Linux if you know what you are doing. But shure, try it. I'm using ArchLinux (has no Versioning) and Python 3.8.6 (But the version really should make no difference if it's greater than 3.0.0). And there are no complications between that script and vms that I'm aware of.
There are plenty of people already using the script on Windows without problems.
Can this be closed?
I had the same problem with "Unable to create process using 'C:\bin\env python3". I managed to solve it by following this with some adaptations. OP had to search Python in a different folder and use the .exe there, while I could use my regular installation folder just fine.
Thus,
C:\Users\liutongjun\AppData\Local\Programs\Python\Python312\python.exe tapas-dl.py -c https://tapas.io/series/Erma
finally worked for me. Now all that's left is to get the script working for locked chapters, despite me having an account with those chapters bought....
Edit: just got it working. exporting cookies on firefox requires a third party extension, unfortunately. Thanks for the script, TilCreator!
This tool is just what I'm looking for, but I'm struggling a bit with the installation. I'm a complete noob when it comes to coding, so please talk to me like you would talk to an idiot XD
This part is the one giving me trouble: "Navigate to repo location (needs to be downloaded)"
Python is installed, and I can find a lot of modules with help("modules") command, but that's about it. (I'm using Windows 10 and Python 3.9)
Any help is appreciated!