Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[deviantArt] Group galleries no longer download, as gallery-dl seems unable to autodetect group-subfolders #1056

Closed
a-washing-machine opened this issue Oct 10, 2020 · 3 comments

Comments

@a-washing-machine
Copy link

a-washing-machine commented Oct 10, 2020

Using latest version 1.15.0, gallery-dl no longer autodetects subfolders in groups. This means it effectively does nothing when given a group-gallery to download.

Example, see https://www.deviantart.com/5-fanclub/gallery/?catpath=/

verbose output, without using my config-file:

da-dl_1.15.0.exe --verbose https://www.deviantart.com/5-fanclub/gallery/?catpath=/
[gallery-dl][debug] Version 1.15.0
[gallery-dl][debug] Python 3.8.5 - Windows-10-10.0.18362
[gallery-dl][debug] requests 2.24.0 - urllib3 1.25.10
[gallery-dl][debug] Starting DownloadJob for 'https://www.deviantart.com/5-fanclub/gallery/?catpath=/'
[deviantart][debug] Using DeviantartGalleryExtractor for 'https://www.deviantart.com/5-fanclub/gallery/?catpath=/'
[deviantart][debug] Using default API credentials (client-id 5388)
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): www.deviantart.com:443
[urllib3.connectionpool][debug] https://www.deviantart.com:443 "GET /api/v1/oauth2/user/profile/5-fanclub HTTP/1.1" 400 97
[urllib3.connectionpool][debug] https://www.deviantart.com:443 "GET /api/v1/oauth2/gallery/folders?username=5-fanclub&offset=0&limit=50&mature_content=true HTTP/1.1" 200 493

The group contains multiple folders with several images, including a Featured folder. It seems gallery-dl fails to autodetect these folders. I tested it with some other groups, with the same result.

Downloading the individual folders seems to work fine, e.g.:
da-dl_1.15.0.exe https://www.deviantart.com/5-fanclub/gallery/73283345/5-as-a-stitchpup
da-dl_1.15.0.exe https://www.deviantart.com/5-fanclub/gallery/73283289/featured

These are my config-settings (private data obscured), in case it should prove relevant. Though the issue is reproducible without a config-file also.

{
    "extractor":
    {
          "deviantart":
        {
			"cookies": "cookies.txt",
			"refresh-token": "tokenfromoauthgoeshere",
			"client-id": "12345",
            "client-secret": "abcdefghijklmnopqrstuvwxyz123",			
			"extra": true,
			"metadata": true,
            "postprocessors": [{
                "name": "metadata",
                "mode": "custom",
                "format": "{description}\n"
            }]
        }
    }

}
@mikf
Copy link
Owner

mikf commented Oct 10, 2020

See #1051 (comment)

In short: add "blacklist": "foobar" to your dA config, or wait for 1.15.1.

@a-washing-machine
Copy link
Author

Oh, ok. In that case it was useful to bring up my config file after all. ^_^

@mikf
Copy link
Owner

mikf commented Oct 11, 2020

1.15.1 with the fix is out.

@mikf mikf closed this as completed Oct 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants