Skip to content

Conversation

@LYS86
Copy link
Contributor

@LYS86 LYS86 commented Dec 26, 2025

runtime.loadJar('./jsoup-1.21.2.jar');
importClass(org.jsoup.Jsoup);

const html = `<!DOCTYPE html>
<html>
<head><meta charset="UTF-8"><title>test</title></head>
<body>
<h1 id="title">Hello, Auto.js + jsoup!</h1>
</body>
</html>`;

const doc = Jsoup.parse(html);
log(doc.select("h1#title").text());
// Hello, Auto.js + jsoup!

@LYS86 LYS86 mentioned this pull request Dec 26, 2025
@SuperMonster003
Copy link
Owner

感谢 PR. ❤️

@SuperMonster003 SuperMonster003 merged commit 380df40 into SuperMonster003:master Dec 26, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants