This repository has been archived on 2021-11-29. You can view files and clone it, but cannot push or open issues or pull requests.
rsstube-bash-old/scripts/url-extractors/plume

12 lines
251 B
Plaintext

determine_protocol
get_domain
# user page
if [[ "$url" == *${domain}/@/* ]]
then
# Atom feed should be at domain/@/username/atom.xml
username=${url##*${domain}/@/}
username=${username%%/*}
url_ext="${protocol}${domain}/@/${username}/atom.xml"
fi