SEND this bot playlist link it will sent you back each link in MONOSPCAED so that you can copy and download check out Youtube playlist Link extractor on Telegram. If the bot is offline, contact me on telegram, so that I can look into it.
-
Go to mongoDB official site and login/register.
-
On the Atlas tab, click
createto create a new cluster. -
Now configure the cluster as you want such as the cloud service provider, region, cluster tier etc..
-
Now click on the cluster name which will take you to the Overview page.
-
Click
Collectionsand create a database calledlink_extractor_db. Insidelink_extractor_dbcreate a collections calledusers. -
Now on the left side, under the
Securityclick theDatabase Accessand add a user. Don't forget to note down the username and password! -
Now go to
Network Accessright underDatabase Accessand check whether0.0.0.0/0is in the IP Access List. If not, then clickAdd IP Addressand add0.0.0.0/0. -
Now everything is set up! But there's still one step left, i.e to copy the mongoDB address to your database to be accessed by Akinator.
-
Now under the
Deploymenttab, clickDatabasesand you should see the cluster you created. Now click the button namedConnect. ChooseConnect your application. Selectpythonas Driver and appropriate version. -
It should now give you a template string and will give you instructions on what need to be changed/replaced with. It usually askes you to replace
<username>,<password>andmyFirstDatabase. -
Do you now remember step 6 ? Where you should have noted down the username and password. yeah, now you have to replace the username, password. And for
myFirstDatabase, replace it with yourclustername. -
Everything's done! Finally just copy the string and paste it in the appropriate environmenal variable.
/start - Start the bot
1 . download the repo as zip
2.change the necassary details in .env
3 . pip install python-telegram-bot & pip install pytube
4 . python3 main.py