datasette-scraper icon indicating copy to clipboard operation
datasette-scraper copied to clipboard

plugin: extract-seo

Open cldellow opened this issue 2 years ago • 0 comments

      // Extract information like title, metadesc, author, publish date,
      // preview image.
      "extract-seo": {
        // optional; absent implies .*
        "url-regex": ".*",

        // optional
        "database": "dbname",

        // optional; defaults to dss_seo
        "table": "dss_seo",

        // optional; if present, will try to extract body of article
        "extract-article": true
      },

Needs https://github.com/cldellow/datasette-scraper#extract_from_responsescraper-config-url-response

cldellow avatar Dec 26 '22 21:12 cldellow