Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make greg work with broken enclosure links
Taken from http://stackoverflow.com/questions/120951/how-can-i-normalize-a-url-in-python, referring to http://bugs.python.org/issue918368. Enclosure links with spaces in them were causing greg to fail when attempting to download them, or store them in the list of seen enclosures. This fix uses 'quote' from 'urllib' to replace funny characters in the url with escape sequences. I.e. " " becomes "%20".
- Loading branch information