
    i                     :    S r SSKJrJr  SSKJr   " S S\5      rg)zRecursive extractor   )	ExtractorMessage   )textc                   *    \ rS rSrSrSrSrSrS rSr	g)	RecursiveExtractor   z9Extractor that fetches URLs from a remote or local source	recursivezr(?:ecursive)?:z+recursive:https://pastebin.com/raw/FLwrCYsTc              #     #    U R                   R                  S5      S   nUR                  S5      (       a'  [        USS  SS9 nUR	                  5       nS S S 5        O/U R                  [        R                  " U5      5      R                  n[        R                  " S5      R                  W5       H  n[        R                  US   0 4v   M     g ! , (       d  f       NS= f7f)	N:r   zfile://   zutf-8)encodingzhttps?://[^\s\"']+    )url	partition
startswithopenreadrequestr   ensure_http_schemerefinditerr   Queue)selfr   fppagematchs        K/app/mltbenv/lib/python3.13/site-packages/gallery_dl/extractor/recursive.pyitemsRecursiveExtractor.items   s     hh  %a(>>)$$c!"g0Bwwy 10 << 7 7 <=BBDWW23<<TBE--q2-- C 10s   AC#CA=C#
C C# N)
__name__
__module____qualname____firstlineno____doc__categorypatternexampler   __static_attributes__r!       r   r   r      s    CH G;G
.r+   r   N)r&   commonr   r    r   r   r!   r+   r   <module>r.      s     & . .r+   