add-ons / plugin.video.streamz

Kodi add-on to watch video-on-demand content from the Streamz service.
https://github.com/add-ons/plugin.video.streamz/wiki
GNU General Public License v3.0
17 stars 4 forks source link

Remove the User-Agent and other headers #62

Open michaelarnauts opened 2 months ago

michaelarnauts commented 2 months ago

I got a request from DPG to remove some HTTP headers:

De VTM GO en Streamz Kodi plugins doen zich in de communicatie met onze servers voor als een Android app. Dit bemoeilijkt onze werking.

Daarom willen we vragen om toch een aantal aanpassingen door te voeren, zodat dit onze werking alvst niet verder bemoeilijkt.

https://github.com/add-ons/plugin.video.vtm.go/blob/master/resources/lib/vtmgo/util.py#L20 https://github.com/add-ons/plugin.video.streamz/blob/master/resources/lib/streamz/util.py#L35

Gelieve volgende wijzigingen door te voeren:

  • Een geldige User-Agent header meesturen die de app identificeert als Kodi
  • Deze headers verwijderen: x-persgroep-mobile-app, x-persgroep-os, x-persgroep-os-version