官方文档 https://pyshorteners.readthedocs.io/en/latest/ 安装 pip install pyshorteners 我的版本 Successfully installed certifi-2021.5.30 charset-normalizer-2.0.6 idna-3.2 pyshorteners-1.0.1 requests-2.26.0
import pyshorteners as psn url = "https://www.cnblogs.com/hany-postq473111315/" u = psn.Shortener().clckru.short(url) u
打开还是可以访问的 https://clck.ru/Xekdy