-
-
Notifications
You must be signed in to change notification settings - Fork 975
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
[pinterest] user subcategory getting treated as board subcategory #2452
Comments
That.. doesn't seem right. Why do you put extractor options inside of Here's an example config, which is an absolute minimal config except for Pinterest. You could try this as a starting point: {
"extractor":
{
"pinterest":
{
"pin":
{
"directory": ["Pinterest", "Selected Pins"]
},
"board":
{
"directory": ["Pinterest", "Boards", "{board[owner][username]}", "{board[name]}"]
},
"pinit":
{
"directory": ["Pinterest", "Pin-its"]
},
"sections": true,
"videos": true,
"filename": "{category}_{id}.{extension}"
}
}
}
|
I guess I was tired 😄 copied it wrong. {
"extractor": {
"pinterest": {
"directory": ["{owner[username]}-pinterest"],
"board": {
"directory": ["bookmarks", "pinterest-{board[owner][username]}-{board[name]}"]
}
}
}
} It's not necessary to specify all subcategories, is it? |
We've all been there.. 😄
Yeah, I think this should work.. 😑
Nope, only the ones you want to change. |
Got it!
gallery-dl/gallery_dl/extractor/pinterest.py Lines 174 to 180 in 7e545a3
So I used https://www.pinterest.com/amazon instead, but that gets treated as a board for some reason and follows the board Edit: no wait I think I'm still tired. |
Indeed.. for the "user" sub-extractor, the input URL has to match this regular expression: gallery-dl/gallery_dl/extractor/pinterest.py Line 173 in 7e545a3
Not yet.. but I think this should be relatively straightforward to add form here on.. By the way, if you run gallery-dl with the |
User URLs get processed by fetching all boards for that account and then downloading from those, which is why all downloaded files have
You can enable
|
Apologies for being so cryptic in what I'm trying to achieve. My goal boils down to differentiating between the
Not sure what is meant by regular boards though. |
Commit 9c5d2d7 adds support for pins listed under
same
I meant using a board URL as direct input to gallery-dl ("regular" board), or when such a URL comes from a user URL like https://www.pinterest.com/amazon. |
I would like to download every pin created by https://www.pinterest.com/amazon (https://www.pinterest.com/amazon/_created/) to folder
amazon-pinterest/
, as well as https://www.pinterest.com/mybelonging/garage-goals/ tobookmarks/pinterest-mybelonging-garage-goals/
.Relevant config portion:
The problem:
--extractor-info
on https://www.pinterest.com/amazon outputs... but
--list-keywords
outputsSo everything ends up going under
bookmarks
as if it was a board.The text was updated successfully, but these errors were encountered: