diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2013-01-30 08:24:03 +0100 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2013-01-30 08:24:03 +0100 |
commit | 76308815c268c6f7d13a31594da8b9709d17564b (patch) | |
tree | 922d701b7b7b2674c2f667646547dd0eedac8fac /data/rbot/plugins/search.rb | |
parent | 09f54bf35cdcdc278373521f6b4a3928ed81f744 (diff) |
search: wolfram fix
Ruby doesn't do C-style string concatenation. (My fault.)
Diffstat (limited to 'data/rbot/plugins/search.rb')
-rw-r--r-- | data/rbot/plugins/search.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/rbot/plugins/search.rb b/data/rbot/plugins/search.rb index a4c4a89c..3cd45fe5 100644 --- a/data/rbot/plugins/search.rb +++ b/data/rbot/plugins/search.rb @@ -25,8 +25,8 @@ GOOGLE_TIME_RESULT = %r{alt="Clock"></td><td valign=[^>]+>(.+?)<(br|/td)>} DDG_API_SEARCH = "http://api.duckduckgo.com/?format=xml&no_html=1&skip_disambig=1&no_redirect=0&q=" -WOLFRAM_API_SEARCH = "http://api.wolframalpha.com/v2/query?input=%{terms}&appid=%{key}&format=plaintext" - "&scantimeout=3.0&podtimeout=4.0&formattimeout=8.0&parsetimeout=5.0" +WOLFRAM_API_SEARCH = "http://api.wolframalpha.com/v2/query?input=%{terms}&appid=%{key}&format=plaintext" + + "&scantimeout=3.0&podtimeout=4.0&formattimeout=8.0&parsetimeout=5.0" + "&excludepodid=SeriesRepresentations:*" WOLFRAM_API_KEY = "4EU37Y-TX9WJG3JH3" |