i'm working on my own twitch bot i'm trying to get the bot to connect to my twitch the followers section and return who's following me if anyone could help i'd appreciate it
www.twitch.tv/solemnviper/followers is the link to the site
alias checksubs {
sockopen subcheck www.twitch.tv 80
set -u3 %subcheck2 .write follower.txt
}
on *:sockopen:subcheck: {
sockwrite -n $sockname GET /solemnviper/followers HTTP/1.1
sockwrite -n $sockname Host: $+($sock(subcheck).addr,$str($crlf,2))
}
on *:sockread:subcheck: {
.set %subcheck | sockread %subcheck
if ( *tw-interactive tw-link* iswm %subcheck) {
%subcheck2 $remove(%subcheck,<span class="welcome">,<i>,</i>,</strong>,</font>, ,</td>,<strong>)
sockclose subcheck
}
}