Questions tagged [jaunt-api]

Jaunt is a free Java web-scraping and automation library.

Jaunt Beta is a new, free, Java web-scraping/automation library. The API presents a lightweight, headless browser for interfacing with websites, web-apps, and web services. Jaunt makes it easy to parse, traverse, search, extract and filter HTML & XML data. It provides three levels of abstraction: DOM-level, component-level, and browser-level. It is an ideal API for web automation where Javascript is not required, including: filling out and submitting forms creating web-bots or web-scraping programs. creating REST clients for XML services. interfacing with web-based APIs or web-apps. automated testing.

37 questions
4
votes
1 answer

In java library "jaunt", how to click a button which is not of type="submit"?

I am doing a web scraping using jaunt java library. I find code to submit a "submit" button in the examples and the tutorials available. But how to click a normal button which is not of type "submit"? Ref:http://jaunt-api.com/
Tapeshvar
  • 338
  • 1
  • 13
3
votes
3 answers

Java Android Studio Null Pointer Exception on Jaunt Webcrawler

I am trying to run the simple Jaunt example from the website and got an error for Null Pointer Exception. I am not sure what to do because there is very little support for using Jaunt in Android Studio. Here is my code: public class MainActivity…
LUKER
  • 540
  • 1
  • 5
  • 23
3
votes
1 answer

How can I get href attribute from a dynamic link using java?

I am trying to extract dynamic links from this website but couldn't extract them. But I extracted links i.e., static links successfully from this website Sample Code: public class JavaScript { public static void main(String[] args) throws…
2
votes
1 answer

Auto Provisioning the IOS application in Installrapp.com

Basically, I need to update below screen shot details for every application generated or every build occurs in Installr app. I thoroughly checked API there is no method to help the above scenario. I need to auto Provisioning the IOS application for…
SakthiSureshAnand
  • 1,324
  • 16
  • 32
2
votes
2 answers

Filling out a HTML-form with complex name (dot-notation in input-tag) with Java and Jaunt API

- hey folks, i am building a Java-tool, trying to automatically fill out some form input elements in an HTML-Page using Java and Jaunt API. the HTML-Code is like:
searchprofile
Baris
  • 95
  • 1
  • 9
2
votes
0 answers

Class name conflict while using Jaunt with android

I am trying to use the jaunt api with android as per suggestion from this SO answer. But I get this error when I run the project: Could not find class 'com.jaunt.h', referenced from method com.jaunt.UserAgent.a I tried changing the order of…
rahulserver
  • 10,411
  • 24
  • 90
  • 164
1
vote
0 answers

orbot as proxy with jaunt web-scraping

I am working on app (android) that is supposed to visit website & retrieve some data from there. I was thinking it would be nice to use tor so I would not leave so much info about myself. I've completed scraping part and everything works. Problem…
aoigbg
  • 11
  • 1
1
vote
1 answer

How to login linkedIn using Jaunt or Jsoup or HtmlUnit in java?

I'm able to login via HTTP links. But LinkedIn uses HTTPS. This is the major problem to login to LinkedIn using Jaunt or Jsoup via HTTPS. How can I handle it?
Senthil
  • 111
  • 1
  • 2
  • 11
1
vote
1 answer

Problems finding correct table

i'm trying to scrape a site using Jaunt ( https://ravit.is.fi/hevoset/1 ) and I'm having problems finding the correct table element to parse this table (in red: https://i.stack.imgur.com/Fnaep.png ) From the html, I assumed the correct element would…
Joonas
  • 45
  • 3
1
vote
1 answer

Jaunt Java getText() returning correct text but with lots of "?"

The title explains all, also, I have tried removing them (because the text is there, but instead of "aldo" there is "al?do", also it seems to have a random pattern) with (String).replace("?", ""), but with no success. I have also used this, with a…
Jane S.
  • 33
  • 6
1
vote
1 answer

How can I scrape data from a website using the Jaunt library?

I want to get the title from this website: http://feeds.foxnews.com/foxnews/latest like this example: <![CDATA[SUCCESSFUL INTERCEPT Pentagon confirms it shot down ICBM-type target]]> and it will show text like this: "SUCCESSFUL…
Puppet325
  • 13
  • 3
1
vote
3 answers

How to call post method after setting the value of the form for screen scraping using java

Background : I have a webpage (.aspx) which have few dropdown lists.The list value is getting populated using Ajax call based on the selection of previous dropdown. After selecting the value of all drop down lists we can click on download button and…
The PowerHouse
  • 560
  • 14
  • 29
1
vote
0 answers

getting this error : Execution failed for task ':app:transformClassesWithDexForDebug'

I am using Jaunt to parse website in my application. project filelist But It always gives me this error Error:Execution failed for task ':app:transformClassesWithDexForDebug'. com.android.ide.common.process.ProcessException:…
1
vote
1 answer

Jaunt webcrawler - cannot visit next page of Google search results

import com.jaunt.*; public class JauntCrawler{ public static void main(String[] args){ try{ UserAgent userAgent = new UserAgent(); //create new userAgent (headless browser) userAgent.visit("http://google.de"); …
Pete
  • 502
  • 1
  • 6
  • 20
1
vote
1 answer

Jaunt - check if there is specific element

I'm using Nutch to crawl website and currently writing a plugin. Jaunt 1.0.0.1 is used to Parse HTML. For example, I have a row Element infoBooksItem = body.findFirst("
"); Which gets and error, when on page is no
Katka
  • 194
  • 1
  • 14
1
2 3