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

Using url-metadata #1884

Closed
github-account1111 opened this issue Sep 23, 2021 · 4 comments
Closed

Using url-metadata #1884

github-account1111 opened this issue Sep 23, 2021 · 4 comments

Comments

@github-account1111
Copy link

I want to record the download url into metadata for each file. Relevant config portion:

{
  "extractor": {
    "reddit": {
      "url-metadata": "reddit.com{permalink}"
    }
  }
}

Based on the description, I assumed it would insert it in the Title field, but that one is is empty for every file I checked.

@thatfuckingbird
Copy link
Contributor

You have to set it to the name of the JSON field you want to save the file url into.
Example, if you set it to "gallery_dl_file_url" then a new "gallery_dl_file_url" entry will appear in the metadata json that gallery-dl creates.

@mikf
Copy link
Owner

mikf commented Sep 23, 2021

Any suggestions on how to improve this option's description when it gets misunderstood like that in its current form? Maybe just add an example?

@Hrxn
Copy link
Contributor

Hrxn commented Sep 23, 2021

Personally I think the description is just fine.. but yeah, maybe an example would help.

@mikf mikf closed this as completed in 8c29a6e Sep 29, 2021
@Hrxn
Copy link
Contributor

Hrxn commented Oct 5, 2021

FYI, because I just stumbled upon this again:
parent-metadata could definitely use some improved example(s) here as well 😄

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

4 participants