fix: replaced six library with urllib.parse.quote and removed unused imports
the six library was replaced with the urllib.parse (compatible with P3) not required imports have been removed
the six library was replaced with the urllib.parse (compatible with P3) not required imports have been removed