temporary https fix for specific sites

This commit is contained in:
Akamaru 2015-07-22 17:43:05 +02:00
parent 77b85701b4
commit b25fa0fe70

View File

@ -3,6 +3,8 @@ do
function run(msg, matches) function run(msg, matches)
local url = matches[1] local url = matches[1]
local receiver = get_receiver(msg) local receiver = get_receiver(msg)
local url = string.gsub(url, "https://img.centzilius.de", "http://img.centzilius.de")
local url = string.gsub(url, "https://img.pegelf.de", "http://img.pegelf.de")
send_photo_from_url(receiver, url) send_photo_from_url(receiver, url)
end end