Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
ef4be54ff4 |
2 changed files with 2 additions and 1 deletions
|
@ -25,5 +25,5 @@ fi
|
||||||
|
|
||||||
pushd ${PWD}
|
pushd ${PWD}
|
||||||
cd "${DOWNLOAD_DIR}"
|
cd "${DOWNLOAD_DIR}"
|
||||||
youtube-dl -o "%(title)s-%(id)s.%(ext)s" "$url"
|
youtube-dl -t "$url"
|
||||||
popd
|
popd
|
||||||
|
|
|
@ -25,6 +25,7 @@ class MyForm(Form):
|
||||||
|
|
||||||
if form.validate():
|
if form.validate():
|
||||||
flash('OK. Starting download')
|
flash('OK. Starting download')
|
||||||
|
flash('et mon cul c\'est du poulet')
|
||||||
process = subprocess.Popen(['./dl_wrapper.sh', url],
|
process = subprocess.Popen(['./dl_wrapper.sh', url],
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
universal_newlines=True)
|
universal_newlines=True)
|
||||||
|
|
Loading…
Reference in a new issue