
    !}g                     .    d dl mZ  G d de          ZdS )   )FeedParserDictc                       e Zd ZdddZd Zd Zd Zd Zd Zd Z	d	 Z
d
 Zd Zd Zd Zd Zd Zd Zd Zd ZeZd Zd ZdS )	Namespaceitunes)z*http://www.itunes.com/DTDs/PodCast-1.0.dtdz'http://example.com/DTDs/PodCast-1.0.dtdc                 0    |                      |           d S N)_start_authorselfattrs_ds     \/var/www/py-google-trends/myenv/lib/python3.11/site-packages/feedparser/namespaces/itunes.py_start_itunes_authorzNamespace._start_itunes_author)   s    7#####    c                 .    |                                   d S r   )_end_authorr   s    r   _end_itunes_authorzNamespace._end_itunes_author,   s    r   c                 .    |                                   d S r   )_end_categoryr   s    r   _end_itunes_categoryzNamespace._end_itunes_category/       r   c                 0    |                      |           d S r   )_start_namer
   s     r   _start_itunes_namezNamespace._start_itunes_name2   s    !!!!!r   c                 .    |                                   d S r   )	_end_namer   s    r   _end_itunes_namezNamespace._end_itunes_name5   s    r   c                 0    |                      |           d S r   )_start_emailr
   s     r   _start_itunes_emailzNamespace._start_itunes_email8   s    '"""""r   c                 .    |                                   d S r   )
_end_emailr   s    r   _end_itunes_emailzNamespace._end_itunes_email;   s    r   c                 0    |                      |           d S r   )_start_subtitler
   s     r   _start_itunes_subtitlez Namespace._start_itunes_subtitle>   s    W%%%%%r   c                 .    |                                   d S r   )_end_subtitler   s    r   _end_itunes_subtitlezNamespace._end_itunes_subtitleA   r   r   c                 0    |                      |           d S r   )_start_summaryr
   s     r   _start_itunes_summaryzNamespace._start_itunes_summaryD   s    G$$$$$r   c                 .    |                                   d S r   )_end_summaryr   s    r   _end_itunes_summaryzNamespace._end_itunes_summaryG   s    r   c                 @    d| _         |                     dd           d S )N   	publisher    )inpublisherpushr
   s     r   _start_itunes_ownerzNamespace._start_itunes_ownerJ   s$    		+q!!!!!r   c                 h    |                      d           d| _        |                     d           d S )Nr2   r3   )popr4   _sync_author_detailr   s    r   _end_itunes_ownerzNamespace._end_itunes_ownerN   s6      -----r   c                     |                      d                              d          D ]?}|                                r)|                     |                                dd            @d S )Nitunes_keywords,http://www.itunes.com/)r8   splitstrip_add_tag)r   terms     r   _end_itunes_keywordszNamespace._end_itunes_keywordsS   sk    HH.//55c:: 	L 	LDzz|| Ldjjll,DdKKK	L 	Lr   c                     |                      |                    d          dd            |                     dd           d S )Ntextr>   categoryr1   )rA   getr5   r
   s     r   _start_itunes_categoryz Namespace._start_itunes_categoryX   s?    gkk&))+CTJJJ		*a     r   c                 r   |                      dd           |                    d          r;t          d|                    d          i          |                                 d<   d S |                    d          r;t          d|                    d          i          |                                 d<   d S d S )Nitunes_imager3   hrefimageurl)r5   rG   r   _get_contextr
   s     r   _start_itunes_imagezNamespace._start_itunes_image\   s    		.!$$$;;v 	X+967;;vCVCV:W+X+XD((([[ 	X+967;;uCUCU:V+W+WD(((	X 	Xr   c                 |    |                      dd          }|dk    s|dk    rdpd|                                 d<   d S )Nitunes_blockr3   yesYesr1   r8   rN   r   values     r   _end_itunes_blockzNamespace._end_itunes_blockd   sJ    ++/4~/O%.VUV.[Z[N+++r   c                     |                      dd          }d|dk    rdp|dk    pd         |                                 d<   d S )Nitunes_explicitr3   )NFTrR   r   cleanrT   rU   s     r   _end_itunes_explicitzNamespace._end_itunes_explicith   sW    *A.. 2EeunFZYZEt_dho_oEtst1u-...r   N)__name__
__module____qualname__supported_namespacesr   r   r   r   r   r    r#   r&   r)   r,   r/   r6   r:   rC   rH   rO   _start_itunes_linkrW   r[    r   r   r   r       sO        7? 4< $ $ $    " " "  # # #  & & &  % % %  " " ". . .
L L L
! ! !X X X -\ \ \v v v v vr   r   N)utilr   objectr   ra   r   r   <module>rd      sa   : " ! ! ! ! !Mv Mv Mv Mv Mv Mv Mv Mv Mv Mvr   