Skip to content

Remove user agent setting for URLopener#82

Open
duzun wants to merge 1 commit intoPlayOnLinux:masterfrom
duzun:patch-1
Open

Remove user agent setting for URLopener#82
duzun wants to merge 1 commit intoPlayOnLinux:masterfrom
duzun:patch-1

Conversation

@duzun
Copy link

@duzun duzun commented Feb 21, 2026

Remove setting user agent for URLopener.

The Variables.userAgent attribute doesn't even exist anymore, and URLopener was removed in Python 3.13. This line was setting a user-agent on a long-deprecated class. The simplest fix is to remove it — it's dead code.

Remove setting user agent for URLopener.

The Variables.userAgent attribute doesn't even exist anymore, and URLopener was removed in Python 3.13. This line was setting a user-agent on a long-deprecated class. The simplest fix is to remove it — it's dead code.
@qparis
Copy link
Member

qparis commented Feb 22, 2026

Hello,

This was fixed in last merge request: #81

Do you agree with the change?

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.

2 participants