mirror of
https://gitlab.com/jeancf/twoot.git
synced 2025-05-09 21:13:57 +00:00
Added debug message
This commit is contained in:
parent
40d14c4d5d
commit
68e4918b02
3
twoot.py
3
twoot.py
@ -91,6 +91,9 @@ def deredir_url(url):
|
|||||||
# If anything goes wrong keep the URL intact
|
# If anything goes wrong keep the URL intact
|
||||||
return url
|
return url
|
||||||
|
|
||||||
|
if ret.url != url:
|
||||||
|
logging.debug("Removed redirection from: " + url + " to: " + ret.url)
|
||||||
|
|
||||||
# Return the URL that the page was downloaded from
|
# Return the URL that the page was downloaded from
|
||||||
return ret.url
|
return ret.url
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user