Comments (6)
Is your error even timeout related? It basically just takes your session and uses it:
ytmusicapi/ytmusicapi/ytmusic.py
Lines 76 to 77 in 05a5fb8
Where did you see the wrong part in the docs? Please provide a link
from ytmusicapi.
Here:
ytmusicapi/ytmusicapi/ytmusic.py
Lines 53 to 55 in 05a5fb8
And subsequently:
https://ytmusicapi.readthedocs.io/en/latest/reference.html#ytmusicapi.YTMusic.__init__
from ytmusicapi.
Is your error even timeout related? It basically just takes your session and uses it:
I'm not sure, I thought if I set the session timeout then the connection should still be open. Maybe not, what else could cause this error?
Exception has occurred: ConnectionError
('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
http.client.RemoteDisconnected: Remote end closed connection without response
During handling of the above exception, another exception occurred:
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
Great library by the way 👍
from ytmusicapi.
Good catch on the docs issue.
Here's some info on your error: https://stackoverflow.com/questions/61303351/why-does-requests-session-get-raise-an-requests-exceptions-connectionerror-in
It's not an issue with the ytmusicapi implementation, you'll need to handle the error on your end
from ytmusicapi.
Feel free to submit a PR if you want
from ytmusicapi.
It's not an issue with the ytmusicapi implementation, you'll need to handle the error on your end
Ok, thanks for the clarification!
from ytmusicapi.
Related Issues (20)
- Search doesn't display accurate data for top result and for `artists`
- First artist of a song is missing when searching HOT 1
- script to setup test env HOT 6
- extend get_album
- ytmusicapi doesn't handle playlists appearing in top results HOT 3
- get_episodes_playlist HOT 3
- `get_library_upload_artists` method not returning all artists for uploaded songs HOT 1
- Autocompletion API HOT 2
- The songs search not limit the results HOT 1
- Can't start YTMusic instance with an auth argument HOT 1
- TypeError: RefreshingToken.__init__() got an unexpected keyword argument 'filepath' HOT 3
- KeyError 'runs' on get_library_playlists() HOT 5
- `get_album` format update
- get_library_songs() returns 'album': None for all songs HOT 7
- method to fetch current playing song HOT 1
- KeyError: 'musicResponsiveListItemRenderer' When Calling get_charts with Non-Global Country Codes HOT 3
- create a *get_album_playlist_id* function HOT 2
- Get account info of currently authenticated user
- `get_playlist()` format update HOT 13
- Fixing function "limit" argument typing 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 ytmusicapi.