import requests

That’s all there is to it.

Some Bitly links are private or require API access. Use Bitly’s API:

| Fragment | Likely meaning | |----------|----------------| | i | “I” (first person) | | new | Create new | | 1txt | One text file (likely .txt ) | | file | The output format | | source | From a source | | bitly | Using Bitly link shortener | | 3xqlkag | The unique Bitly link code → bit.ly/3xqlkag |

Even if the link resolves to a legitimate text file, you should exercise caution: