This website works better with JavaScript.
Explore
Help
Sign In
Mirroring
/
yt-dlc
mirror of
https://github.com/blackjack4494/yt-dlc
Watch
1
Star
0
Fork
You've already forked yt-dlc
0
Code
Issues
Releases
Wiki
Activity
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
325ebc1703
master
release
pr/150
2020.10.24-6
2020.10.26
2020.10.31
2020.11.07
2020.11.10
2020.11.11-3
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from '325ebc1703'
${ noResults }
yt-dlc
/
yt-dlp.sh
3 lines
79 B
Bash
Raw
Normal View
History
Unescape
Escape
Improve the yt-dlp.sh script (#248) * Quote the `$0` variable to correctly handle spaces * Change the shebang line to `/bin/sh` to avoid unnecessarily depending on bash * Use the `exec` command to avoid having the shell process linger unnecessarily * Change the mode to make the script directly executable Authored by: fstirlitz :ci skip all
4 years ago
#!/bin/sh
exec
python3
"
$(
dirname
"
$(
realpath
"
$0
"
)
"
)
/yt_dlp/__main__.py
"
"
$@
"