관리-도구
편집 파일: retriever-multi.cpython-38.pyc
U (?�f � @ s� d dl Z d dlZzd dlZd dlmZmZ W n ek r@ Y nX e�ee� dZzLe jd dkrne j� � Z nee jd �� � Z ee j�dkr�e e jd �ZW n" ede jd � e�Y nX g Ze D ]<Ze�� Zer�ed d kr�q�d ee�d Ze�eef� q�e�std��ee�Zeee�Zde k�r@dk�sJn td ��edejejf � ededed� e�� Zg e_ee�D ]fZe�� Z de _!e �"ej#d� e �"ej$d� e �"ej%d� e �"ej&d� e �"ej'd� ej�e � �q�ejdd� Z(d Z)e)ek �rde�rne(�rne�*d �\ZZe(�*� Z eed�e _!e �"ej+e� e �"ej,e j!� e�-e � ee _ee _�qe�.� \Z/Z0e/ej1k�rn�q��qne�2� \Z3Z4Z5e4D ]DZ e j!�6� de _!e�7e � ede je je �8ej9�� e(�e � �q�e5D ]D\Z Z:Z;e j!�6� de _!e�7e � ede je je:e;� e(�e � �q�e)ee4� ee5� Z)e3d k�r��qV�q�e�<d� �q�ejD ]*Z e j!dk �r�e j!�6� de _!e �6� �qje�6� dS )� N)�SIGPIPE�SIG_IGN� � �-� � zCUsage: %s <file with URLs to fetch> [<# of concurrent connections>]�#zdoc_%03d.datz no URLs giveni'