-
-
Notifications
You must be signed in to change notification settings - Fork 976
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:gallery] Distracted into downloading other galleries by extractor.deviantart.extra="stash" #1387
Comments
Are you using v1.17.0 or a dev snapshot after 5c32a7b or 83f465f? (Neither log specifies a version) $ gallery-dl --version
1.17.1-dev
$ gallery-dl -o extra=stash https://www.deviantart.com/whoa-br0/gallery/all
/tmp/deviantart/Whoa-Br0/deviantart_873116635_Umiko Ahagon.jpg
/tmp/deviantart/Whoa-Br0/deviantart_872110825_Ellie and Mia.png
$ gallery-dl -o extra=all https://www.deviantart.com/whoa-br0/gallery/all
/tmp/deviantart/Whoa-Br0/deviantart_873116635_Umiko Ahagon.jpg
/tmp/deviantart/Magical-Icon/deviantart_627706034_Aoba Happy Icon.gif
/tmp/deviantart/Whoa-Br0/deviantart_872110825_Ellie and Mia.png Also why do you have the "deviantart": {
"folders": false,
"gallery": {
"folders": true
}
}
|
Dang, I knew I forgot something, the app version in this case. 1.17.0 off PyPi with
EDIT: Fixed an accidental typo in the following sentence: I don't want the gallery/favs folders to be created but I want the folder metadata saved; according to https://github.com/mikf/gallery-dl/blob/master/docs/configuration.rst#extractordeviantartflat the folders are by default not created, and I didn't have that option in the config. Looks like I misunderstood the sub-category part of https://github.com/mikf/gallery-dl/blob/master/docs/configuration.rst#extractor-options if you can do "deviantart": {
"folders": false,
"gallery": {
"folders": true
}
} |
The changes from #1356 haven't been "officially" released yet, and 1.17.0 only supports
Then enabling |
I'm using the dev version but "stash" is still grabbing a ton of random accounts. It's not as bad as when it's set to "true" though. Edit: I'm trying to check where it happened. |
It doesn't seem to be doing it now. I know it was up to date the last time I tried this. And there was a huge difference between "true" and "stash". I'm not sure what happened. |
Actually it did download a ton of random accounts, I just didn't wait long enough. I can post logs later. |
I left it running longer than I should have so there's a lot of output to go through. "deviantart": {
"archive": null,
"extra": "stash",
"cookies": "/mnt/main/temp/gallery-dl/cookies/cookies.txt",
"include": [
"gallery",
"journal",
"scraps"
],
"folders": true,
"journals": "html",
"mature": true,
"metadata": true,
"original": true,
"quality": 100,
"retries": 30,
"refresh-token": "cache",
"oauth": {
"browser": false,
"cache": true,
"port": 6414
},
"client-id": redacted,
"client-secret": redacted,
"base-directory": "$ROOT/archive/by-source/other/deviantart.com/archive/",
"category-transfer": true,
"parent-directory": false,
"directory": [
"_extra",
"{author[username]}"
],
"gallery": {
"category-transfer": true,
"directory": [
"{author[username]}"
],
"folders": true,
"flat": true
},
"journal": {
"category-transfer": true,
"directory": [
"{author[username]}",
"Journal"
],
"flat": true
},
"scraps": {
"category-transfer": true,
"directory": [
"{author[username]}",
"Scraps"
],
"flat": true
},
"favorite": {
"category-transfer": true,
"directory": [
"{author[username]}",
"Favorites"
],
"flat": false
}
}, It makes it put all the "extra" stuff in its own folder. I really don't know how to identify what's what in the log but the accounts that weren't in the input list seem to happen at the same time from what I've seen:
Here's the full log: Edit: My version is 1.17.1-dev |
@Twi-Hard The core of your issue comes from https://www.deviantart.com/adventuretimeclub. (Not on your posted input list, so maybe there's something else really wrong here)
Speaking of, I've decided to revert the change to |
https://www.deviantart.com/adventuretimeclub was apparently in the actual input list. the termbin link I posted was the list of folders it created in the download directory (which shouldn't be accounts that aren't in the input list which is why I said it's from the input list). |
Since 1.7.10 which enabled downloading at least embedded sta.sh/galleries, trying to download a specific gallery got distracted into downloading others once done with the intended gallery (or so it seemed, I didn't fully check) for some reason, but now the intended gallery gets ignored and some other gallery gets downloaded instead.
It seems that while
extractor.deviantart.extra
is notnull
it happens since going from"stash"
tonull
fixed it.Most prominent examples:
null
it's downloading stuff it hadn't: https://paste.gg/p/rautamiekka/6756d31b09cc4e3596f3b330617534c2My config=https://paste.gg/p/rautamiekka/f63017b52a6b49dfb1a9d385661afcb0
The output with
"stash"
on the 1st link=https://paste.gg/p/rautamiekka/28538891d13e40d28dba6c93dcf8ae6bThe output with
null
on the 1st link=https://paste.gg/p/rautamiekka/3189af6a256b40099a175b91ab6e243cThe text was updated successfully, but these errors were encountered: