Commit Graph

10 Commits

Author SHA1 Message Date
Parker Smith d878779d50 Modified http util to support additional headers
Inverted some header logic

Removed user_agent and referer from http, in favor of headers dict

http: formatting

http: Fixed missing part in conditional
2014-01-20 09:15:29 -05:00
Ryan Hitchman cb8c437772 flake8 + autopep8 (whitespace fixes) 2014-01-14 13:12:37 -08:00
Lasse Vang Gravesen 12cd3521e5 Problem with urbandict plugin fixed by replacing \r\n with a space 2012-07-18 18:39:51 +02:00
Lasse Vang Gravesen 68e5535ca4 Added referer field to http.py, as to make it possible to use a referer. I
don't know if this was possible before, and if it was it should be removed
and the appropriate changes should be made without the http.py change.

Stock plugin output was changed so the percent change has an actual
percentage sign after it.

UrbanDictionary plugin was changed to use a referer because it didn't work
without it.
2012-06-03 01:08:30 +02:00
Ryan Hitchman b3e97f2500 make wolframalpha and urban use apis instead of scraping 2012-02-10 15:04:05 -06:00
Ryan Hitchman c2a607198c PEP8 2010-08-29 22:35:27 -05:00
Ryan Hitchman b0259336cd report options when given ambiguous command, make .dict report which word the definition is for 2010-07-08 11:22:43 -06:00
Ryan Hitchman 49ba4c5753 add .etymology, courtesy of GhettoWizard 2010-05-11 16:48:05 -06:00
Ryan Hitchman 6452c1169c disable !command, enable fuzzy command matching, make help automatic, add disabled_command (for fuzzy command match disabling), misc bugs 2010-05-07 17:16:44 -06:00
Ryan Hitchman 1005537e63 .dict/.define (courtesy GhettoWizard), move more stuff into the http library 2010-04-25 15:39:31 -06:00