-
Notifications
You must be signed in to change notification settings - Fork 291
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
HTTP referer/referrer #187
Comments
I doubt that it will work as there is no mention of referrer in documentation, could You give me a sample stream to test? If no, then add a new line init.py file before line 297 yourself: so the whole PlayVideo function looks like this:
If this works, I'll add support for the #EXTVLCOPT:http-referrer directive. |
#EXTINF:-1 tvg-id="LA2 TDT SD 4.sp" tvg-name="LA 2" tvg-logo="https://upload.wikimedia.org/wikipedia/commons/f/f3/Se15.png" group-title="TDT",LA 2 say that the channel that the test post will not last long, that they change very often but that today works and that in this way, that the structure perfectly |
I would say add something else because I did what I indicated and now it does not open or the plugin settings |
I'm sorry to say that I would never work for a global list as much for a single channel as it puts the referrer of the channel that I previously indicated but each channel has a different referrer HTTP.Headers ['Referer'] = 'http://player.livesports.pw/la2/' these referer are only valid for a channel and even then I do not know if it would work if you want I can try it but it seems to me to throw away the time as I told you, that alone would be valid for a channel |
I do not understand what are You saying. If this works with single channel, I will update my plug-in so it takes referer from |
what I say and forgive because I use xd translator is that each channel uses a different referrer and within the code it seems impossible for me to directly target the referrer instead of a tool that interprets it |
As I said, if it works with one channel, I will make a "tool that interprets it". |
ok I try and I'll tell you soon |
via desktop app windows if you work but from the web browser not yet to do the test and had to modify the referrer since they change almost daily I leave a channel recently captured and functional as you are now with the tests #EXTINF:-1 tvg-id="LA2 TDT SD 4.sp" tvg-name="LA 2" tvg-logo="https://upload.wikimedia.org/wikipedia/commons/f/f3/Se15.png" group-title="TDT",LA 2 vcl |
As you can see it is the same channel as the other time but it has changed its referrer |
Trying to add HTTP referer for issue #187
Committed a new version to test, please download zip and rename as instructed above. Please keep in mind that I did not test it myself, so if it breaks please check the com.plexapp.plugins.iptv.log file. |
does not work and in vlc if it works is edited with note pad ++ |
the first time with some text if it worked in local plex now no longer log info |
User Agent string in Your sample has invalid character "…", Plex can't handle it... |
I had this error, I did not realize when it came to capturing the channel, it's working perfect, thank. |
Referer works? |
yes yes it is perfect work and to say that works both locally and in the browser |
I have tested several different channels with different referrer to corroborate the work and perfect |
This advance is great. I am very happy with the new version. |
Hello, it would be possible to add one more line to add to the channels besides the user agen the referrer
Here is an example of my channels in my list in vcl works perfect but I would like to put it in plex with your help
#EXTINF:-0 tvg-id="ID EPG" tvg-name="NAME " tvg-logo="URL IMG LOGO" group-title="Name Group",NAME CHANNEL
#EXTVLCOPT:http-referrer=URL REFERRER CHANNEL
#EXTVLCOPT:http-user-agent=USER AGENT REQUIRED
URL CHANNEL
The text was updated successfully, but these errors were encountered: