org.jsoup.nodes.Document.getElementsContainingOwnText()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(1.7k)|赞(0)|评价(0)|浏览(261)

本文整理了Java中org.jsoup.nodes.Document.getElementsContainingOwnText()方法的一些代码示例,展示了Document.getElementsContainingOwnText()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Document.getElementsContainingOwnText()方法的具体详情如下:
包路径:org.jsoup.nodes.Document
类名称:Document
方法名:getElementsContainingOwnText

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);

相关文章