suche fix
This commit is contained in:
parent
8f956295c8
commit
14d3925e99
3 changed files with 6 additions and 6 deletions
|
@ -47,10 +47,10 @@ fi
|
||||||
video=""
|
video=""
|
||||||
if [ "$suche" == "suche" ]
|
if [ "$suche" == "suche" ]
|
||||||
then
|
then
|
||||||
if ! youtube-dl "ytsearch:$url" -i -c --socket-timeout 10000 --force-ipv4 --restrict-filenames --no-playlist $format $url; then
|
if ! youtube-dl "ytsearch:$url" -i -c --socket-timeout 10000 --force-ipv4 --restrict-filenames --no-playlist $format; then
|
||||||
echo "Download fehlgeschlagen"
|
echo "Download fehlgeschlagen"
|
||||||
fi
|
fi
|
||||||
video=$(youtube-dl "ytsearch:$url" -i -c --socket-timeout 10000 --force-ipv4 --restrict-filenames --no-playlist --get-filename $format $url)
|
video=$(youtube-dl "ytsearch:$url" -i -c --socket-timeout 10000 --force-ipv4 --restrict-filenames --no-playlist --get-filename $format)
|
||||||
else
|
else
|
||||||
if ! youtube-dl -i -c --socket-timeout 10000 --force-ipv4 --restrict-filenames --no-playlist $format $url; then
|
if ! youtube-dl -i -c --socket-timeout 10000 --force-ipv4 --restrict-filenames --no-playlist $format $url; then
|
||||||
echo "Download fehlgeschlagen"
|
echo "Download fehlgeschlagen"
|
||||||
|
|
|
@ -47,10 +47,10 @@ fi
|
||||||
video=""
|
video=""
|
||||||
if [ "$suche" == "suche" ]
|
if [ "$suche" == "suche" ]
|
||||||
then
|
then
|
||||||
if ! youtube-dl "ytsearch:$url" -i -c --socket-timeout 10000 --force-ipv4 --restrict-filenames --no-playlist $format $url; then
|
if ! youtube-dl "ytsearch:$url" -i -c --socket-timeout 10000 --force-ipv4 --restrict-filenames --no-playlist $format; then
|
||||||
echo "Download fehlgeschlagen"
|
echo "Download fehlgeschlagen"
|
||||||
fi
|
fi
|
||||||
video=$(youtube-dl "ytsearch:$url" -i -c --socket-timeout 10000 --force-ipv4 --restrict-filenames --no-playlist --get-filename $format $url)
|
video=$(youtube-dl "ytsearch:$url" -i -c --socket-timeout 10000 --force-ipv4 --restrict-filenames --no-playlist --get-filename $format)
|
||||||
else
|
else
|
||||||
if ! youtube-dl -i -c --socket-timeout 10000 --force-ipv4 --restrict-filenames --no-playlist $format $url; then
|
if ! youtube-dl -i -c --socket-timeout 10000 --force-ipv4 --restrict-filenames --no-playlist $format $url; then
|
||||||
echo "Download fehlgeschlagen"
|
echo "Download fehlgeschlagen"
|
||||||
|
|
|
@ -47,10 +47,10 @@ fi
|
||||||
video=""
|
video=""
|
||||||
if [ "$suche" == "suche" ]
|
if [ "$suche" == "suche" ]
|
||||||
then
|
then
|
||||||
if ! youtube-dl "ytsearch:$url" -i -c --socket-timeout 10000 --force-ipv4 --restrict-filenames --no-playlist $format $url; then
|
if ! youtube-dl "ytsearch:$url" -i -c --socket-timeout 10000 --force-ipv4 --restrict-filenames --no-playlist $format; then
|
||||||
echo "Download fehlgeschlagen"
|
echo "Download fehlgeschlagen"
|
||||||
fi
|
fi
|
||||||
video=$(youtube-dl "ytsearch:$url" -i -c --socket-timeout 10000 --force-ipv4 --restrict-filenames --no-playlist --get-filename $format $url)
|
video=$(youtube-dl "ytsearch:$url" -i -c --socket-timeout 10000 --force-ipv4 --restrict-filenames --no-playlist --get-filename $format)
|
||||||
else
|
else
|
||||||
if ! youtube-dl -i -c --socket-timeout 10000 --force-ipv4 --restrict-filenames --no-playlist $format $url; then
|
if ! youtube-dl -i -c --socket-timeout 10000 --force-ipv4 --restrict-filenames --no-playlist $format $url; then
|
||||||
echo "Download fehlgeschlagen"
|
echo "Download fehlgeschlagen"
|
||||||
|
|
Loading…
Reference in a new issue