Forum Archive

Has anyone tried to use robobrowser on Pythonista?

ccc

robobrowser is a library for web scraping built on Requests and BeautifulSoup. Like Mechanize, but with tests, docs, and a Pythonic interface. All of the required modules are built into Pythonista however requests and six are earlier versions.

briarfox

@ccc cool find, thanks for posting it. I'll have to give it a spin.

ihf

From what I see, it also depends on werkzeug and six. Are those available?

ccc
import six, werkzeug
print(six.__version__)
print(werkzeug.__version__)

For the full list, do help('modules') on the Pythonista console.

ihf

RoboBrowser seems to work (at least for a few simple examples).

ihf

Hmmm... are you saying that werkzeug is already in Pythonista? I get an import error but I am able download it from pypi and it seems to work. (werkzeug is not in the list of modules returned by help('modules'))

omz

I've added werkzeug in the 1.6 beta, it's not in 1.5.