youtube-dl --add-metadata fails to save webpage_url in all cases except .flv. Since 'copyright' is unused, yet supported in all formats that support metadata, this makes use of it. Example of issue from video saved with varying combinations of -f and -x, (with this patch applied) flv copyright : http://www.bbc.com/news/world-asia-33179629 flv purl : http://www.bbc.com/news/world-asia-33179629 m4a Copyright : http://www.bbc.com/news/world-asia-33179629 mp3 Copyright : http://www.bbc.com/news/world-asia-33179629 mp4 Copyright : http://www.bbc.com/news/world-asia-33179629 wav Copyright : http://www.bbc.com/news/world-asia-33179629 More info at http://wiki.multimedia.cx/index.php?title=FFmpeg_Metadata Another option is to append the url to 'description' however this will be truncated in some cases due to desc length and media format, and hard to programmatically extract in others, due to urls in the desc itself.
This reverts commit 32060c6d6b.
32060c6d6b
It's broken. See #6038
It's found in bbc.co.uk. See #6038
Closes #5968
Fixes #5996
Mainly avoid having to use an index.
[safari] make url regex more lenient