youtube-lbry: Allow for YouTube IDs starting with -.
This commit is contained in:
parent
5d44c749f5
commit
162d6e0589
|
@ -78,7 +78,7 @@ copy_one() {
|
|||
tmp=$(mktemp -p "`pwd`" -d)
|
||||
cd "$tmp"
|
||||
# Get metadata in .json-format
|
||||
youtube-dl --write-description --write-info-json --write-annotations "$youtubeurl"
|
||||
youtube-dl --write-description --write-info-json --write-annotations -- "$youtubeurl"
|
||||
|
||||
# youtube-dl may download a .webm but convert it to mkv
|
||||
# So we do not know the extension. Instead we use the newest
|
||||
|
|
Loading…
Reference in a new issue