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

Problem with sites which do not set a referer #110

Open
ktamp opened this issue Aug 23, 2023 · 0 comments
Open

Problem with sites which do not set a referer #110

ktamp opened this issue Aug 23, 2023 · 0 comments

Comments

@ktamp
Copy link

ktamp commented Aug 23, 2023

If a site does not set a referer (e.g. fedoraproject.org), clicking on a link does not propagate the message to uGet Download Manager, while right-clicking on the link and selecting "Download with uGet" works.

In order for clicking on a link to work for these sites too, the following fix has to be applied to function read_message() in uget-integrator:
referer = data['Referer']
should be replaced with
referer = data.get('Referer', '')

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

1 participant