thomasleese / smartbot

A supposedly smart IRC bot. (I now use Hubot...)
MIT License
2 stars 5 forks source link

Support Twitter links with /photo/n at the end #54

Closed thomasleese closed 10 years ago

thomasleese commented 10 years ago
[16:50] <Tom> https://twitter.com/flyosity/status/517009446778990592/photo/1
[16:50] <SmartBot> HTTPSConnectionPool(host='api.twitter.com', port=443): Max retries exceeded with url: /1.1/statuses/show/517009446778990592/photo/1.json?id=517009446778990592%2Fphoto%2F1 (Caused by <class 'ConnectionResetError'>: [Errno 104] Connection reset by peer)

I'm pretty sure this is related to the fact that the URL ended with /photo/1.