12 lines
307 B
Plaintext
12 lines
307 B
Plaintext
# get username (cut off https://www.deviantart.com/ from front)
|
|
username=${url##*deviantart.com/}
|
|
|
|
# cut off any extra stuff from end
|
|
username=${username%%/*}
|
|
|
|
if [[ -n $username ]]
|
|
then
|
|
rss="https://backend.deviantart.com/rss.xml?type=deviation&q=by%3A${username}+sort%3Atime+meta%3Aall"
|
|
url_ext=$rss
|
|
fi
|