question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItĀ collects links to all the places you might be looking at while hunting down a tough bug.

And, if youā€™re still stuck at the end, weā€™re happy to hop on a call to see how we can help out.

Request to support standard User-agent and Referer like in Kodi

See original GitHub issue

Hi, could you add url support with ā€œUser-Agentā€ and ā€œRefererā€, as in Kodi ? šŸ¤”

Most modern IPTV players support the M3U8 Kodi syntax for UA and Referer:

Hereā€™s an example:

#EXTM3U
#EXTINF:0,Test
https://www.streamaway.net/fra/13e/mono.m3u8|User-Agent=Mozilla/5.0&Referer=https://www.streamaway.net/fr/13erue-fr.php
https://www.streamaway.net/fra/histo/index.m3u8|Referer=https://www.streamaway.net/fr/Histoire-fr.php

It would be really useful since in many list for different channels we need diffĆ©rents ā€œRefererā€ and the option allow to specify only one different referer by playlist.

Regards ! :octocat:

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
mikhoulcommented, Jul 9, 2021

@4gray Iā€™ve seen that you have integrated the feature so Iā€™d like to know when you intend to publish the next release with this feature integrated ?

Regards :octocat:

0reactions
mikhoulcommented, Jun 11, 2021

Thanks a lot @4gray , šŸ‘

It will be really useful to play legal links from various sites that are expecting a specific user agent. :octocat:

Read more comments on GitHub >

github_iconTop Results From Across the Web

Krypton changes to URL options - Kodi Community Forum
It's obvious User-Agent headers are no longer being passed to actually play the video. Only to request first 64KB to get its mime...
Read more >
Sending Crafted HTTP Request Header in Kodi
Sending crafted HTTP request header will allow you to bypass the restriction. ... For Kodi to send a specified User-Agent and Referer,Ā ...
Read more >
canlitvlive.net - VideoHelp Forum
With referer or not, is same. it seems that the site filters the user agent kodi so use an external player like mpv...
Read more >
HTTP - Official Kodi Wiki
Kodi supported normal http/https urls, additionally, it support optional ... Referer; User-Agent; Cookie; Encoding; any other http request ...
Read more >
Ultimate Whitecream Kodi Add-on Review
Before you start using Kodi adult addons, it would be best that you subscribe to a VPN service. This is to ensure that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found