Questions tagged [robobrowser]

RoboBrowser is a Pythonic library for automated web browsing and form handling. It is built on top of the requests and BeautifulSoup libraries.

RoboBrowser is a Pythonic library for automated web browsing. It can fetch pages, follow links handle forms. It is built on top of and , and aims to be a more modern replacement for .

122 questions
1
vote
1 answer

Setting a plain checkbox with robobrowser

I am struggling to check a simple checkbox with robobrowser to discard all messages in mailman. form['discardalldefersp'].options returns ['0'], neither form['discardalldefersp'].value= True nor form['discardalldefersp'].value = '1' delivers a…
Uwe Ziegenhagen
  • 683
  • 2
  • 20
  • 35
1
vote
1 answer

Managing sessions when scraping with Requests library in python

I am having trouble creating and keeping new sessions when I am scraping my page. I am initiating a session within my script using the Requests library and then parsing values to a web form. However, it's is returning a "Your session has timed out"…
1
vote
1 answer

AttributeError: 'module' object has no attribute 'open' Python 3.4 with robobrowser

So, as a replacement for mechanize because Visual Studio "needs" python 3.4, and mechanize isn't compatible with 3.4, I found "robobrowser" as a replacement, but I'm having trouble trying to figure out why browser.open returns "AttributeError:…
JavaCrash
  • 13
  • 1
  • 3
1
vote
1 answer

How to extract text from between tags?

I'm using robobrowser to scraping this page, inside the page there's a textarea tag with information that I need to copy and store. This is my code: >>> captchacode = captchabrowser.find('textarea') >>> print(captchacode)