
    i%                         S r SSKJr  Sr " S S5      r " S S\\R
                  5      r " S S	\\R                  5      r " S
 S\\R                  5      r
g)z+Extractors for https://www.idolcomplex.com/   )sankakuzU(?:https?://)?(?:www\.)?idol(?:\.sankaku)?complex\.com(?:/[a-z]{2}(?:[-_][A-Z]{2})?)?c                   *    \ rS rSrSrSrSrSrS rSr	g)	IdolcomplexBase   z%Base class for idolcomplex extractorsidolcomplexzhttps://www.idolcomplex.comz.idolcomplex.comc                     [         R                  " U 5      U l        SU R                  l        U R                  U R                  R
                  S'   g )Nzhttps://i.sankakuapi.comOrigin)r   
SankakuAPIapiROOTrootheaders)selfs    M/app/mltbenv/lib/python3.13/site-packages/gallery_dl/extractor/idolcomplex.py_initIdolcomplexBase._init   s7    %%d+2%)YY"    )r   N)
__name__
__module____qualname____firstlineno____doc__categoryr   cookies_domainr   __static_attributes__ r   r   r   r      s    /H(D'N/r   r   c                   &    \ rS rSrSr\S-   rSrSrg)IdolcomplexTagExtractor   z&Extractor for idolcomplex tag searchesz(?:/posts)?/?\?([^#]*)z.https://www.idolcomplex.com/en/posts?tags=TAGSr   N	r   r   r   r   r   BASE_PATTERNpatternexampler   r   r   r   r   r      s    066G>Gr   r   c                   &    \ rS rSrSr\S-   rSrSrg)IdolcomplexPoolExtractor$   zExtractor for idolcomplex poolsz/pools?/(?:show/)?(\w+)z5https://www.idolcomplex.com/en/pools/0123456789abcdefr   Nr    r   r   r   r%   r%   $   s    )77GEGr   r%   c                   &    \ rS rSrSr\S-   rSrSrg)IdolcomplexPostExtractor*   z*Extractor for individual idolcomplex postsz/posts?(?:/show)?/(\w+)z5https://www.idolcomplex.com/en/posts/0123456789abcdefr   Nr    r   r   r   r(   r(   *   s    477GEGr   r(   N)r    r   r!   r   SankakuTagExtractorr   SankakuPoolExtractorr%   SankakuPostExtractorr(   r   r   r   <module>r.      s^    2 3
	/ 	/?ow/J/J ?F0L0L FF0L0L Fr   