This website requires JavaScript.
Explore
Help
Sign In
Ashish
/
yt-dlp
Watch
1
Star
1
Fork
0
You've already forked yt-dlp
mirror of
https://github.com/yt-dlp/yt-dlp.git
synced
2024-11-05 09:47:27 -05:00
Code
Issues
7
Projects
Releases
Wiki
Activity
c31be5b009
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 09:51:25 -04:00
#!/bin/sh
exec
python3
"
$(
dirname
"
$(
realpath
"
$0
"
)
"
)
/yt_dlp/__main__.py
"
"
$@
"
Reference in New Issue
Copy Permalink