www-mechanize Questions

5

Solved

I have a lot of scripts, most of them based around WWW::Mechanize that scrape data off of misc hardware that is accessible via HTTPs. After upgrading most of my perl installation and its modules, a...
Aras asked 14/11, 2012 at 19:24

1

Solved

I want to use Perl www::mechanize to connect to the webserver and request a resource. E.g. http://www.my.domain/test.html. But I want to specify the IP address independently from the hostname in th...
Referential asked 29/1, 2021 at 16:10

4

Solved

After purchasing a SSL certificate I have been trying to force all pages to secured https and to www. https://www.exampl.com is working and secure but only if type it in exactly. www.example.com ...
Clomp asked 9/9, 2015 at 18:26

4

Solved

I'm using WWW::Mechanize to read a particular webpage in a loop that runs every few seconds. Occasionally, the 'GET' times out and the script stops running. How can I recover from one such timeout ...
Costumer asked 22/9, 2010 at 5:7

2

Solved

So I am using WWW::Mechanize to crawl sites. It works great, except if I request a url such as: http://www.levi.com/ I am redirected to: http://us.levi.com/home/index.jsp And for my script I...
Olsson asked 6/6, 2012 at 20:49

2

Solved

I am trying to retrieve a Web page using WWW::Mechanize and it is failing with SSL connect error. How do I fix the issue? I am running ActivePerl 5.20.2 on Windows 10 x64. Here is the script I ex...
Lemar asked 6/1, 2018 at 18:37

2

Solved

I am receiving the following server error on a perl script: malformed header from script. Bad header=: youtube_perl.pl, Here is my source code: #!"C:\XAMPP\perl\bin\perl.exe" -T use st...
Agoraphobia asked 25/1, 2011 at 18:0

4

Solved

I'm searching a module for Node which would be similar to WWW::Mechanize for Perl. Or even better to WWW::Mechanize::Firefox. The main functionality would be to find and submit form by name, cla...
Renal asked 24/4, 2013 at 19:38

9

Solved

I'm looking for a library that has functionality similar to Perl's WWW::Mechanize, but for PHP. Basically, it should allow me to submit HTTP GET and POST requests with a simple syntax, and then par...
Tint asked 13/10, 2008 at 21:12

3

Solved

I want to port a python app that uses mechanize for the iPhone. This app needs to login to a webpage and using the site cookie to go to other pages on that site to get some data. With my python ap...
Treasatreason asked 13/1, 2010 at 0:34

2

Solved

When I trying to download some HTML file with the code below: $mech->get($link) $mech->save_content("file.html"); I get the warning: Wide character in print at C:/strawberry/perl/site/lib...
Swap asked 27/11, 2011 at 22:7

3

Solved

I just made a script to grab links from a website, and in turn saves them into a text file. Now I'm working on my regexes so it will grab links which contains php?dl= in the url from the text fil...
Lymphangitis asked 6/7, 2010 at 11:34

3

Solved

I am using WWW::Mechanize and currently handling HTTP responses with the 'Content-Encoding: gzip' header in my code by first checking the response headers and then using IO::Uncompress::Gunzip to g...
Roar asked 17/5, 2009 at 9:50

4

Solved

I have a question I am hoping someone could help with... I have a variable that contains the content from a webpage (scraped using WWW::Mechanize). The variable contains data such as these: $v...
Paulita asked 25/4, 2013 at 11:1

5

I am very new to Perl and i am learning on the fly while i try to automate some projects for work. So far its has been a lot of fun. I am working on generating a report for a customer. I can get t...
Derosa asked 9/6, 2009 at 7:54

5

Solved

I try to use the perl script to automate the interaction with a website. I use module WWW::Mechanize to realize my design. But I cannot perform the button click in my perl script by using command ...
Perky asked 16/11, 2011 at 5:8

1

Solved

As far as I can read from the WWW::Mechanize documentation, you can do the following to submit a file from a string: $mech->submit_form( fields => { 'UploadedFile' => [[ undef, 'test2.t...
Euphemia asked 2/10, 2011 at 15:22

1

Solved

I'm getting this warning (after "use diagnostics;"); Parsing of undecoded UTF-8 will give garbage when decoding entities at /usr/lib/perl5/HTML/PullParser.pm line 81. My program is like this: .....
Allonym asked 29/7, 2011 at 13:42

1

Solved

I'm not sure on the right way to set up the script app for www mechanize. I did try at least one alternate that works, however I'm trying to pass in configuration with the test so I can make loggin...
Armour asked 29/6, 2011 at 21:54

2

Solved

So this is driving me crazy. Basically, when I hard-code my user name and password, I can log-in no problem. But I want to prompt the user to enter the username and password, as I would like to sha...
Rehearsal asked 20/5, 2011 at 18:15

4

I am trying to use Perl's WWW::Mechanize to login to my bank and pull transaction information. After logging in through a browser to my bank (Wells Fargo), it briefly displays a temporary web page ...
Rucksack asked 29/4, 2010 at 19:34

1

Solved

I am writing a Perl script to test certain parts of my webpage as I make changes to it. Using the WWW::Mechanize class, how can I select a radio box and submit a form?
Insensate asked 23/9, 2010 at 20:8

3

Solved

I would like to write a script to login to a web application and then move to other parts of the application: use HTTP::Request::Common qw(POST); use LWP::UserAgent; use Data::Dumper; $ua = LWP::...
Amanuensis asked 22/6, 2009 at 19:16

4

I am having problems with my Perl program. This program logs in to a specific web page and fills up the text area for the message and an input box for mobile numbers. Upon clicking the 'Send' butto...
Cervin asked 14/2, 2010 at 8:56

2

Solved

I have the following code: $mech->get($someurl, ":content_file" => "$i.flv"); So I'm getting the contents of a url and saving it as an flv file. I'd like to print out every second or so ho...
Rhinal asked 21/12, 2009 at 1:41

© 2022 - 2024 — McMap. All rights reserved.