Microsoft Windows [Version 10.0.18363.900]
© 2019 Microsoft Corporation. All rights reserved.
C:\Users\jatin>cd desktop
C:\Users\jatin\Desktop>cd news_bot
C:\Users\jatin\Desktop\news_bot>myvenv\Scripts\activate
(myvenv) C:\Users\jatin\Desktop\news_bot>python bot.py
Traceback (most recent call last):
File “bot.py”, line 46, in
bot.set_webhook(" https://df1c60c2652c.ngrok.io"+ TOKEN )
File “”, line 2, in set_webhook
File “C:\Users\jatin\Desktop\news_bot\myvenv\lib\site-packages\telegram\bot.py”, line 67, in decorator
result = func(*args, **kwargs)
File “C:\Users\jatin\Desktop\news_bot\myvenv\lib\site-packages\telegram\bot.py”, line 2242, in set_webhook
result = self.request.post(url, data, timeout=timeout)
File “C:\Users\jatin\Desktop\news_bot\myvenv\lib\site-packages\telegram\utils\request.py”, line 330, in post
result = self._request_wrapper(‘POST’, url,
File “C:\Users\jatin\Desktop\news_bot\myvenv\lib\site-packages\telegram\utils\request.py”, line 244, in _request_wrapper
raise BadRequest(message)
telegram.error.BadRequest: Can’t parse url