in reply to Out of milk website via WWW::Mechanize

Quick guess: Did you make sure the site can be used without JavaScript being enabled?

Because WWW::Mechanize doesn't do JS. (see FAQ )

On a side note: does the website allow automatic retrieval?

Otherwise IMHO it wouldn't be legal to help you.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

  • Comment on Re: Out of milk website via WWW::Mechanize

Replies are listed 'Best First'.
Re^2: Out of milk website via WWW::Mechanize
by bigswifty00000 (Beadle) on Dec 30, 2016 at 21:51 UTC

    Thanks for the reply, I was aware that Mech doesn't do js, but thought if not trying to manipulate js, I could get through to the shopping list page.

    As far as legal concern, this was just to manipulate my own personal lists on the site, (which I can do manually) and wouldn't be used as a bot of any kind. It was more of a learning experience.

      Sorry, but did you answer my question?

      Does the website work within a browser with deactivated JS? Yes or no?

      If not, forget WWW::Mechanize !

      > but thought if not trying to manipulate js, I could get through to the shopping list page.

      ? ? ?

      Mech doesn't do JS at all!

      Cheers Rolf
      (addicted to the Perl Programming Language and ☆☆☆☆ :)
      Je suis Charlie!

        ok, got your point. If not, would it be still possible using LWP?

        Thanks again!

        ok, got your point. If website does not work without js, would what I want to achieve still be still possible using LWP?

        Thanks again!