Now came to the part of the book that uses
Output:urllib.parse
for ex:includeUrl = urlparse(includeUrl).scheme+"://"+urlparse(includeUrl).netlocit seems to me that author used methods that are specific for urlib modul. Is there any alternative with BeautifulSoup?