
    Ği
                     6    d dl Z ddlmZ  G d de          ZdS )    N   )InfoExtractorc                   2    e Zd ZdZdZddddddd	d
Zd ZdS )TrailerAddictIEFz_(?:https?://)?(?:www\.)?traileraddict\.com/(?:trailer|clip)/(?P<movie>.+?)/(?P<trailer_name>.+)z=http://www.traileraddict.com/trailer/prince-avalanche/trailer 41365557f3c8c397d091da510e73ceb476184mp4zPrince Avalanche TrailerzTrailer for Prince Avalanche.

Two highway road workers spend the summer of 1988 away from their city lives. The isolated landscape becomes a place of misadventure as the men find themselves at odds with each other and the women they left behind.)idexttitledescription)urlmd5	info_dictc                    |                      |          }|                    d          dz   |                    d          z   }|                     ||          }|                     |d                              dd          }|                     d|dd	
          }|d n"t          |                    dd                    }|                     d|d          }t          j        d|          rd}	nd}	d|	 d|}
|                     |
|d          }|                     d|d                              dd          }|                     d|d          }| 	                    d|dd	
          }||||||dS )Nmovie/trailer_namezvideo titlez - Trailer Addict z'<span class="views_n">([0-9,.]+)</span>z
view countF)fatal,z2<param\s+name="movie"\s+value="/emb/([0-9]+)"\s*/>zvideo idzfunction (no)?watchplus()fvarhdfvarzhttp://www.traileraddict.com/z	.php?tid=zDownloading the info webpagez&fileurl=(.+)zDownload urlz%3F?z&image=(.+?)&zthumbnail urlzK(?s)<div class="synopsis">.*?<div class="movie_label_info"[^>]*>(.*?)</div>r   )r
   r   r   	thumbnailr   
view_count)
_match_valid_urlgroup_download_webpage_html_extract_titlereplace_search_regexintresearch_html_search_regex)selfr   mobjnamewebpager   view_count_strr   video_idr   info_urlinfo_webpage	final_urlthumbnail_urlr   s                  cC:\Users\betacode\Desktop\descargarYoutube\venv\Lib\site-packages\yt_dlp/extractor/traileraddict.py_real_extractzTrailerAddictIE._real_extract   s   $$S))zz'""S(4::n+E+EE((d33((-@@HHI\^`aa++6\ , 0 0 #*DD^++C4455 	 %%AZ! !
 917;; 	DDDN4NN(NN--hB`aa&&'7'3^E EELWUTWEXEX 	**+;+7J J --Z]% . 1 1
 &&$
 
 	
    N)__name__
__module____qualname___WORKING
_VALID_URL_TESTr2    r3   r1   r   r      sX        HsJN1/ V	
 
	 	E)
 )
 )
 )
 )
r3   r   )r$   commonr   r   r:   r3   r1   <module>r<      sT    				 ! ! ! ! ! !7
 7
 7
 7
 7
m 7
 7
 7
 7
 7
r3   