如何使用 python 读取缩短的网址?

How can I read shortened urls with python?

如何使用 python 阅读缩短的 urls?

我有一份缩短的 url 列表,我想获得真正的 url 或至少阅读页面内容

{'urlshortened': 3, 'urlshortened': 3, 'urlshortened': 3,}

你可以使用requests库,然后使用bs4获取页面内容,你应该多了解web scraping