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

Pass headers #55

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Pass headers #55

wants to merge 5 commits into from

Conversation

Deshdeepak1
Copy link

Pass headers like MX PLayer in streams.

/stream link|Header1=Value&Header2=value

@subinps
Copy link
Owner

subinps commented Oct 25, 2021

Have you tested with these changes ?, Because it seems its not working for me.
And if possible add and example in readme also.

@Deshdeepak1
Copy link
Author

It was working locally, but not on deployment. Will fix soon

@Deshdeepak1
Copy link
Author

Its working for me locally using python main.py.
But if you deploy it on heroku or use start.sh it will pull your repo instead hence won't work.

Try locally and then tell.

@subinps
Copy link
Owner

subinps commented Oct 27, 2021

Its working for me locally using python main.py. But if you deploy it on heroku or use start.sh it will pull your repo instead hence won't work.

Try locally and then tell.

https://github.com/VideoMasters/VCPlayerBot/blob/main/utils/utils.py#L784
Check this , you haven't passed the headers.
And give me a link to test :_

@Deshdeepak1
Copy link
Author

Passed missing headers and messaged you(@subinps_bot) link to try on.

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