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

Add supprt for request.session cookies or passing referer #61

Open
tathastu871 opened this issue Mar 11, 2023 · 1 comment
Open

Add supprt for request.session cookies or passing referer #61

tathastu871 opened this issue Mar 11, 2023 · 1 comment

Comments

@tathastu871
Copy link

I have a url. curl -H "Referer: Url" Link
How to implement it in pysmartdl
tried
request_args = {"headers": {"Referer": "url", "User-Agent": "Mozilla/5.0"}}

but not working says 410 gone. same error when curl is run without referer

@tathastu871
Copy link
Author

when i normally run session.get(link) it download file but with pysmartDL IT SAYS 410 gone

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