Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lyric Website Blocks Connection #28

Open
p3n74 opened this issue May 12, 2024 · 2 comments
Open

Lyric Website Blocks Connection #28

p3n74 opened this issue May 12, 2024 · 2 comments

Comments

@p3n74
Copy link

p3n74 commented May 12, 2024

The code works for one sone but after that, the website blocks any connections.

requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.megalobiz.com', port=443): Max retries exceeded with url: /search/all?qry=Seafret+Atlantis&display=more (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x102842a50>: Failed to establish a new connection: [Errno 61] Connection refused'))

@p3n74
Copy link
Author

p3n74 commented May 12, 2024

changing to execute script every 3-5 seconds instead of 1 seems to fix this but there is delay

@ChenghaoMou
Copy link
Owner

Thanks for raising the issue.

I wasn't able to fix the connection issue with the same song. However, I was able to add a few tricks to smooth the experience a little bit. Still, you should expect some delay for any new song (subsequent play will reuse the same lyric info).

Make sure you update the package with

pip install --upgrade touchbar_lyric

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants