Python3 Join Url Path

July 1, 2019
from urllib.parse import urljoin

BASE_URL = 'https://en.wikipedia.org'

url = urljoin(BASE_URL, '/wiki/Anime')
This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.