[Pywikipedia-l] SVN: [6589] trunk/pywikipedia/copyright.py
cosoleto at svn.wikimedia.org
cosoleto at svn.wikimedia.org
Sat Apr 11 11:20:36 UTC 2009
Revision: 6589
Author: cosoleto
Date: 2009-04-11 11:20:36 +0000 (Sat, 11 Apr 2009)
Log Message:
-----------
Added detection of Live Search 'limit exceeded' error
Modified Paths:
--------------
trunk/pywikipedia/copyright.py
Modified: trunk/pywikipedia/copyright.py
===================================================================
--- trunk/pywikipedia/copyright.py 2009-04-11 11:15:22 UTC (rev 6588)
+++ trunk/pywikipedia/copyright.py 2009-04-11 11:20:36 UTC (rev 6589)
@@ -954,8 +954,8 @@
exceeded_in_queries('google')
elif 'limit exceeded' in str(err):
exceeded_in_queries('yahoo')
- #FIXME: Live Search
- #
+ elif 'Invalid value for AppID in request' in str(err):
+ exceeded_in_queries('msn')
else:
error(err, "Got an error")
More information about the Pywikipedia-l
mailing list