How to add a url shortner script in auto filter bot | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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

25th Oct 2022, 11:32 AM
RAMESH SAHU
RAMESH SAHU - avatar
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.
26th Oct 2022, 3:15 AM
Tibor Santa
Tibor Santa - avatar