mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 15:26:01 +03:00
[GH-ISSUE #240] Hang during YTMusic initialization #189
Labels
No labels
a/b
bug
documentation
enhancement
good first issue
help wanted
invalid
pull-request
question
wontfix
yt-error
yt-update
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ytmusicapi#189
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cosven on GitHub (Dec 7, 2021).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/240
There is no timeout for the get request. As a result, the initialization of YTMusic object may hang. I think it should use
self._sessionto send the request here.github.com/sigma67/ytmusicapi@55c795a13e/ytmusicapi/ytmusic.py (L145-L147)