* fix typo causing a lot of TEMP mishap

merge-requests/6/head
Dominika Liberda 2021-07-01 14:23:58 +00:00
parent 58a6c5ace1
commit f1607ec8cb
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ if [[ "${get_data[v]}" ]]; then
if [[ $video == '' ]]; then # seriously WHO DID THIS
if [[ "${cfg[regionlock_proxy]}" == true ]]; then
# retrying w/ proxy!
video=$(haruhi-dl --ie-key Youtube --write-pages --cookies ${cfg[_cookies]} --proxy "${cfg[regionlock_proxy_url]}" -J "http://youtube.com/watch?v=${get_data[v]}" 2> output$random_hash.log)
video=$(haruhi-dl --ie-key Youtube --write-pages --cookies ${cfg[_cookies]} --proxy "${cfg[regionlock_proxy_url]}" -J "http://youtube.com/watch?v=${get_data[v]}" 2> temp/output$random_hash.log)
fi
output=$(cat temp/output$random_hash.log)
rm temp/output$random_hash.log