diff --git a/utils/generate-command-help.rb b/utils/generate-command-help.rb
index 47fbc645c..068953198 100755
--- a/utils/generate-command-help.rb
+++ b/utils/generate-command-help.rb
@@ -50,7 +50,7 @@ def commands
   require "json"
   require "uri"
 
-  url = URI.parse "https://raw.github.com/antirez/redis-doc/master/commands.json"
+  url = URI.parse "https://raw.githubusercontent.com/antirez/redis-doc/master/commands.json"
   client = Net::HTTP.new url.host, url.port
   client.use_ssl = true
   response = client.get url.path