• 1 Post
  • 9 Comments
Joined 1 year ago
cake
Cake day: June 11th, 2023

help-circle





  • jgkawell@lemmy.worldtoPrivacy@lemmy.ml*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    23
    ·
    edit-2
    1 year ago

    Most people don’t appreciate link posts without summaries of the content. I’m one of these people. I don’t like clicking links unless I know at least an idea of what’s on the other side of the link. Is it worth my time? Is it worth my attention? Providing summaries of linked content gives a start to the conversation and keeps us from turning this forum into a clickbait-filled platform.




  • Figured it out! Nowhere is this documented in Gugal or SearXNG docs, but the way to do it is to add the json format to your search config like so:

    search:
      formats:
        - html
        - json
    

    This does make sense in hindsight as you are essentially enabling requests over the a JSON API however it is odd that this isn’t documented anywhere. Also, note that if your instance is publicly exposed this makes it easy for bots to spam/scrape it.