Most voted "jsoup" questions
Help tool for analyzing and extracting HTML data. Written in Java.
Learn more…17 questions
Sort by count of
-
3
votes0
answers136
viewsMultithreading Crawler problem using jsoup
Hello, I’m developing a multithreaded Crawler, each job (thread) deals with X sites to analyze certain content with the jsoup lib. The sites are all accessible. The problem is that the final results…
-
2
votes0
answers109
viewsPost for consultation of NF-e data
I am trying to get the data of an electronic invoice through a post on the farm site. I am using the Jsoup library. First I did a get to get the captcha image and it worked perfectly. I created my…
-
2
votes1
answer4116
viewsHow to extract information from an HTML document with Jsoup?
I’ve been studying the Jsoup example for data extraction and extracted an example from this link Jsoup But I tried to manipulate the example to extract the data from a Div instead of a Meta…
-
2
votes1
answer126
viewsIndexoutofboundsexception No Get(0) do Crawler jsoup
I would like to get the names of the companies that appear in a search like "Farmacias em Santo Andre" on Google Maps. Erro: Exception in thread "main" java.lang.IndexOutOfBoundsException: Index 0…
-
1
votes1
answer378
viewsParse HTML with Jsoup - Java
I am studying Jsoup library and I took the most basic example of the site and tried to build something simple, but I have this error, which does not allow me to execute the code: Default constructor…
-
1
votes1
answer57
viewsJsoup element without id
Well, I want to use Jsoup to take a table from a site and show it in the application. The problem is that this table has no id. How do I get this table and display in the app? Here is the…
jsoupasked 7 years, 9 months ago Marceloawq 971 -
1
votes1
answer268
viewsConvert Jsoup doc to string, apply Regex and return a value in String
I’m using an example I found called Androidjsoup to get the source HTML from a certain page, but I’m not getting just the snippet of code I wish is in a certain <script> In short, the…
-
1
votes1
answer95
viewsJsoup not returning any value
I have a problem with blibioteca Jsoup, that when I try to make the connection to a certain page, it simply does not return me any value from the connection. public static void main(String[] args) {…
-
1
votes1
answer38
viewsJsoup doesn’t seem to be working
Hello I have this piece of code that gives a link and that goes online with jsoup takes some information and then puts that information in an Arraylist used in a Listview. But the problem is that I…
-
0
votes1
answer344
viewsJsoup in Android
I’m having trouble running my Android application with Jsoup. It’s a simple example, but it’s returning nothing. Java class: import java.io.IOException; import org.jsoup.Jsoup; import…
-
0
votes1
answer175
viewsHow to get jsoup to pass only specific parts of the site?
How do I make sure he only passes the €1.25 part to String? https://www.pingodoce.pt/produtos/tab-choc-negro-nestle-100g/…
-
0
votes0
answers187
viewsHow to take two attributes of the same HTML class with JSOUP - JAVA
I’m taking content from an HTML page, I’m selecting content for a specific class, but in this case this class has content with a href and span, I can only take one. Document doc =…
-
0
votes1
answer59
viewsJSOUP does not take unordered list (ul > li)
Hello, if someone very feral in JSOUP can help me, I’m trying to get information from a card on this site "https://www.brasileirao.com.br/". The problem is that the information is inside an…
-
0
votes1
answer63
viewsJsoup does not bring full HTML Document
When capturing the page and displaying it on the console, I realized that the HTML was not complete. During the execution I can notice that it returns many elements, but when it finishes the…
-
0
votes0
answers10
viewsHow to extract a text within a <dd> using Jsoup?
Talk, you guys, baby? I’ve been trying for a couple of hours, and I’ve already researched everything that is a place to fix it, question is as follows: I need to know if an X text is like "OK" or…
-
-1
votes1
answer23
viewsHow can I get the value of a span tag with jsoup?
public class Main { public static void main(String[] args) throws IOException { // write your code here Document doc = (Document)…
-
-3
votes2
answers464
viewsHow to get HTML code from a protected page with Cloudflare?
I’m trying to get the HTML of a page with the Jsoup. This page has Cloudflare as protection and, instead of getting the HTML code of the site I’m interested in, it’s returning me the HTML of the…