0
How to add a url shortner script in auto filter bot
I want to add a shortner link before getting the file .. https://code.sololearn.com/ce7RT0reSdQq/?ref=app
1 Answer
0
Your attached sample is not valid python code. It is not clear what you are trying to do.
If you want to use an existing URL shortener, they are typically paid services and some of them have public API which you can use from a program to generate a new URL.
https://buffer.com/library/url-shorteners/
Or you want to write your own algorithm for this? Where would you store the short URLs and how would the users access them? So much of your requirements is unclear.