]> git.99rst.org Git - irssi-scripts.irssi.org.git/commitdiff
[imdb] change agent
authorbw1 <redacted>
Sun, 23 Nov 2025 15:49:51 +0000 (16:49 +0100)
committerbw1 <redacted>
Sun, 23 Nov 2025 15:49:51 +0000 (16:49 +0100)
scripts/imdb.pl

index 601b4800f8f695990c8a5c7051b290e064327eec..afa6271c6c46030c0318294981e9de2a189796f7 100644 (file)
@@ -4,7 +4,7 @@ use LWP::UserAgent;
 use HTML::Entities;
 use vars qw($VERSION %IRSSI $cache);
 
-$VERSION = '1.05';
+$VERSION = '1.06';
 %IRSSI = (
     authors    => 'Eric Jansen',
     contact    => 'chaos@sorcery.net',
@@ -13,12 +13,13 @@ $VERSION = '1.05';
     license    => 'GPL',
     modules    => 'LWP::UserAgent HTML::Entities',
     url                => 'http://xyrion.org/irssi/',
-    changed    => '2022-12-09',
+    changed    => '2025-11-16',
     selfcheckcmd=> 'imdb check',
 );
 
 my $ua = new LWP::UserAgent;
-$ua->agent("Irssi/imdb/$VERSION");
+#$ua->agent("Irssi/imdb/$VERSION");
+$ua->agent('Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0) Gecko/20100101 Firefox/143.0');
 
 # Set the timeout to five second, so it won't freeze the client too long on laggy connections
 $ua->timeout(5);
git clone https://git.99rst.org/PROJECT