Questions tagged as 'mechanize'

0
answers

Error sending form in Mechanize

I am trying to autocomplete a form but I submit an error. I show my code explained by parts: import mechanize import cookielib import ssl ssl._create_default_https_context = ssl._create_unverified_context br = mechanize.Browser() cj = coo...
asked by 24.01.2018 / 02:04
3
answers

Get current URL with WWW :: Mechanize PERL

Can you help me get the current URL where I am located (after login)? use strict; use WWW::Mechanize; use HTTP::Cookies; my $urlActual; my $url = "xxxxxxxxxxxxxx"; my $palabra; my $username = 'xxxxxxxxxx'; my $password = 'xxxxxxxxxxxxx'; my...
asked by 18.01.2017 / 12:48
1
answer

Problems Login Python Selenium, Urllib, Urllib2, request!

I want to login to this page: https://onevideo.aol.com/#/ and I have tried with request, selenium, urllib2, urllib, mechanize ... and I have not even been able to find the username xpath and the submit button. Better said, if I find them...
asked by 11.10.2017 / 22:15
0
answers

Python, bots, mechanize

I'm making a bot that is able to enter my router, go to a certain tab and click the reset button. The idea is simple, I simply intend to restart the router in an automated way, in python. For this I am using the Python Mechanize library. im...
asked by 25.05.2018 / 12:29
1
answer

Click Javascript link href

I'm doing a code to enter a platform. It has a URL which I access and log in through Mechanize. import mechanize br = mechanize.Browser() br.set_handle_robots(False) br.addheaders = [('User-agent','Chrome')] #URL del Login br.open('https://pl...
asked by 29.09.2017 / 18:52