updated reddit example removed encodeURI