Skip to content

Commit 73a0888

Browse files
authored
Merge pull request #897 from bw1/imdb
[imdb] change agent
2 parents 1a0aad0 + ab75635 commit 73a0888

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

scripts/imdb.pl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
use HTML::Entities;
55
use vars qw($VERSION %IRSSI $cache);
66

7-
$VERSION = '1.05';
7+
$VERSION = '1.06';
88
%IRSSI = (
99
authors => 'Eric Jansen',
1010
contact => '[email protected]',
@@ -13,12 +13,13 @@
1313
license => 'GPL',
1414
modules => 'LWP::UserAgent HTML::Entities',
1515
url => 'http://xyrion.org/irssi/',
16-
changed => '2022-12-09',
16+
changed => '2025-11-16',
1717
selfcheckcmd=> 'imdb check',
1818
);
1919

2020
my $ua = new LWP::UserAgent;
21-
$ua->agent("Irssi/imdb/$VERSION");
21+
#$ua->agent("Irssi/imdb/$VERSION");
22+
$ua->agent('Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0) Gecko/20100101 Firefox/143.0');
2223

2324
# Set the timeout to five second, so it won't freeze the client too long on laggy connections
2425
$ua->timeout(5);

0 commit comments

Comments
 (0)