1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-23 15:23:15 +00:00
dotfiles/.local/bin/ao3

4 lines
182 B
Bash
Executable file

#!/bin/bash
list=$(grep works/[0-9]\* "$@" -o | uniq | grep -o [0-9]\* | tr '\n' , | sed s/.$//)
eval aria2c -Z https://download.archiveofourown.org/downloads/{$list}/\*.epub -d ao3