
    =Ґi                         d dl mZ d dlmZ d dlmZ d dlmZm	Z	  ee
d       [ e	 eddee             d	 Zd
 ZddZddZd Zd Zy)   )passthrough_module
extractors)
plugin_ies)
PluginSpecregister_plugin_specz.extractors	extractorIE)module_namesuffixdestinationplugin_destinationc                  d    t                t        t        j                  j	                               S )z Return a list of supported extractors.
    The order does matter; the first extractor matched is the one handling the URL.
    )import_extractorslist_extractors_contextvaluevalues     R/var/www/descvideos/venv/lib/python3.12/site-packages/yt_dlp/extractor/__init__.pygen_extractor_classesr      s%     #))00233r   c                  F    t               D  cg c]	  }  |         c} S c c} w )z Return a list of an instance of every supported extractor.
    The order does matter; the first extractor matched is the one handling the URL.
    )r   )klasss    r   gen_extractorsr      s     "7!89EG999s   Nc              #       K   ddl m t        t         fdt	                     d       E d{     y7 	w)zYReturn a list of extractors that are suitable for the given age, sorted by extractor name   )	GenericIEc                 4    | j                        xr | k7  S N)is_suitable)ier   	age_limits    r   <lambda>z(list_extractor_classes.<locals>.<lambda>%   s    2>>),@y r   c                 6    | j                   j                         S r    )IE_NAMElower)r"   s    r   r$   z(list_extractor_classes.<locals>.<lambda>&   s    1A1A1C r   )keyN)genericr   sortedfilterr   )r#   r   s   `@r   list_extractor_classesr,       s?     "f@!&CE E E OEs   .><
>c                 H    t        |       D cg c]	  } |        c}S c c}w )zbReturn a list of extractor instances that are suitable for the given age, sorted by extractor name)r,   )r#   r"   s     r   list_extractorsr.   *   s    1)<=RBD===s   c                 B    t                t        j                  |  d   S )z7Returns the info extractor class with the given ie_namer
   )r   r   r   )ie_names    r   get_info_extractorr1   /   s    $$y^44r   c                      ddl m}  y )Nr   r   ) r   r   s    r   r   r   5   s    r   r    )compat.compat_utilsr   globalsr   r   r   _plugin_ies_contextpluginsr   r   __name__r   r   r,   r.   r1   r   r   r   r   <module>r9      sW    4 7 7 6 8] + Z#*	 4:>
5r   