berrycardsagainsthumanity/berrymotes — pull request #36 by Trellmor (2014-12-02 23:42:22+00:00)
Title: Handle protocol independent urls

subreddit css may contain protocol independent urls like `//a.thumbs.redditmedia.com/_6cQow5wLcUnICddDUm4btvZLuQOEsAiKwtazmQ9m_0.png`, but a schema is needed to fetch this urls. This tweaks the apng workaround code to match http:// https:// and // at the beginning of an url and replace it with the s3 url.