Fix AC/DC, Panic At The Disco bugs
This commit is contained in:
@@ -26,7 +26,7 @@ private
|
||||
response = nil
|
||||
5.times do
|
||||
begin
|
||||
response = open(url, "User-Agent" => USER_AGENT)
|
||||
response = open(URI.encode(url), "User-Agent" => USER_AGENT)
|
||||
@@last_query_time = Time.now.to_f
|
||||
rescue => e
|
||||
return nil if e.io.status[0].to_i == 404
|
||||
|
||||
Reference in New Issue
Block a user