本文整理了Java中org.jsoup.nodes.Document.getElementsContainingOwnText()
方法的一些代码示例,展示了Document.getElementsContainingOwnText()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Document.getElementsContainingOwnText()
方法的具体详情如下:
包路径:org.jsoup.nodes.Document
类名称:Document
方法名:getElementsContainingOwnText
暂无
代码示例来源:origin: drallieiv/KinanCity
public void checkForErrors(AccountData account, Document doc) throws FatalException, AccountRateLimitExceededException, TechnicalException, AccountDuplicateException {
Elements accessDenied = doc.getElementsContainingOwnText("Access Denied");
if (!accessDenied.isEmpty()) {
throw new FatalException("Access Denied");
代码示例来源:origin: robohorse/gpversionchecker
public Version parse(Document document, final String url) {
String newVersion = "";
if (document != null) {
Elements elements = document.getElementsContainingOwnText(DIV_VERSION);
for (Element element : elements) {
if (element.siblingElements() != null) {
代码示例来源:origin: org.tinymediamanager.plugins/scraper-ofdb
parseCast(doc.getElementsContainingOwnText("Regie"), MediaCastMember.CastType.DIRECTOR, md);
parseCast(doc.getElementsContainingOwnText("Darsteller"), MediaCastMember.CastType.ACTOR, md);
parseCast(doc.getElementsContainingOwnText("Stimme/Sprecher"), MediaCastMember.CastType.ACTOR, md);
parseCast(doc.getElementsContainingOwnText("Synchronstimme (deutsch)"), MediaCastMember.CastType.ACTOR, md);
parseCast(doc.getElementsContainingOwnText("Drehbuchautor(in)"), MediaCastMember.CastType.WRITER, md);
parseCast(doc.getElementsContainingOwnText("Produzent(in)"), MediaCastMember.CastType.PRODUCER, md);
内容来源于网络,如有侵权,请联系作者删除!