pierre-emmanuelJ / iptv-proxy

Reverse proxy on iptv m3u and m3u8 file and xtream codes client api
GNU General Public License v3.0
478 stars 139 forks source link

Ofuscate user agent #142

Open fbritoferreira opened 1 year ago

fbritoferreira commented 1 year ago

A few IPTV providers are starting to block curl access to their streams can we have a feature to ofuscate the user agent so the proxy can't be detected?

zimmflo commented 10 months ago

You can simply set a static user agent: xtreamHandles.go Just replace ctx.Request.UserAgent() with a static string e.g. "VLC/3554" or "IPTV Smarters/1.0.3 (iPhone; iOS 16.3; Scale/2.00)"