Skip to content

Increase httpx client timeout when fetching apples homepage#332

Open
v4h12 wants to merge 1 commit into
glomatico:mainfrom
v4h12:increase-httpx-timeout
Open

Increase httpx client timeout when fetching apples homepage#332
v4h12 wants to merge 1 commit into
glomatico:mainfrom
v4h12:increase-httpx-timeout

Conversation

@v4h12

@v4h12 v4h12 commented Jul 11, 2026

Copy link
Copy Markdown

Currently at a place with weak wifi, noticed i would get this timeout error when running gamdl:

Traceback (most recent call last):
File "/home/v4h/Music/venv/lib/python3.14/site-packages/gamdl/api/apple_music.py", line 84, in get_token
response = await client.get(
^^^^^^^^^^^^^^^^^
...<2 lines>...

So i extended the default timeout to 30 seconds and it ended up working normal again. Decided to make this PR, hope this helps in some way!

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

Successfully merging this pull request may close these issues.

1 participant