robobrowserquery

DEPRECATED: PyQuery on RoboBrowser


Keywords
RoboBrowser, PyQuery, Browser, Scraping
License
BSD-3-Clause
Install
pip install robobrowserquery==0.7.1

Documentation

robobrowserquery

Build Status Latest PyPI version

THIS LIBRARY IS DEPRECATED

Because RoboBrowser is not active.


PyQuery on RoboBrowser

RoboBrowser: https://github.com/jmcarp/robobrowser

recommend: pip install git+https://github.com/M157q/robobrowser/

PyQuery: https://pythonhosted.org/pyquery/

install

pip install robobrowserquery

How to use

from robobrowserquery import RoboBrowserQuery

browser = RoboBrowserQuery()

browser.open('https://www.mangazenkan.com/')

f = browser.get_form()
f['name'].value = 'Tokyo'
browser.submit_form(f)

print(browser.query('title').text())
for a in browser.query('a').items():
    print(a.attr('href'))