gallery-dl
gallery-dl copied to clipboard
[deviantart] 'Connection aborted.' for preview only pic.
Hi, thank you for awesome program. When i download gallery with download buttons exists all good, but when i try download gallery with pictures without it i get errors for each pic. Example:
gallery-dl https://www.deviantart.com/rickb500/art/Live-Mask-888075898
downloader.http: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) (1/4)
downloader.http: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) (2/4)
gallery-dl -g
only print target[src] (= content[src]) link, while "-K" show also "preview[src]"
I set "original": false
,, in the settings, but nothing changed.
I do something wrong, or this type of pictures can only be downloaded from browser?
Also, how i can set --filter "is_downloadable == True and content['height'] > 800 and content['width'] > 800" to config?
"cmdline-args": "--filter \"is_downloadable == True and content['height'] > 800 and content['width'] > 800\""
gives no warning but also not work.
My config for deviantart (all other taken from gallery-dl-example.conf)
"deviantart":
{
"#": "use custom API credentials to avoid 429 errors",
"client-id": "***",
"client-secret": "***",
"refresh-token": "***",
"auto-watch": true,
"auto-unwatch":true,
"#": "download 'gallery' and 'scraps' images for user profile URLs",
"include": "gallery,scraps",
"mature": true,
"original": false,
"folders": false,
"filename": "{title}-{index}.{extension}",
"directory": ["{category}","{username}_{author[userid]}"],
"gallery": {
"folders": false
},
"favorite": {
"folders": false
},
"journals": "none",
"quality": 100,
"wait-min": 0,
"flat": true,
"#": "put description texts into a separate directory",
"metadata": false,
"postprocessors":
[
{
"name": "metadata",
"mode": "custom",
"directory" : "Descriptions",
"content-format" : "{description}\n",
"extension-format": "descr.txt"
}
]
}
I know this doesn't particularly help, but your link Works on My Machine :tm:
$ gallery-dl https://www.deviantart.com/rickb500/art/Live-Mask-888075898
/tmp/deviantart/RickB500/deviantart_888075898_Live Mask.jpg
Your config options don't really matter here, and gallery-dl doesn't do anything fancy to this sort of URL either.
Can you access the following in your browser?
https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/b35296a1-8f89-4dcb-8076-ff4f3077b813/deoqjqy-e4e460fc-ab94-465e-95be-ee54a3c58466.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7InBhdGgiOiJcL2ZcL2IzNTI5NmExLThmODktNGRjYi04MDc2LWZmNGYzMDc3YjgxM1wvZGVvcWpxeS1lNGU0NjBmYy1hYjk0LTQ2NWUtOTViZS1lZTU0YTNjNTg0NjYuanBnIn1dXSwiYXVkIjpbInVybjpzZXJ2aWNlOmZpbGUuZG93bmxvYWQiXX0.LW8lq9rHml_f5MWEdNVKyShGMNts37WlA-1Uor3z5jA
Maybe this is just a network problem on your end and/or wixmp.com refuses to serve content to your IP.
Also, how i can set --filter "is_downloadable == True and content['height'] > 800 and content['width'] > 800" to config?
"cmdline-args": "--filter \"is_downloadable == True and content['height'] > 800 and content['width'] > 800\""
gives no warning but also not work.
cmdline-args
is not a recognized config option, so it just gets ignored.
--filter
in a config file is image-filter
, so it would be
"image-filter": "is_downloadable and content['height'] > 800 and content['width'] > 800"
I know this doesn't particularly help, but your link Works on My Machine tm Maybe this is just a network problem on your end and/or wixmp.com refuses to serve content to your IP.
Actually it help. I didn't think about the connection problem because the site was up and half of the content was downloading as well. So it is logical to think that the problem is with the processing.
Yes, trying to open this link causes a secure connection problem. However, the same http request opens the image. The same with curl https request is terminated, but if you request an image via http or with the -k (--insecure) option, then the image is downloaded without problems. It turns out something is wrong with my network settings. In any case, thanks for help.