← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #577483]: Web Scrapping

 

Question #577483 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/577483

    Status: Open => Answered

RaiMan proposed the following answer:
I made some tests with urllib2: no success - does not work as expected.

If you only need the source of a page, then this might help:

import org.sikuli.basics.FileManager as FM
page = FM.downloadURLtoString("http://sikulix.com";)

tested and works.

... but reddit.com did not show up with any content.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.