Commit Graph

399 Commits

Author SHA1 Message Date
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
rmmh b3b85e6183 Merge pull request #52 from stoneLeaf/master
Updated documentation
2012-04-12 16:48:18 -07:00
stoneLeaf 8ba2f1b00f Updated documentation 2012-04-13 01:45:06 +02:00
rmmh 05b53c2067 Merge pull request #51 from stoneLeaf/master
Youtube, Encyclopedia Dramatia, Oblique, Suggest, Last.fm, Translate fixes & improvements
2012-04-12 08:54:23 -07:00
stoneLeaf 4770c8c227 Updated the Google Translate plugin
The Google Translate API v1 has been stopped since December 1, 2011. From now on, the API is a paid service only.
The plugin has been updated to support v2 and grab the (mandatory) API key from the bot config file.
2012-04-12 16:11:52 +02:00
stoneLeaf b939a94be7 Improved the Last.fm plugin
The API key is now retrieved from the bot config file and the API response is more thoroughly analyzed.
2012-04-12 14:02:36 +02:00
stoneLeaf 25116e20f9 Fixed the suggest plugin
The API get request needed to be tweaked.
2012-04-12 03:41:35 +02:00
stoneLeaf 3c9e6a6736 Added a check to the oblique plugin
Checks if lines can be split.
2012-04-12 03:02:46 +02:00
stoneLeaf b279f96af0 Updated Encyclopedia Dramatica's url
On March 21, 2012, the website moved to a Swedish domain name: http://encyclopediadramatica.se
2012-04-12 02:11:33 +02:00
stoneLeaf ff1832c471 Fixed a locale issue in the youtube plugin
locale.format() can throw a UnicodeDecodeError in some cases. The use of str.decode() prevents its occurrence.
See http://stackoverflow.com/questions/4082645/using-python-2-xs-locale-module-to-format-numbers-and-currency
2012-04-12 01:52:32 +02:00
Ryan Hitchman b3e97f2500 make wolframalpha and urban use apis instead of scraping 2012-02-10 15:04:05 -06:00
Ryan Hitchman a3b295b0c0 update .calc to use lxml, fixes #44 2011-11-07 14:16:56 -06:00
Ryan Hitchman a8eea42f14 revert wikipedia namespace 2011-10-22 15:11:59 -05:00
Ryan Hitchman e2fb20f64c fix wikipedia search (they changed the xml namespace) 2011-10-05 00:27:17 -05:00
rmmh 5301b25cf6 remove a (really old) line that was used for debugging 2011-09-07 10:27:45 -05:00
rmmh 2a7b5bfa04 Merge pull request #41 from barmstr3/master
DO IT SCAEVOLUS
2011-07-25 00:13:25 -07:00
Brian Armstrong 5c29e27b43 Patched remember append bug 2011-07-25 02:06:52 -05:00
rmmh d5e192de10 Merge pull request #40 from avidal/patch-1
Fixed path lowercasing bug in logging plugin.
2011-07-22 20:16:54 -07:00
Alex Vidal 110b038f5f Fixed path lowercasing bug in logging plugin.
Previously, the entire path would be lowercased, which breaks instances where one of the parents of the working directory have capital letters. Now, it only lowercases the actual log filename, not the path.
2011-07-22 07:09:30 -07:00
Ryan Hitchman 039fa64a27 bitcoin.py: get market rate for bitcoins from mtgox 2011-06-10 21:09:01 -06:00
rmmh 85da0e2315 Merge pull request #39 from lahwran/shortrem
added .r and .f aliases for remember and forget
2011-06-09 20:54:54 -07:00
lahwran 982a745a1a added .r and .f aliases for remember and forget 2011-06-09 21:51:25 -06:00
Ryan Hitchman ce67812827 google: unescape titles. drama: set api endpoints to new domain. 2011-05-30 05:18:01 -06:00
Ryan Hitchman 6824443901 add pre: search scene releases, urlhistory: don't alert quoted lines 2011-05-20 00:13:11 -06:00
Ryan Hitchman 543ff44995 remove web interface (splitting into separate repo) 2011-05-11 21:19:09 -05:00
Ryan Hitchman bf7aeb07da imdb: ignore unknown fields. PEP8 rottentomatoes 2011-05-11 16:40:53 -05:00
Ryan Hitchman 61e07cc0ae beginning of web interface (uses Flask) 2011-05-11 16:39:34 -05:00
Ryan Hitchman a4d70df463 reconnect on socket.error, PEP8 2011-05-11 15:40:04 -05:00
melonhead 339d853258 Added Rotten Tomatoes command 2011-05-04 10:08:14 +08:00
Ryan Hitchman faa68b6af5 refactor vimeo plugin, PEP8 2011-04-13 20:56:30 -05:00
tcneyland 0ed4fcfff4 Removed unnecessary linking to vimeo screenshot 2011-04-14 09:32:53 +08:00
tcneyland 641fec9bfa Added Vimeo plugin 2011-04-14 09:32:52 +08:00
Ryan Hitchman b82372a76c make default user-agent include git revision 2011-03-29 08:48:44 -05:00
Parker Smith 154f457f3a Added an append feature to .remember 2011-03-16 15:08:40 +08:00
Alex Vidal f3b26969f8 Fix spacing issue in wolframalpha docstring. 2011-03-16 00:54:55 +08:00
Alex Vidal 5ea6135927 Fixed a bug with tvdb.py
Certain series will return incomplete episode information. If the episode did
not contain a first run date, the `get_episode_info` function would return
None, but the `tv_next` and `tv_last` functions expected a tuple of three
items.
2011-03-10 01:51:52 +08:00
Eric Palmitesta 1bca0fa7a9 whoops, forgot bam's comments 2011-03-01 00:48:35 +08:00
Eric Palmitesta 97054fe666 updating bigassmessage.py url, url params, and styles 2011-02-23 06:41:19 +08:00
Ryan Hitchman 2095e16a65 give dotnetpad a longer timeout. fixes #21 2011-02-22 16:39:42 -06:00
Alex Vidal 73f3b8ed04 update comments 2011-02-22 12:03:46 -06:00
Alex Vidal f812a393ab remove print statement from metacritic 2011-02-22 11:59:14 -06:00
Alex Vidal 1e30569fb1 return link to metacritic title 2011-02-22 11:54:20 -06:00
Alex Vidal 746146edb4 handle invalid search terms 2011-02-22 11:37:29 -06:00
Alex Vidal 450c681fab strip extra spaces from the release date 2011-02-22 11:28:35 -06:00
Alex Vidal 2b34878441 clean up metacritic error messages 2011-02-22 11:20:14 -06:00
Alex Vidal 9a408433b9 working metacritic plugin 2011-02-22 11:19:00 -06:00
Alex Vidal 67a50f3317 Fix last.fm bug for users not listening to something.
The last.fm plugin previously worked only for users not listening to
anything, and then it was 'fixed' for users listening to something, but
broke for users not listening to something. See lastfm.py comments for
changes.
2011-02-04 03:39:26 +08:00
Ryan Hitchman bad65ba236 fix stock.py colors, minor cosmetic tweaks 2011-02-02 23:49:56 -06:00
Chris Skalenda a769c2267e Add a stock lookup plugin that uses google's api. 2011-02-02 14:54:40 +08:00
melonhead c3ef09c59e Added .tv_last trigger to tvdb.py 2011-01-21 00:11:49 +08:00