TypeError: can't concat str to bytes

def download(url, user_agent='wswp', num_retries=2): print("Downloading: " + url) headers = {'User-agent': user_agent} req = request.Request(url, headers) try: html = request.urlopen(req).read() excep
相關文章
相關標籤/搜索