Forums » Tutorial and setups »
useragent args config please
Added by Wilson Cardenas about 6 years ago
Hi guys
can anybody tell me please what is the real args for config useragent for http cliente i already tried --useragent test and nothing happend still can watch channels.
thanks
regards
Replies (5)
RE: useragent args config please - Added by Wilson Cardenas about 6 years ago
anyone plase? or should i have to report as a bug?
thanks
RE: useragent args config please - Added by Hiro Protagonist about 6 years ago
You don't say what problem you're trying to solve, so it's not easy to provide a useful answer.
I presume you're trying to provide arguments to ffmpeg?
'--useragent test' won't do anything useful, because nothing out there that cares about user agents is going to recognise 'test'.
A quick google will find several sites that list valid useragent strings. Remember to quote them properly if using them on the command line.
e.g.
If the user agent string is "foo bar (1234)" you'll need to use:
--useragent foo\ bar\ \(1234\)\r\n
Needless to say perhaps, if you're getting streams already, you probably don't need to bother with setting a user agent.
RE: useragent args config please - Added by Wilson Cardenas about 6 years ago
Hi
many thanks for your reply maybe i was not clear im sorry correct question is that i need to block my users just to this user agent is that possible?. Lavf/56.41.100
thanks
regards
RE: useragent args config please - Added by ermos jevohan almost 4 years ago
Hi,
I also would like to know how to restrict user_agent at server end.
I just need to allow only defined useragents such as Kodi \ Lavf/56.32.100 \ Lavf/56.82.100 etc.
Thank you
Ermos
RE: useragent args config please - Added by Sven Andersson almost 4 years ago
Hi
Yes this feature should be added if not there already, thanks