12 lines
357 B
Plaintext
12 lines
357 B
Plaintext
|
determine_protocol
|
||
|
get_domain
|
||
|
instance="${protocol}${domain}"
|
||
|
|
||
|
channel=`echo $content | grep -Pzo '(?<=<div class="h-box"> <a href=").*?(?=" style="display:block;width:fit-content;width:-moz-fit-content"> <div class="channel-profile">)' | head -1 | tr '\0' '\n'`
|
||
|
channel="${channel##/}"
|
||
|
|
||
|
if [[ -n $channel ]]
|
||
|
then
|
||
|
page_ext="${instance}/feed/${channel}"
|
||
|
fi
|