Closed OvertPerson closed 4 years ago
If you're on windows you can simply download the .exe from the latest release here: https://github.com/mikf/gallery-dl/releases
For other OSes you can read here: https://github.com/mikf/gallery-dl#installation
Do I just download the .exe because it instantly crashes whenever I try to use run it.
From my understanding yes that should be all you have to do, though I don't have access to any windows computer so someone else will have to help you there.
IMO, it's way easier to just use pip. Easier to update too.
cmd
then press enter.py -3 -m pip install --upgrade pip setuptools wheel
py -3 -m pip install --upgrade gallery-dl
gallery-dl "URL"
to the command prompt
Example:
gallery-dl "https://twitter.com/hanabushi_/media"
Optional:
gallery-dl --help
to the command prompt for an overview of possible command line options.%USERPROFILE%
to the file explorer's address bar, then press enter and click on Save:
https://raw.githubusercontent.com/mikf/gallery-dl/master/docs/gallery-dl.confgallery-dl
binary EXE is available on releases page. You don't have to install Python 3 runtime to get it. You can get it installed via https://scoop.sh too.
https://github.com/niheaven/scoop-main/blob/master/bucket/gallery-dl.json
gallery-dl
is a command line program and doesn't has GUI, so as you said:
Do I just download the .exe because it instantly crashes whenever I try to use run it.
It isn't crashed; it terminated itself. I assumed you just double clicked it or Run on desktop.
For ones who never used on Command Line Interface (CLI) or ones haven't get the basic, it wouldn't help...
Here's a quick rundown for those who have difficult to run this program, even though you have zero experience on CLI.
Assuming:
indra
so, it's c:\Users\indra
)
Step-by-step:
cmd
), you can find it on Start Button.C:\Users\indra
).cd Download
.explorer .
(yes, with dot at the end)gallery-dl.exe -h
and it shows help message.
gallery-dl.exe https://twitter.com/tkmiz/media
It downloads whole media and saved it on gallery-dl
right under your current working directory (Download).As someone who's comparatively a caveman when it comes to all these informed people, here's what I did to get set up.
I'm running Windows 10, and I haven't really had to input "py -3 -m" into Command Prompt before using pip or gallery-dl or had to put quotes on my inputted URL; I've always been able to run/update both just by inputting pip install --update gallery-dl or something like gallery-dl https://www.deviantart.com/jamesmantheregenold/gallery/all.
gallery-dl
binary EXE is available on releases page. You don't have to install Python 3 runtime to get it. You can get it installed via https://scoop.sh too. https://github.com/niheaven/scoop-main/blob/master/bucket/gallery-dl.json
BTW, that scoop package is somewhat outdated. I do not recommend using that.
I'm running Windows 10, and I haven't really had to input "py -3 -m" into Command Prompt before using pip or gallery-dl or had to put quotes on my inputted URL; I've always been able to run/update both just by inputting pip install --update gallery-dl or something like gallery-dl https://www.deviantart.com/jamesmantheregenold/gallery/all.
Well, always putting quotes around URLs is definitely a very good practice.
py -3
is the version independent Python launcher for Windows, you don't need that if you did a normal installation of Python 3, but it's a safe fallback because it is, well version independent, i.e. it's supposed to work with multiple Python installations with different versions, different installation locations and different options, all on the same system.
But yeah, all you have to do is basically that point number 1 from your list:
pip
is already included with the default installation preset. The only thing you have to make sure is that the option to "add Python to the PATH" is used during the installation, which should be, as far as I know, the default option when running the installer. There's a checkmark, and it should already be selected if you don't change it during the setup.
Then you have pip
in your PATH
and you can always use it, anytime, everywhere.
Now you can install gallery-dl simply by running pip install gallery-dl
, you don't have to install requests
manually, pip takes care of all necessary dependencies.
@Hrxn, scoop has auto update. There is an option to download latest version than indexed main bucket, but it way advanced and isn't recommend for stability.
I might ask for package update there.
pip
is already included with the default installation preset. The only thing you have to make sure is that the option to "add Python to the PATH" is used during the installation, which should be, as far as I know, the default option when running the installer. There's a checkmark, and it should already be selected if you don't change it during the setup.Then you have
pip
in yourPATH
and you can always use it, anytime, everywhere. Now you can install gallery-dl simply by runningpip install gallery-dl
, you don't have to installrequests
manually, pip takes care of all necessary dependencies.
I didn't notice that until I upgraded to 3.8 just last weekend, was very convenient and a pleasant surprise! I think I started using gallery back before it included the others like setuptools
or wheel
or, in this case, Requests
. Hell, when I first found this program, I had to install Requests
with pipenv and didn't even know that it was on PyPi.
Well, always putting quotes around URLs is definitely a very good practice.
As I've said, I know nothing of programming, other than knowing that that quotes and especially commas are vitally important with coding. If there's another reason to put the site in quotes, I might do that, but I just found it convenient that I could just Ctrl-V the site I was using after typing in the command name and hitting enter; especially if I'm only downloading like a number of individual images from deviantart.
I have no idea what to do or how to start.
Thank you