jarun / ddgr

:duck: DuckDuckGo from the terminal
GNU General Public License v3.0
2.92k stars 139 forks source link

No results #136

Closed Bobpick closed 2 years ago

Bobpick commented 2 years ago

when I run DDGR on Ubuntu 20.04, I get "no results" for simple things like "rock" or "book".

No error messages.

FarisHijazi commented 2 years ago

same here, and this is my html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<!--[if IE 6]><html class="ie6" xmlns="http://www.w3.org/1999/xhtml"><![endif]-->
<!--[if IE 7]><html class="lt-ie8 lt-ie9" xmlns="http://www.w3.org/1999/xhtml"><![endif]-->
<!--[if IE 8]><html class="lt-ie9" xmlns="http://www.w3.org/1999/xhtml"><![endif]-->
<!--[if gt IE 8]><!--><html xmlns="http://www.w3.org/1999/xhtml"><!--<![endif]-->
<head>
  <link rel="canonical" href="https://duckduckgo.com/" />
  <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=3.0, user-scalable=1" />
  <meta name="referrer" content="origin" />
  <title>DuckDuckGo</title>
  <link title="DuckDuckGo (HTML)" type="application/opensearchdescription+xml" rel="search" href="//duckduckgo.com/opensearch_html_v2.xml" />
  <link rel="icon" href="//duckduckgo.com/favicon.ico" type="image/x-icon" />
  <link rel="apple-touch-icon" href="//duckduckgo.com/assets/logo_icon128.v101.png" />
  <link rel="image_src" href="//duckduckgo.com/assets/logo_homepage.normal.v101.png" />
  <link rel="stylesheet" media="handheld, all" href="//duckduckgo.com/h2035.css" type="text/css" />
</head>

<body class="body--home body--html">
  <div class="header-wrap--home"></div>
  <div id="content_wrapper_homepage" class="content-wrap--home">
  <div id="content_homepage" class="content--home">
    <div class="logo-wrap--home">
    <a title="About DuckDuckGo" class="logo_homepage" href="//duckduckgo.com/about.html">About DuckDuckGo</a>
    </div>
    <div class="search-wrap--home">
        <form name="x" id="search_form_homepage" class="search" action="/html/" method="post">

          <input name="q" autocomplete="off" id="search_form_input_homepage" class="search__input" type="text" autofocus />

          <input name="b" id="search_button_homepage" class="search__button search__button--html" value="" title="Search" alt="Search" type="submit" />

        </form>
    </div>

    <!--[if IE 6]>
        <p class="text-center">This browser is not supported. Please visit <a href="/lite">/lite</a>.</p>
    <![endif]-->

    <div id="html-only-notice">
<!--          This is the HTML version. Get the JS version <a href="https://duckduckgo.com/">here</a>. //-->
    </div>

  </div> <!-- id="content_homepage" -->
  </div> <!-- id="content_wrapper_homepage" -->
</body>
</html>
jarun commented 2 years ago

Please ensure you are on master. The latest release is v1.9 and it works at my end.