Let's say I have the following URLs:
url = https://www.example.com/thing1/thing2/thing3
next_thing = thing4
and I want the following URL:
https://www.example.com/thing1/thing2/thing3/thing4
When I try
>>> urlparse.urljoin(url,next_thing)
I get the following result:
https://www.example.com/thing1/thing2/thing4
Why is thing3
being cut out? And how do I resolve that? Thanks so much!