Code Monkey home page Code Monkey logo

duckduckgo's People

Contributors

andrey-p avatar b2ddg avatar chesleytan avatar chorny avatar crazedpsyc avatar domwilliams0 avatar dumbbell avatar getty avatar guiltydolphin avatar hunterlang avatar javathunderman avatar jbarrett avatar jdorweiler avatar jkv avatar kablamo avatar kentfredric avatar majuscule avatar moollaza avatar mr-karan avatar mrchrisw avatar mwmiller avatar nilnilnil avatar nomeata avatar rpicard avatar russellholt avatar scepticrail avatar treeki avatar yegg avatar zachthompson avatar zekiel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

duckduckgo's Issues

Weather name conflicts and priority

When I search: "Vancouver Weather" in DDG, I get weather for Vancouver, WA. I'm actually looking for Vancouver, BC weather. I can fix this by searching for "Vancouver, BC Weather", but that is annoying, considering this is a search I might make quite often.

Perhaps a solution for this is to prioritize cities based on your region in settings. Since I set my region to Canada, perhaps it should prioritize the Vancouver in Canada.

Browser incompatability in Opera mini browser in Android based phone..

I use an Android based phone with the screen resolution of 240*320. I use the Opera mini browser for browsing and i tried duckduckgo in it. But what i got was a page with just a text box in the top left corner and a button with green color on it and no text. I dont know whether it is a bug or it is incompatible with the browser..

Duckduckgo html broken post

On the html version of duckduckgo, You cannot search at all. The post request seems to reroute the page back to duckduckgo.com/html/ the only way to use the html version is to put ?q= after /html/ not sure how to fix this but the post request seems to be misubmitting.

Bug with triggers startend for multiple words

I have triggers startend => "idreambooks", "book reviews", "book review";, but somehow "the book of joe reviews" triggers. Is it splitting the strings?

I'm getting this as my output:

Query: the book of joe reviews
  You entered: the book of joe reviews

DDG::ZeroClickInfo::Spice  {
    Parents       Moo::Object
    public methods (9) : call, call_data, caller, call_path, call_type, has_call, has_call_data, has_call_type, new
    private methods (0)
    internals: {
        call        "/js/spice/book/the",
        caller      "DDG::Spice::Book",
        call_type   "include",
        is_cached   1,
        is_unsafe   0
    }
}

Deal with handling XSS issues in the query

The query can have XSS bugs in it and so should not be displayed directly. I'm not sure if we currently offer them an escaped version like we have in the backend q_escape. If not we should and it can mimic the backend function.

Also, we need to add to the docs about not returning the query directly in html. For non-HTML we already escape it.

Original issue moved here from duckduckgo/zeroclickinfo-goodies#223

//cc @yegg

Goodie: Map link not working and incorrect

