nimiology / spotify_downloader_telegram__bot Goto Github PK
View Code? Open in Web Editor NEWThis Python script allows you to download songs from Spotify withTelegram bot
License: MIT License
This Python script allows you to download songs from Spotify withTelegram bot
License: MIT License
it downloads from youtube not spotify
Hello!
When a file downloading is finished, I have a WebM file. Of course, I can rename the file (song*webm -> song*mp3
, but it will be incorrect. If I converted the file, quality of file would be worse.
Can I replace something in main.py
or spotify.py
for download MP3 files?
wneh I start main.py in python it say this
Traceback (most recent call last):
File "main.py", line 13, in
bot.sendMessage(nima,"Now I'm alive")
File "/home/calo77103/.local/lib/python3.8/site-packages/telepot/init.py", line 513, in sendMessage
return self._api_request('sendMessage', _rectify(p))
File "/home/calo77103/.local/lib/python3.8/site-packages/telepot/init.py", line 491, in _api_request
return api.request((self._token, method, params, files), **kwargs)
File "/home/calo77103/.local/lib/python3.8/site-packages/telepot/api.py", line 155, in request
return _parse(r)
File "/home/calo77103/.local/lib/python3.8/site-packages/telepot/api.py", line 150, in _parse
raise exception.TelegramError(description, error_code, data)
telepot.exception.TelegramError: ('Bad Request: chat not found', 400, {'ok': False, 'error_code': 400, 'description': 'Bad Request: chat not found'})
is that a bug or my error?
terminal error says :
Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
how to fix this?
if you run bot locally it downloads the song on your laptop or pc but gives the user in the chat 404 eror
Hi Nima i hope you doing well ...
the problem is when i want to deploy the bot to Heroku it says "We couldn't deploy your app because the source code violates the Salesforce Acceptable Use and External-Facing Services Policy."
and i even made another rep using your codes and it still didnt work , do you have any solution for this ?
this time the bot work perfectly but when I put spotify track it say this
897551417:https://open.spotify.com/track/3rdXXspuZign63VttNZrbF
Blasterjaxx - Make It Out Alive (feat. Jonathan Mendelsohn) [Official Lyric Video]
https://www.youtube.com//watch?v=dpeeXf1bcgk
[generic] watch?v=dpeeXf1bcgk: Requesting header
[redirect] Following redirect to https://consent.youtube.com/m?continue=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DdpeeXf1bcgk&gl=IT&m=0&pc=yt&uxe=23983172&hl=en&src=1
[youtube:tab] m: Downloading webpage
[download] Downloading playlist: m - Home
[youtube:tab] playlist m - Home: Downloading 0 videos
[download] Finished downloading playlist: m - Home
It seems to be normal but bot send me "can't download music"
pls fix it bro
i want to deploy this on Heroku 🥲🥲
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.