Replace urljoin bicycle by urlparse.urljoin