Questions tagged [duckduckgo]

is for programming questions about the DuckDuckGo search engine

DuckDuckGo is an Internet search engine that emphasizes protecting searchers' privacy and avoiding the filter bubble of personalized search results

33 questions
10
votes
1 answer

Storage access automatically granted for tracker "https://duckduckgo.com"

I hope I didn't miss something somewhere, but I can't get to understand what is exactly happening with what I'm doing. I'm programming a webapp and in my app I open programmatically a new page to search something in duckduckgo. I'm using the…
chateau
  • 918
  • 11
  • 24
8
votes
2 answers

Block a site from search engine - DuckDuckGo

I have a development site https://text-domain.com. (not a real site) When I go to https://duckduckgo.com and search for text-domain.com, it does return results. What have I tried so far: Created robots.txt file with following code(put in in my root…
Vimalnath
  • 6,373
  • 2
  • 26
  • 47
4
votes
2 answers

How to show more images from Duckduckgo/Bing using the http url?

The default image search on DuckduckGo/Bing returns 35 images. E.g. https://duckduckgo.com/?q=Temple+of+the+Golden+Pavilion&iax=1&ia=images The same for Bing, see http://www.bing.com/images/search?q=Temple%20of%20the%20Golden%20Pavilion Is there a…
alvas
  • 115,346
  • 109
  • 446
  • 738
3
votes
3 answers

How to scrape images from DuckDuckGo's image search results in Python

I'm creating an application with python that's going to show images scraped from DuckDuckGo's image search results. So I need to get a list of links to the images based on the search. The problem is that the HTML that constitutes DuckDuckGo's image…
2
votes
0 answers

Is there any method to have voice input in Duckduckgo browser on Android?

Duckduckgo browser (Andriod) works well. It uses only the incognito mode, for enforcing privacy and security. The Gboard keyboard disables voice input on incognito mode. Is there any way to get voice input while using Duckduckgo? Use another…
CqN
  • 139
  • 1
  • 8
2
votes
1 answer

Get response 200 instead of <418 I'm a Teapot>, using DDG

I was trying to scrape search results from DDG the other day, but i keep getting response 418. How can i make it response 200 or get results from it? This is my code. import requests from bs4 import BeautifulSoup import urllib while True: …
2
votes
3 answers

How to handle the error out of a try loop using Selenium and Python

I'd like to run a search with selenium and click the "more results" button at the end of a DDG search. The DDG search no longer shows the button when it's shown all the results for a query. I'd like to exit out of the try loop in the case where…
tadon11Aaa
  • 400
  • 2
  • 11
2
votes
2 answers

How to extract the text from the search results of duckduckgo using Selenium Python

I am trying to get the link descriptions of duckduck of search results using the following: results=browser.find_elements_by_xpath("//div[@id='links']/div/div/div[2]") description=[] for result in results: description.append(result.text) I am…
michael
  • 412
  • 1
  • 3
  • 13
2
votes
1 answer

Duckduckgo Android search Intent

Anyone knows the intent to search directly through the official Duckduckgo app on Android? Tried this one so far, i think they dont have a query key in extras Intent intent = new Intent(Intent.ACTION_SEARCH); …
GGWP
  • 1,111
  • 2
  • 12
  • 24
2
votes
1 answer

Duck Duck go HTML version get next page of results url query param

Is it possible to get the next page of results for a duck duck go search on the html version using a url query param?
weaveoftheride
  • 4,092
  • 8
  • 35
  • 53
1
vote
0 answers

Scrape multiple pages of DuckDuckGo's HTML

I've created a simple PHP script to scrape DuckDuckGo's html.duckduckgo.com. I'm looking to scrape more than the first page of results. The library I am using only supports GET requests and I can't seem to find the GET param that will show a new…
x43
  • 186
  • 2
  • 19
1
vote
1 answer

Making a DuckDuckHack Instant Answer work on own site

I'm trying to see whether it's possible to use the code from DuckDuckHack Instant Answers outside of the context of the main DuckDuckGo website. After all, an Instant Answer is mostly a standalone component that consists of some HTML, CSS and…
sebkur
  • 658
  • 2
  • 9
  • 18
1
vote
1 answer

How to use headless driver in Python using Selenium

I have the below code from selenium.webdriver import Firefox from selenium.webdriver.firefox.options import Options opts = Options() opts.set_headless() assert opts.headless # Operating in headless mode browser =…
moys
  • 7,747
  • 2
  • 11
  • 42
1
vote
1 answer

How to get unique search results?

I am using this(https://github.com/thibauts/duckduckgo) module to scrape duckduckgo search results: >>> import duckduckgo >>> for links in duckduckgo.search('Yellow Chris Martin',max_results=20): ... print links In the output I am getting…
cgkentrus
  • 111
  • 1
  • 1
  • 7
0
votes
0 answers

Browser extension opens a window. Can I click a button in that window using Javascript?

The DuckDuckGo Privacy Essentials browser extension opens this window when clicked: I want to programmatically click the Generate Private Duck Address-button. Can this be done? I probably first need to click the extension icon in the browser's menu…
d-b
  • 695
  • 3
  • 14
  • 43
1
2 3