Video url saved with metadata [feature request] #8203

Closed
opened 2026-02-21 04:17:08 -05:00 by deekerman · 6 comments
Owner

Originally created by @philipzae on GitHub (Jul 10, 2016).

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.07.11. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2016.07.11

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

It would be useful if the video url was saved with the metadata, so it is easy to find the same video irrespective of the formatting of the filename.

Originally created by @philipzae on GitHub (Jul 10, 2016). ### Make sure you are using the _latest_ version: run `youtube-dl --version` and ensure your version is _2016.07.11_. If it's not read [this FAQ entry](https://github.com/rg3/youtube-dl/blob/master/README.md#how-do-i-update-youtube-dl) and update. Issues with outdated version will be rejected. - [x] I've **verified** and **I assure** that I'm running youtube-dl **2016.07.11** ### Before submitting an _issue_ make sure you have: - [x] At least skimmed through [README](https://github.com/rg3/youtube-dl/blob/master/README.md) and **most notably** [FAQ](https://github.com/rg3/youtube-dl#faq) and [BUGS](https://github.com/rg3/youtube-dl#bugs) sections - [x] [Searched](https://github.com/rg3/youtube-dl/search?type=Issues) the bugtracker for similar issues including closed ones ### What is the purpose of your _issue_? - [ ] Bug report (encountered problems with youtube-dl) - [ ] Site support request (request for adding support for a new site) - [x] Feature request (request for a new functionality) - [ ] Question - [ ] Other --- It would be useful if the video url was saved with the metadata, so it is easy to find the same video irrespective of the formatting of the filename.
Author
Owner

@dstftw commented on GitHub (Jul 13, 2016):

Original video URL is already present in --dump-json as webpage_url.

@dstftw commented on GitHub (Jul 13, 2016): Original video URL is already present in `--dump-json` as `webpage_url`.
Author
Owner

@philipzae commented on GitHub (Jul 14, 2016):

Though available in --dump-json, my request was intended to be about having it embedded into the file with --add-metadata.

@philipzae commented on GitHub (Jul 14, 2016): Though available in `--dump-json`, my request was intended to be about having it embedded into the file with `--add-metadata`.
Author
Owner

@dstftw commented on GitHub (Jul 14, 2016):

--add-metadata adds it either.

@dstftw commented on GitHub (Jul 14, 2016): `--add-metadata` [adds](https://github.com/rg3/youtube-dl/blob/master/youtube_dl/postprocessor/ffmpeg.py#L411) it either.
Author
Owner

@philipzae commented on GitHub (Jul 24, 2016):

Unfortunately add('purl', 'webpage_url') isnt working as URL isnt getting added to the file.

youtube-dl -f 43 https://www.youtube.com/watch?v=M3Yx_CGxRIU --add-metadata

ghex youtube_dl

@philipzae commented on GitHub (Jul 24, 2016): Unfortunately `add('purl', 'webpage_url')` isnt working as URL isnt getting added to the file. `youtube-dl -f 43 https://www.youtube.com/watch?v=M3Yx_CGxRIU --add-metadata` ![ghex youtube_dl](https://cloud.githubusercontent.com/assets/4412114/17083990/7ae0eea0-51c2-11e6-8ad4-54be484df23e.png)
Author
Owner

@dstftw commented on GitHub (Jul 24, 2016):

https://github.com/rg3/youtube-dl/issues/2368#issuecomment-131857469

@dstftw commented on GitHub (Jul 24, 2016): https://github.com/rg3/youtube-dl/issues/2368#issuecomment-131857469
Author
Owner

@philipzae commented on GitHub (Jul 25, 2016):

sorry my bad, the screenshot was from -f 18 (mp4) and not -f 43 (webm), so its not related to #2368.

@philipzae commented on GitHub (Jul 25, 2016): sorry my bad, the screenshot was from `-f 18` (mp4) and not `-f 43` (webm), so its not related to #2368.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl-ytdl-org#8203
No description provided.