& to url encode pytho code example
Example: url encoded path using python
#Python3
import urllib
print (urllib.parse.quote('gitlab/gith', safe=''))
>>> gitlab%Fgith
#Python3
import urllib
print (urllib.parse.quote('gitlab/gith', safe=''))
>>> gitlab%Fgith