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/page-extractors/chirbit

8 lines
193 B
Plaintext
Raw Permalink Normal View History

2021-11-28 19:00:00 -05:00
username=`echo "$content" | grep -o -P '(?<=<span id="chirbit-username">).*?(?=</span>)' | head -1`
if [[ -n "$username" ]]
then
rss="https://www.chirbit.com/$username/rss"
page_ext=$rss
fi