Many updates

This commit is contained in:
Cloud
2024-06-12 02:00:39 -03:00
parent dba75a7558
commit 8e732e0061
9 changed files with 59 additions and 23 deletions

View File

@@ -1,8 +1,8 @@
#!/bin/bash
gallery_dl_path=/mnt/e/home/Documents/Data\ hoarding
gallery_dl_path=/mnt/e/home/Documents/data-hoarding
cd "$gallery_dl_path"
urls=($(grep -Eo "(http|https)://[a-zA-Z0-9./?=_%:-]*" -i "$gallery_dl_path/todo.txt"))
urls=($(grep -Eo "(http|https)://[a-zA-Z0-9./?=_%:-]*" -i "$gallery_dl_path/todo.md"))
for url in ${urls[@]}; do gallery-dl $url; done