rsskrl / rss-torrent

Downloader for torrent RSS Feeds
1 stars 0 forks source link

UserAgent Definition #1

Open moortimis opened 10 years ago

moortimis commented 10 years ago

Hey there, seems as if a couple of sites are a bit strict on which user-agent is being used to request the torrent files.

I have added the Chrome Browser settings as follows to get around this issue. Not sure if this affects to many people, but throught I'd mentioning it.

my $req = LWP::UserAgent->new( agent => "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36");

P.S. Thanks for the script, works like a charm.

anthortic commented 3 years ago

A useful contribution that helped me too. Thanks