diff --git a/twoot.py b/twoot.py index a4eca29..12982c9 100755 --- a/twoot.py +++ b/twoot.py @@ -188,7 +188,7 @@ def deredir_url(url): ret = None try: # Download the page - ret = requests.get(url, headers=headers, timeout=5) + ret = requests.head(url, headers=headers, timeout=5) except: # If anything goes wrong keep the URL intact return url