def unshorten(self, url):
        h = requests.get(url)
        stack = [i.url for i in h.history]
        stack.append(h.url)
        return stack
Don't try to guess; just resolve it, and follow 301s
dataset/ETHPy150Open gwu-libraries/social-feed-manager/sfm/ui/models.py/TwitterUserItem.unshorten