Bryan Schumaker
c1a2d74f7c
libsaria: Move version information to new file
...
A bit of separation is good here, and it should help with managing the
code.
2011-05-07 15:58:33 -04:00
Bryan Schumaker
a3248b404e
URL character escaping
...
Only escape a subset of the characters when placing a url request.
2010-12-03 08:35:13 -05:00
Bryan Schumaker
adbac1c245
url formatting: don't escape the quote
...
We don't need to do this. It causes problems with last.fm
2010-12-03 08:30:14 -05:00
Bryan Schumaker
16da9fda2b
web.py escape character full replacement
...
Replace all special symbols, not just ' ' and '&'.
2010-11-04 10:14:31 -04:00
Bryan Schumaker
7308ed8225
Web request error handling
...
Added a try / except block around placing a urllib2.urlopen().
Additionally, when there is an error I print it and return None. This
will tell the cache to remove the opened file.
2010-11-02 21:08:37 -04:00
Bryan Schumaker
657d016017
libsaria/web.py
...
This file contains a url class designed to make it easy to build up a
url and then place a python urllib2 request.
2010-10-26 22:40:00 -04:00