From 1644a58e5624688086c11bd1fe0842d8f89e7309 Mon Sep 17 00:00:00 2001 From: Marco D'Agostini Date: Sun, 14 Jun 2020 15:32:38 -0500 Subject: [PATCH] Fix: Crashed when downloading from long tweets truncate `title` to 150 characters --- install youtube-dl in android.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install youtube-dl in android.md b/install youtube-dl in android.md index 73cd01e..72266d4 100644 --- a/install youtube-dl in android.md +++ b/install youtube-dl in android.md @@ -23,7 +23,7 @@ https://termux.com/ # Configure to download videos in `Downloads/{URL's provider (e.g. Youtube)}/{filename}` mkdir -p ~/.config/youtube-dl && echo "# Default Output Directory and Pattern - -o /data/data/com.termux/files/home/storage/downloads/%(extractor_key)s/%(title)s-%(id)s.%(ext)s" > ~/.config/youtube-dl/config && + -o /data/data/com.termux/files/home/storage/downloads/%(extractor_key)s/%(title).150s-%(id)s.%(ext)s" > ~/.config/youtube-dl/config && # Configure to open shared URLs with `youtube-dl {url}` mkdir ~/bin && echo '#!/bin/bash