[common] show full URL in Extractor.request() error messages
This commit is contained in:
@@ -188,7 +188,8 @@ class Extractor():
|
||||
if notfound and code == 404:
|
||||
raise exception.NotFoundError(notfound)
|
||||
|
||||
msg = "'{} {}' for '{}'".format(code, response.reason, url)
|
||||
msg = "'{} {}' for '{}'".format(
|
||||
code, response.reason, response.url)
|
||||
server = response.headers.get("Server")
|
||||
if server and server.startswith("cloudflare") and \
|
||||
code in (403, 503):
|
||||
|
||||
Reference in New Issue
Block a user