This website requires JavaScript.
Explore
Help
Sign in
Miroirs
/
yt-dlp
Watch
1
Star
0
Fork
You've already forked yt-dlp
0
mirror of
https://github.com/yt-dlp/yt-dlp
synced
2024-12-26 21:59:08 +01:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
5
1aebc0f79e
yt-dlp
/
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
2021-04-17 15:51:25 +02:00
#!/bin/sh
exec
python3
"
$(
dirname
"
$(
realpath
"
$0
"
)
"
)
/yt_dlp/__main__.py
"
"
$@
"
Reference in a new issue
Copy permalink