Comments (5)
@rexya2017 Hello,
Try pasting the link of the video you want to play and playing it via the url command with the bot.
from ttmediabot.
I've tried what you suggested, but the result is still I get an error in the log, and the Bot doesn't play anything.
here a log:
INFO [2021-09-17 18:23:52,286]: New message u https://www.youtube.com/watch?v=VEHNz7d4mY8 from Leon Scott Kennedy in MainThread file: init.py line 52 function run
ERROR [2021-09-17 18:23:52,874]: �[0;31mERROR:�[0m VEHNz7d4mY8: YouTube said: Unable to extract video data in TTPlayerConnector file: YoutubeDL.py line 523 function to_stderr
ERROR [2021-09-17 18:23:53,035]: �[0;31mERROR:�[0m VEHNz7d4mY8: YouTube said: Unable to extract video data in MainThread file: YoutubeDL.py line 523 function to_stderr
INFO [2021-09-17 18:23:53,037]: replied None in MainThread file: init.py line 54 function run
ERROR [2021-09-17 18:23:53,807]: �[0;31mERROR:�[0m VEHNz7d4mY8: YouTube said: Unable to extract video data in TTPlayerConnector file: YoutubeDL.py line 523 function to_stderr
from ttmediabot.
@rexya2017, Either you're using an outdated version of YoutubeDl, or your provider is blocking YouTube. Make sure that you have installed YoutubeDL using pip.
from ttmediabot.
@rexya2017, Either you're using an outdated version of YoutubeDl, or your provider is blocking YouTube. Make sure that you have installed YoutubeDL using pip.
I've updated youtube-dl via the pip3 command, and now I get a different error.
"WARNING [2021-09-18 13:09:37,434]: Unable to download webpage: HTTP Error 429: Too Many Requests in TTPlayerConnector file: YoutubeDL.py line 607 function report_warning"
Previously I had an error like the above on a windows server, and I fixed it by adding a little configuration located in the /bot/services/yt.py file:
" 'cookiefile': 'path/to/file/youtube.com_cookies.txt',"
and the result bot back to normal. But in this ubuntu I can't do that way because I don't know how to retrieve cookies on VPS Ubuntu 20 headless machine.
If possible, please tell me how to solve this, because I think this incident is caused by capcha which must be resolved soon.
from ttmediabot.
This should be fixed in the latest commit. However, the list of the required modules has been modified, so you will need to run pip install -r requirements.txt --upgrade in order to test these improvements.
from ttmediabot.
Related Issues (20)
- Can't play anything Debian 11
- Buffering audio on long youTube videos
- possibility to know the time remaining and total
- ttmediabot kurulum aşaması HOT 3
- Error running in Ubuntu 22.04. HOT 6
- libssl dependencies HOT 2
- we should get releaces versions for this bot
- After Cache File is Modified, the Bot Is Prevented from Running because of It Not Properly Recognized (So It Seems) HOT 3
- Extreme CPU usage caused by TeamTalk SDK update to 5.15 HOT 4
- teamtalk SDK license
- can type commands in oter channels HOT 4
- Bot connects but get a database error if I send commands. HOT 1
- a bug when the bot enter ina tt5Srv in ubuntu: HOT 2
- Ability to process the linked channel by default in the TeamTalk account. HOT 1
- I can't change bot languaje HOT 5
- Problem running the bot as a service HOT 3
- Feature request: use toml instead of json as a configuration file format HOT 1
- Add ability to process youtube links with time signature
- About TeamTalkSDK HOT 6
- Vaious ishues HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ttmediabot.