
    ih                     >    S r SSKJrJr  SSKJr  Sr " S S\5      rg)	z0Extractors for https://www.vogue.com/photovogue/   )	ExtractorMessage   )textz-(?:https?://)?(?:www\.)?vogue\.com/photovoguec                   H    \ rS rSrSrSrSrSrSr\	S-   r
SrS	 rS
 rS rSrg)PhotovogueUserExtractor   
photovogueuser)z
{category}z'{photographer[id]} {photographer[name]}z{id} {title}.{extension}z{id}z/photographers/(\d+)z4https://www.vogue.com/photovogue/photographers/12345c                 D    [         R                  " X5        US   U l        g )Nr   )r   __init__user_id)selfmatchs     L/app/mltbenv/lib/python3.13/site-packages/gallery_dl/extractor/photovogue.pyr    PhotovogueUserExtractor.__init__   s    4'Qx    c              #     #    U R                  5        Hs  nUS   nUS   R                  5       US'   U R                  US   5      US'   [        R                  SU4v   [        R
                  U[        R                  " X!5      4v   Mu     g 7f)Ngallery_imagetitledate )photosstripparse_datetime_isor   	DirectoryUrlr   nameext_from_url)r   photourls      r   itemsPhotovogueUserExtractor.items   s|     [[]E(C"7^113E'N 33E&MBE&M##R..++sD$9$9#$EEE #s   B	Bc              #      #    SnSSSU R                   S.n U R                  XS9nUS    S h  vN   US   (       d  g US	==   S
-  ss'   M6   N7f)Nz'https://api.vogue.com/production/photos50DESC    )countorder_bypagephotographer_id)paramsr!   has_nextr)   r   )r   request_json)r   r    r+   datas       r   r   PhotovogueUserExtractor.photos%   sg     7#||	
 $$S$8DG}$$
#6NaN $s   ,AAA)r   N)__name__
__module____qualname____firstlineno__categorysubcategorydirectory_fmtfilename_fmtarchive_fmtBASE_PATTERNpatternexampler   r!   r   __static_attributes__ r   r   r   r      s;    HKMM-LK44GDG F r   r   N)__doc__commonr   r   r   r   r9   r   r=   r   r   <module>r@      s!    7 & ?% i % r   