cgi.parse_qs deprecated -> urlparse.parse_qs, thanks BuhtigithuB