3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-01 17:16:39 +02:00

get_title: ignore a title

This commit is contained in:
Pragmatic Software 2020-07-06 12:08:03 -07:00
parent 2d5a86356e
commit ab6ffc0a5e

View File

@ -6,6 +6,8 @@
# Quick and dirty by :pragma
# Update: Did I say quick and dirty? I meant lazy and filthy. I should rewrite this completely.
use LWP::UserAgent;
use HTML::Entities;
use Text::Levenshtein qw(fastdistance);
@ -167,6 +169,7 @@ exit if $t =~ m{^Loading}i;
exit if $t =~ m{streamable}i;
exit if $t =~ m{freenode}i;
exit if $t =~ m{ico scam}i;
exit if $t =~ m{^IBM Knowledge Center$}i;
exit if $t =~ m{Freenode head of infrastructure}i;
exit if $t =~ m{ISC on Twitter}i;
exit if $t =~ m{spambot.*freenode}i;