diff --git a/resources/site-packages/elementum/navigation.py b/resources/site-packages/elementum/navigation.py index 12d09d278..9d9c9488b 100644 --- a/resources/site-packages/elementum/navigation.py +++ b/resources/site-packages/elementum/navigation.py @@ -276,7 +276,9 @@ def run(url_suffix="", retry=0): preload_timeout = 1 socket.setdefaulttimeout(buffer_timeout) - urllib_request.install_opener(urllib_request.build_opener(NoRedirectHandler())) + opener = urllib_request.build_opener(NoRedirectHandler()) + opener.addheaders = [('User-Agent', ADDON_ID)] + urllib_request.install_opener(opener) # Pause currently playing Elementum file to avoid doubling requests try: