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

Could you add url support with "User-Agent" and "Referer" ? #12

Closed
kodi-rc opened this issue Nov 8, 2020 · 2 comments
Closed

Could you add url support with "User-Agent" and "Referer" ? #12

kodi-rc opened this issue Nov 8, 2020 · 2 comments
Assignees

Comments

@kodi-rc
Copy link

kodi-rc commented Nov 8, 2020

Hi, could you add url support with "User-Agent" and "Referer", as in Kodi?

an example of a minimal add-on for kodi that plays a video with a url that requires "User-Agent" and "Referer"
http:https://www.mediafire.com/file/90mj1g38sgxg6sk/plugin.video.test-referer.zip/file

url that opens in Kodi:
https://geralorigin.eu-central-1.edge.mycdn.live/live/cultura/video.m3u8|Referer=https://topcanais.com/assistir-tv-cultura-ao-vivo-24-horas-online/&User-Agent=Mozilla/5.0 (Windows NT 6.3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36

my m3u list-test:
gsettings set org.x.hypnotix providers "['Provider_Name:::https://raw.githubusercontent.com/kodi-rc/redecanais/master/teste.m3u']"

@clefebvre
Copy link
Member

Yes I think we can do that.

@clefebvre clefebvre self-assigned this Nov 18, 2020
@clefebvre
Copy link
Member

Done by 87a8e61

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

2 participants