o
    Ikcp                     @   s`   d Z ddlZddlZddlmZmZ ddlmZ ee	Z
eedG dd deZeZdS )z
$description Indian Hindi-language news channel covering world & Indian news, business, entertainment and sport.
$url zeenews.india.com
$type live
    N)Pluginpluginmatcher)	HLSStreamz$https?://zeenews\.india\.com/live-tvc                   @   s    e Zd ZdZdZdZdd ZdS )ZeeNewsz1https://z5ams.akamaized.net/zeenews/index.m3u8{0}z*https://useraction.zee5.com/token/live.phpzZee Newsc                 c   sX    | j j| j}| j j|d }td| t	| j | j
| E d H  d S )Nvideo_tokenzvideo_token: {0})sessionhttpget	TOKEN_URLjsonlogdebugformatr   parse_variant_playlistHLS_URLitems)selfrestoken r   </usr/lib/python3/dist-packages/streamlink/plugins/zeenews.py_get_streams   s
   $zZeeNews._get_streamsN)__name__
__module____qualname__r   r
   titler   r   r   r   r   r      s
    r   )__doc__loggingrestreamlink.pluginr   r   streamlink.stream.hlsr   	getLoggerr   r   compiler   
__plugin__r   r   r   r   <module>   s    
