mikf / gallery-dl

Command-line program to download image galleries and collections from several image hosting sites
GNU General Public License v2.0
11.7k stars 953 forks source link

gallery-dl.exe: error: The following arguments are required: URL #6286

Closed H1756f closed 2 weeks ago

H1756f commented 2 weeks ago

Hello, I am trying to download stuff from a Twitter link and upon entering it with that CMD usage

gallery-dl -u "" -p "" ""

Because I hate using a config file as it's confusing I get

usage: gallery-dl.exe [OPTION]... URL... gallery-dl.exe: error: The following arguments are required: URL Use 'gallery-dl --help' to get a list of all options.

I would like some help on how to do this as I can't get past that error I did try with another account that was locked and went through alright but failed to download anything as that account was locked

mikf commented 2 weeks ago

Does your username or password contain any special characters that need escaping? Maybe even quoting isn't good enough for all cases in cmd.exe. Try using backslashes.

Have you considered using cookies?


Because I hate using a config file as it's confusing I get

{
    "extractor": {
        "twitter": {
            "username": "Your_Twitter_Username",
            "password": "Your_Twitter_Password"
        }
    }
}
H1756f commented 2 weeks ago

Ah, thank you I changed my password to the twitter account I was using because it had some special characters that were not letting it work