Thirteen Years of Service
Posts: 10
Threads: 3
scraping 04-10-2013, 09:07 PM
#1
hi im trying to scrape a website but alot of the site is in java script imm programing in java but cant find a way to do this. i have tryed jsooup,text oly browses and automation but nothing seems to work does anyone know of a good tutorial on scraping ALL text from a site in cluding those wrped in javascript r a text only browser that can support javascript apart from elinks cos it has crap dom support with spidermonkey and csnt grab the text
thanks alot for any replys this is my first time scraping and cant bleave its such a hasstle all i want to do is open a page copy and paste all text into a document but from a programing [erspective this is a reql real pain any help would be great
•
Thirteen Years of Service
Posts: 10
Threads: 3
RE: scraping 04-12-2013, 05:37 PM
#5
it seems i dont have lobo package lobo is a brwser which i have installed and can use to surf the net lobo uses cobra from parsing and can be impoorted to ide cant find a library for lobo anywhere i tryed just importing the jar from the browser but this didiint work as it aint a library.
am i completely missunderstanding this? i have been searching for what i f-ed up all night thanks for pointing me in right direction though the is very little knwon about cobra on ohter forums thanks
sorry the error states that
package org.lobobrowser.html does not exist
but
import org.omg.CORBA_2_3.portable.InputStream;
is fine
but lobo aint a package to be imported its a full on java browseer using cobra??
i cant find anything in lobo folder that can be imported as a library but defo have cobra imported and lobo does work cos i can surf with it
these are all of the stuff i have imported to package manually
/home/jyt/.Desktop/jsoup-1.7.2.jar
/home/jyt/NetBeansProjects/jsoup-1.7.2-javadoc.jar
/home/jyt/NetBeansProjects/cobra-0.98.4.zip
/home/jyt/NetBeansProjects/install-lobo-0.98.4.jar
/home/jyt/NetBeansProjects/htmlunit-2.12-src.zip
/home/jyt/NetBeansProjects/Lobo/lobo-pub.jar//this is just from lobo brwser i dont think its doing anything and doeint fix any import issues
/home/jyt/NetBeansProjects/Lobo/lobo.jar//this is just from lobo brwser i dont think its doing anything and doeint fix any import issues
•
Thirteen Years of Service
Posts: 10
Threads: 3
RE: scraping 07-09-2013, 02:51 AM
#7
in the end selenium done the job thanks for help
•
Thirteen Years of Service
Posts: 10
Threads: 3
RE: scraping 07-09-2013, 02:51 AM
#8
in the end selenium done the job thanks for help
•
Thirteen Years of Service
Posts: 10
Threads: 3
RE: scraping 07-09-2013, 02:51 AM
#9
in the end selenium done the job thanks for help
•