VCPlayerBot icon indicating copy to clipboard operation
VCPlayerBot copied to clipboard

Pass headers

Open Deshdeepak1 opened this issue 4 years ago • 5 comments

Pass headers like MX PLayer in streams.

/stream link|Header1=Value&Header2=value

Deshdeepak1 avatar Oct 24 '21 12:10 Deshdeepak1

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

subinps avatar Oct 25 '21 06:10 subinps

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

Deshdeepak1 avatar Oct 25 '21 08:10 Deshdeepak1

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.

Deshdeepak1 avatar Oct 25 '21 17:10 Deshdeepak1

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 :_

subinps avatar Oct 27 '21 13:10 subinps

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

Deshdeepak1 avatar Oct 29 '21 04:10 Deshdeepak1