Top "Mechanize" questions

A library for automated web browsing originally developed for Perl, there are now also Python and Ruby implementations.

Selenium Webdriver vs Mechanize

I am interested in automating repetitive data entry in some forms for a website I frequent. So far the tools …

selenium selenium-webdriver web-scraping mechanize webautomation
How to make mechanize wait for web-page 'full' load?

I want to scrape some web page which loads its components dynamically. This page has an onload script, and I …

python mechanize
Maintaining cookies between Mechanize requests

I'm trying to use the Ruby version of Mechanize to extract my employer's tickets from a ticket management system that …

ruby screen-scraping mechanize
Ruby Mechanize: user agents?

How many user agents are there in Mechanize? Is there a handy list of all the user agent options anywhere?

ruby mechanize
Click on a javascript link within python?

I am navigating a site using python's mechanize module and having trouble clicking on a javascript link for next page. …

javascript python screen-scraping mechanize spidermonkey
Web Crawler - Ignore Robots.txt file?

Some servers have a robots.txt file in order to stop web crawlers from crawling through their websites. Is there …

python web-crawler mechanize robots.txt
Multipart File Upload in Ruby

I simply want to upload an image to a server with POST. As simple as this task sounds, there seems …

ruby http upload mechanize multipart
Scrape the absolute URL instead of a relative path in python

I'm trying to get all the href's from a HTML code and store it in a list for future processing …

python beautifulsoup mechanize
Emulating a browser to download a file?

There's an FLV file on the web that can be downloaded directly in Chrome. The file is a television program, …

python shell mechanize wget
How to set the Referer header before loading a page with Ruby mechanize?

Is there a straightforward way to set custom headers with Mechanize 2.3? I tried a former solution but get: $agent = Mechanize.…

ruby http-headers mechanize http-referer