When I search, for example, "london map" (https://duckduckgo.com/?q=london+map), the map is displayed correctly, but the "More at OpenStreetMap" link goes to a blank page (http://open.mapquest.com/?q=[51.5072759,-0.1276597]).

Issue 1 This should be the same site as the MapQuest link.
Issue 2 However, linking it to MapQuest would be incorrect, as the link says "More at OpenStreetMap". So it instead should go to http://www.openstreetmap.org/relation/65606 (what you get when you search up "London" in OpenStreetMap).

Language detection plugin gives >100% result.

Searching for "what language is ありがとうございます" says:
"This text is definitely Japanese (120% sure)."

I suggest adding a simple if statement bring >100% results down to 100%, or take a closer look at the algorithm.

Use de_DE if de_CH is not available

It would be better, if de_DE is used as fallback for de_CH instead of en_US on UI translation. Maybe there are similar scenarios for other languages.

Mercurial documentation plugin links incorrectly

When you search for a Mercurial command, like hg commit, it gives a short description from the documentation site. However, clicking on that to go to the documentation site doesn't show you the correct spot on the page.

It links to http://www.selenic.com/mercurial/hg.1.html#hg commit, when it should be http://www.selenic.com/mercurial/hg.1.html#commit. (The difference is the last part, after the #. It should just be the command name, without hg in front of it.

(Is the code for these plugins available somewhere? I'm sure this is a quick fix, but I don't see anywhere to do that myself.)

Bang allrecipes! adds letter "l"

Reproduce:
I am sending a bang request from my small WindowsPhone8 app for "pizza" (or any other) using allrecipes!
It lookes like this: http://api.duckduckgo.com/?q=!recipe%20pizza&format=json&pretty=1&no_redirect=1

Expected outcome:
I would expect to be taken to the allrecipes website and it should search for "pizza"

Current outcome:
It searches for "pizzal". To any search term an l is added

JSON:
{
"Definition" : "",
"DefinitionSource" : "",
"Heading" : "",
"AbstractSource" : "",
"Image" : "",
"RelatedTopics" : [],
"AbstractText" : "",
"Abstract" : "",
"AnswerType" : "",
"Type" : "E",
"Redirect" : "http://allrecipes.com/search/default.aspx?qt=k&rt=r&wt=pizzal&pqt=k&ms=0&fo=0",
"DefinitionURL" : "",
"Answer" : "",
"Results" : [],
"AbstractURL" : ""
}

!pep doesn't format the number

So, when I run !pep 8 I get URL http://www.python.org/dev/peps/pep-8/ which is wrong. Numbers are always zero padded and four digits long, so the correct URL is http://www.python.org/dev/peps/pep-0008/

Call for XML support

Duckduckgo instant information requires other sites to give out JSON feeds, when many sites only offer XML information feeds.

support multiple bang patterns

More specifically, support stuff like list !hackage ! which would follow the first link from the !hackage bang query. And in general, it would support all bang patterns which simply use a site: query. I'd be more than happy to implement this, perhaps a quick hint for where to look first would be useful.

DDG+ Firefox plugin: custom position forgotten on Firefox restart.

The DDG+ Firefox plugin always repositions itself to the very right of the toolbar when Firefox is restarted. This adds an element of annoyance as the mouse pointer is usually resting further away toward the center, requiring a large movement to the edge of the window.

README

It would be great to have a good Readme. It's hard to understand how much DDG is available as source code :-)

thanks

Addition does not work API goodies

If the query is "3+3" the API only completes a web search and gives no answer. If A more complex expression like "2+5-3" is entered, "25-3" is evaluated.

Weather Temperature Unit

It seems like the temperature unit (celsius vs fahrenheit) is determined based on the location you search for.

For example:
When I search for "Vancouver, WA weather" I get fahrenheit, and when I search for "Vancouver, BC weather" I get celsius.

This is undesireable because I often want to see the weather in American cities in celsius. I have my region set to Canada in settings. Shouldn't the unit be determined by that region, rather than the search target?

I can't seem to find any way of changing this through weather.io either. The settings there don't seem to affect DDG.

Search through Firefox adress bar

The keyword.URL can be changed to https://duckduckgo.com/?q= in order to search with DDG. Search parameters can not be used for the adress bar search (likehttps://duckduckgo.com/?q=SEARCH&kl=de-d). This should be fixed as it annoying for users from non English speaking countries because the results are not good for them without the region specific search.

Broken link in README.md

I wanted to click the 'ask us' link in step 2 of the Getting Started section but unfortunately the link is broken.

It's trying to link to: /duckduckgo/duckduckgo/blob/master/FAQ.md - this document doesn't appear to exist.

"agriculture contribution to gdp" and "oil production in saudi arabia" from goodies are not working as described

Windows Store App - Search Results

Hi,

i´ve download your app for windows 8 and find a bug.

I´ve searched for "FC Porto" and i got results, but then i´ve search "fc porto nelson" and i´ve the message: "Sorry we didn´t find...." over the previous search result (see image).

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.