KakarlaMounika / python-twitter

Automatically exported from code.google.com/p/python-twitter
Apache License 2.0
0 stars 0 forks source link

Does not handle down for maintenance error #224

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Twitter is currently down for maintenance. Requests are returned an HTML page 
with title "Twitter / Maintenance". This triggers a "json decoding" 
TwitterError exception.

What is the expected output? What do you see instead?
It would be nice to parse the title and raise a better TwitterError. Patch 
attached.

What version of the product are you using? On what operating system?
version 0.8.2, python 2.6.5

Original issue reported on code.google.com by Alberge...@gmail.com on 23 Jan 2012 at 3:52

Attachments: