text: """
  File containing XPath expressions to extract metadata.
  """
  
  # code available from https://github.com/adbar/trafilatura/
  # under GNU GPLv3+ license
  
  
  author_xpaths = [
      '//*[(self::a or self::address or self::link or self::p or self::span)][@rel="author" or @class="author" or rel="me"]|//author',
      '//*[(self::a or self::span)][contains(@class, "authors") or contains(@class, "author") or contains(@class, "posted-by") or contains(@itemprop, "author")]',
      '//*[(self::a or self::div or self::p or self::span)][contains(@class, "byline")]',
      '//*[contains(@class, "author") or contains(@class, "screenname")]',
  ]
  
  
  categories_xpaths = [
      """//div[starts-with(@class, 'post-info') or starts-with(@class, 'postinfo') or
      starts-with(@class, 'post-meta') or starts-with(@class, 'postmeta') or
      starts-with(@class, 'meta') or starts-with(@class, 'entry-meta') or starts-with(@class, 'entry-info') or
      starts-with(@class, 'entry-utility') or starts-with(@id, 'postpath')]//a""",
      "//p[starts-with(@class, 'postmeta') or starts-with(@class, 'entry-categories') or @class='postinfo' or @id='filedunder']//a",
      "//footer[starts-with(@class, 'entry-meta') or starts-with(@class, 'entry-footer')]//a",
      '//*[(self::li or self::span)][@class="post-category" or @class="postcategory" or @class="entry-category"]//a',
      '//header[@class="entry-header"]//a',
      '//div[@class="row" or @class="tags"]//a',
  ]
  # "//div[contains(@class, 'byline')]",
  # "//p[contains(@class, 'byline')]",
  # span class cat-links
  
  
  tags_xpaths = [
      '//div[@class="tags"]//a',
      "//p[starts-with(@class, 'entry-tags')]//a",
      '''//div[@class="row" or @class="jp-relatedposts" or
      @class="entry-utility" or starts-with(@class, 'tag') or
      starts-with(@class, 'postmeta') or starts-with(@class, 'meta')]//a''',
      '//*[@class="entry-meta" or contains(@class, "topics")]//a',
  ]
  # span class tag-links
  # "related-topics"
  # https://github.com/grangier/python-goose/blob/develop/goose/extractors/tags.py
  
  
  title_xpaths = [
      '//*[@class="entry-title" or @class="post-title"]',
      '//*[(self::h1 or self::h2)][contains(@class, "post-title") or contains(@class, "entry-title") or contains(@class, "headline") or contains(@id, "headline")]',
      '//h1[contains(@class, "title") or contains(@id, "title")]',
  ]
  # json-ld headline
  