in reply to Re^5: Win32::API in perl v5.20.2
in thread Win32::API in perl v5.20.2

Quick test, works for me via the browser and fails with a 403 via LWP::Simple.

Update: Are you using a blocklist? LWP::Simple::get($url) does not work for some urls

Update 2: yeah, setting $ua->agent("WikiBot/0.1"); works.

Replies are listed 'Best First'.
Re^7: Win32::API in perl v5.20.2
by afoken (Chancellor) on Jul 03, 2015 at 09:47 UTC

    Same result here. wget works. Looks like some server-side abuse filter, perhaps because some asshole has run a DoS tool based on LWP against that site.

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
      Thanks for the sanity checks marto, afoken.
      I'll contact the organisation (greengeeks) that's hosting the site and see if they can shed some light on the matter.
      I haven't done anything or initiated any action that accounts for the changed behaviour.

      Cheers,
      Rob
        I'll contact the organisation (greengeeks) that's hosting the site ....

        They've altered one of their rules, and all seems to be working as it should again.

        Cheers,
        Rob