Vikassm73 / AjaykRepo

Kodi add-ons Repository for Indian OTT Platform which includes zee5, MX Player, Sonyliv, Hotstar, JioCinema addon
189 stars 77 forks source link

Improvement: add Linux User Agent in ZEE5 #75

Closed AbhayF8 closed 2 years ago

AbhayF8 commented 2 years ago

if xbmc.getCondVisibility('System.Platform.Android'): USER_AGENT = "Mozilla/5.0 (Linux; Android 7.1.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36" elif xbmc.getCondVisibility('System.Platform.Windows'): USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36" elif xbmc.getCondVisibility('System.Platform.Linux'): USER_AGENT = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.79 Safari/537.36" headers["user-agent"] = USER_AGENT

Vikassm73 commented 2 years ago

Yes, that I noticed yesterday, done correction but not uploaded.

Thanks