Support custom urllib options
fix dependencies