ACCA225 commited on
Commit
70b5b3e
1 Parent(s): 138de90

Upload 3 files

Browse files
Files changed (3) hide show
  1. json2txt (2).ipynb +89 -0
  2. xiazai (1).py +20 -0
  3. 解压.ipynb +1815 -0
json2txt (2).ipynb ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": null,
6
+ "id": "74b04d07-c4df-48d9-9745-dc1aebf9b695",
7
+ "metadata": {},
8
+ "outputs": [],
9
+ "source": [
10
+ "\n",
11
+ "%cd /train3/1_data\n",
12
+ "import json\n",
13
+ "from datetime import datetime\n",
14
+ "def process_line(line, count):\n",
15
+ " try:\n",
16
+ " data = json.loads(line)\n",
17
+ " # 提取关键数据转为txt\n",
18
+ " json2txt(data)\n",
19
+ " print(f'Processed line {count}')\n",
20
+ " except json.JSONDecodeError as e:\n",
21
+ " print(f\"JSONDecodeError: {e}\")\n",
22
+ "\n",
23
+ "def json2txt(data):\n",
24
+ " # 提取关键参数\n",
25
+ " id_value = str(data['id'])\n",
26
+ " tag_general = data.get('tag_string_general', '')\n",
27
+ " tag_character = data.get('tag_string_character', '')\n",
28
+ " tag_copyright = data.get('tag_string_copyright', '')\n",
29
+ " tag_artist = data.get('tag_string_artist', '')\n",
30
+ " rating = data['rating']\n",
31
+ " created_at = data['created_at']\n",
32
+ " # 格式化标签字符串\n",
33
+ " def format_tags(tag_string):\n",
34
+ " tags = tag_string.split()\n",
35
+ " formatted_tags = ', '.join(tags)\n",
36
+ " return formatted_tags\n",
37
+ " \n",
38
+ " tag_general_formatted = format_tags(tag_general)\n",
39
+ " tag_character_formatted = format_tags(tag_character)\n",
40
+ " tag_copyright_formatted = format_tags(tag_copyright)\n",
41
+ " tag_artist_formatted = format_tags(tag_artist)\n",
42
+ " \n",
43
+ " # 构造文件名\n",
44
+ " filename = f\"{id_value}.txt\"\n",
45
+ " year = datetime.strptime(created_at, \"%Y-%m-%dT%H:%M:%S.%f%z\").year\n",
46
+ " # 写入文本文件\n",
47
+ " with open(filename, 'w', encoding='utf-8') as f:\n",
48
+ " f.write(f\"{tag_artist_formatted}, \")\n",
49
+ " f.write(f\"{tag_general_formatted}, \")\n",
50
+ " f.write(f\"{tag_character_formatted}, \")\n",
51
+ " f.write(f\"{tag_copyright_formatted}, \")\n",
52
+ " f.write(f\"year_{year}, \")\n",
53
+ " if rating == 'e':\n",
54
+ " f.write(\"nsfw\")\n",
55
+ " print(f\"文件 {filename} 已成功创建并保存相关数据。\")\n",
56
+ "\n",
57
+ "# 打开原始 JSON 文件\n",
58
+ "input_file = '/posts.json' # 原始 JSON 文件路径\n",
59
+ "count = 1\n",
60
+ "\n",
61
+ "with open(input_file, 'r', encoding='utf-8') as file:\n",
62
+ " for line in file:\n",
63
+ " process_line(line, count)\n",
64
+ " count += 1\n"
65
+ ]
66
+ }
67
+ ],
68
+ "metadata": {
69
+ "kernelspec": {
70
+ "display_name": "Python 3 (ipykernel)",
71
+ "language": "python",
72
+ "name": "python3"
73
+ },
74
+ "language_info": {
75
+ "codemirror_mode": {
76
+ "name": "ipython",
77
+ "version": 3
78
+ },
79
+ "file_extension": ".py",
80
+ "mimetype": "text/x-python",
81
+ "name": "python",
82
+ "nbconvert_exporter": "python",
83
+ "pygments_lexer": "ipython3",
84
+ "version": "3.8.10"
85
+ }
86
+ },
87
+ "nbformat": 4,
88
+ "nbformat_minor": 5
89
+ }
xiazai (1).py ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import subprocess
2
+ from concurrent.futures import ThreadPoolExecutor
3
+
4
+ # 定义下载函数
5
+ def download_file(url, output):
6
+ command = f'aria2c -x 16 -s 16 -c "{url}" -o {output}'
7
+ print(f"下载 {output}")
8
+ subprocess.run(command, shell=True)
9
+
10
+ # 定义URL和输出文件名https://hf-mirror.com/datasets/KBlueLeaf/danbooru2023-webp-4Mpixel/resolve/main/images/data-0000.tar?download=true
11
+ urls = [
12
+ f"https://hf-mirror.com/datasets/KBlueLeaf/danbooru2023-webp-4Mpixel/resolve/main/images/data-{i:04d}.tar"
13
+ for i in range(463, 999, 2)
14
+ ]
15
+ outputs = [f"data-{i:04d}.tar" for i in range(463, 999, 2)]
16
+
17
+ # 使用ThreadPoolExecutor并行执行下载
18
+ with ThreadPoolExecutor(max_workers=10) as executor:
19
+ for url, output in zip(urls, outputs):
20
+ executor.submit(download_file, url, output)
解压.ipynb ADDED
@@ -0,0 +1,1815 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": 1,
6
+ "id": "09a6e84d-3d03-4cd3-94a1-99ca37763e49",
7
+ "metadata": {},
8
+ "outputs": [
9
+ {
10
+ "name": "stdout",
11
+ "output_type": "stream",
12
+ "text": [
13
+ "1000960.jpg\n",
14
+ "1000958.jpg\n",
15
+ "1000962.jpg\n",
16
+ "1000950.jpg\n",
17
+ "1000952.png\n",
18
+ "1000956.jpg\n",
19
+ "1000954.jpg\n",
20
+ "1000964.jpg\n",
21
+ "1001950.jpg\n",
22
+ "1000968.jpg\n",
23
+ "1001952.jpg\n",
24
+ "1001958.jpg\n",
25
+ "1002958.jpg\n",
26
+ "1000966.jpg\n",
27
+ "1001960.jpg\n",
28
+ "1002960.jpg\n",
29
+ "1001962.png\n",
30
+ "1001964.jpg\n",
31
+ "1001956.png\n",
32
+ "1001968.jpg\n",
33
+ "1003958.jpg\n",
34
+ "1002950.jpg\n",
35
+ "1002962.jpg\n",
36
+ "1004958.jpg\n",
37
+ "1003960.jpg\n",
38
+ "1003962.png\n",
39
+ "1005958.jpg\n",
40
+ "1004960.jpg\n",
41
+ "1002964.jpg\n",
42
+ "1003964.jpg\n",
43
+ "1005960.jpg\n",
44
+ "1006960.jpg\n",
45
+ "1007960.jpg\n",
46
+ "1002956.png\n",
47
+ "1002952.jpg\n",
48
+ "1002968.jpg\n",
49
+ "1003968.png\n",
50
+ "1003950.jpg\n",
51
+ "1004950.jpg\n",
52
+ "1001966.jpg\n",
53
+ "1004962.jpg\n",
54
+ "1005950.jpg\n",
55
+ "1004968.jpg\n",
56
+ "1006950.png\n",
57
+ "1003956.jpg\n",
58
+ "1006958.jpg\n",
59
+ "1008960.jpg\n",
60
+ "1004956.jpg\n",
61
+ "1007958.jpg\n",
62
+ "1005968.png\n",
63
+ "1001954.png\n",
64
+ "1005956.jpg\n",
65
+ "1006968.jpg\n",
66
+ "1002954.png\n",
67
+ "100960.png\n",
68
+ "1009960.jpg\n",
69
+ "1010960.jpg\n",
70
+ "1011960.jpg\n",
71
+ "1007950.jpg\n",
72
+ "1008950.jpg\n",
73
+ "1006956.jpg\n",
74
+ "1005962.png\n",
75
+ "1008958.jpg\n",
76
+ "1003954.jpg\n",
77
+ "100958.jpg\n",
78
+ "1009958.jpg\n",
79
+ "1012960.jpg\n",
80
+ "1010958.jpg\n",
81
+ "1013960.jpg\n",
82
+ "1002966.jpg\n",
83
+ "1003966.jpg\n",
84
+ "1006962.jpg\n",
85
+ "1004954.png\n",
86
+ "1014960.png\n",
87
+ "1005954.jpg\n",
88
+ "1007962.jpg\n",
89
+ "1009950.jpg\n",
90
+ "1015960.jpg\n",
91
+ "1011958.jpg\n",
92
+ "1012958.jpg\n",
93
+ "1007956.jpg\n",
94
+ "1006954.jpg\n",
95
+ "1008956.png\n",
96
+ "1016960.jpg\n",
97
+ "1007954.jpg\n",
98
+ "1013958.jpg\n",
99
+ "1017960.jpg\n",
100
+ "1003952.jpg\n",
101
+ "1008962.jpg\n",
102
+ "1018960.jpg\n",
103
+ "100956.jpg\n",
104
+ "1009956.jpg\n",
105
+ "1010950.jpg\n",
106
+ "100962.jpg\n",
107
+ "1008954.jpg\n",
108
+ "1009962.jpg\n",
109
+ "1004952.jpg\n",
110
+ "101960.jpg\n",
111
+ "1019960.jpg\n",
112
+ "100954.png\n",
113
+ "1009954.jpg\n",
114
+ "1011950.jpg\n",
115
+ "1020960.png\n",
116
+ "1010954.jpg\n",
117
+ "1005952.jpg\n",
118
+ "1007968.jpg\n",
119
+ "1008968.jpg\n",
120
+ "1012950.jpg\n",
121
+ "1014958.jpg\n",
122
+ "1021960.jpg\n",
123
+ "1022960.jpg\n",
124
+ "1010956.jpg\n",
125
+ "1004966.jpg\n",
126
+ "1006952.jpg\n",
127
+ "100968.jpg\n",
128
+ "1013950.jpg\n",
129
+ "1011954.jpg\n",
130
+ "1014950.jpg\n",
131
+ "1007952.jpg\n",
132
+ "1009968.jpg\n",
133
+ "1023960.png\n",
134
+ "1015950.jpg\n",
135
+ "1012954.jpg\n",
136
+ "1016950.jpg\n",
137
+ "1024960.png\n",
138
+ "1008952.swf\n",
139
+ "1013954.jpg\n",
140
+ "1011956.jpg\n",
141
+ "1014954.jpg\n",
142
+ "1005966.jpg\n",
143
+ "1012956.png\n",
144
+ "1013956.jpg\n",
145
+ "1017950.png\n",
146
+ "1009952.jpg\n",
147
+ "1015954.jpg\n",
148
+ "1014956.png\n",
149
+ "1018950.jpg\n",
150
+ "1010952.jpg\n",
151
+ "1025960.jpg\n",
152
+ "1026960.jpg\n",
153
+ "101950.jpg\n",
154
+ "1010968.jpg\n",
155
+ "1016954.jpg\n",
156
+ "1019950.jpg\n",
157
+ "1011968.png\n",
158
+ "1027960.jpg\n",
159
+ "1011952.jpg\n",
160
+ "1015958.png\n",
161
+ "1015956.jpg\n",
162
+ "1020950.jpg\n",
163
+ "1017954.jpg\n",
164
+ "1028960.jpg\n",
165
+ "1016956.jpg\n",
166
+ "1012952.png\n",
167
+ "1012968.jpg\n",
168
+ "1018954.jpg\n",
169
+ "1021950.png\n",
170
+ "1029960.jpg\n",
171
+ "1016958.jpg\n",
172
+ "1013968.jpg\n",
173
+ "1019954.jpg\n",
174
+ "1020954.png\n",
175
+ "1030960.png\n",
176
+ "1017956.jpg\n",
177
+ "1014968.jpg\n",
178
+ "1018956.jpg\n",
179
+ "1017958.jpg\n",
180
+ "1015968.jpg\n",
181
+ "1006966.jpg\n",
182
+ "101956.jpg\n",
183
+ "1019956.jpg\n",
184
+ "1018958.png\n",
185
+ "1016968.gif\n",
186
+ "1022950.png\n",
187
+ "1017968.jpg\n",
188
+ "1018968.jpg\n",
189
+ "1031960.jpg\n",
190
+ "1032960.jpg\n",
191
+ "1020956.jpg\n",
192
+ "101958.jpg\n",
193
+ "1019958.jpg\n",
194
+ "1004964.jpg\n",
195
+ "1033960.png\n",
196
+ "101968.jpg\n",
197
+ "1023950.jpg\n",
198
+ "1019968.jpg\n",
199
+ "1021954.jpg\n",
200
+ "1034960.jpg\n",
201
+ "1024950.png\n",
202
+ "1020968.jpg\n",
203
+ "1021956.jpg\n",
204
+ "1025950.png\n",
205
+ "1035960.jpg\n",
206
+ "1013952.jpg\n",
207
+ "1007966.jpg\n",
208
+ "1014952.jpg\n",
209
+ "1022954.jpg\n",
210
+ "1026950.jpg\n",
211
+ "1023954.jpg\n",
212
+ "1021968.jpg\n",
213
+ "1020958.jpg\n",
214
+ "1021958.png\n",
215
+ "1024954.jpg\n",
216
+ "1022956.jpg\n",
217
+ "1022968.jpg\n",
218
+ "1022958.jpg\n",
219
+ "1015952.jpg\n",
220
+ "1010962.jpg\n",
221
+ "1036960.jpg\n",
222
+ "1023968.jpg\n",
223
+ "1037960.jpg\n",
224
+ "1023958.jpg\n",
225
+ "1023956.png\n",
226
+ "1027950.jpg\n",
227
+ "1025954.jpg\n",
228
+ "1016952.jpg\n",
229
+ "1005964.jpg\n",
230
+ "1006964.jpg\n",
231
+ "1038960.jpg\n",
232
+ "103960.jpg\n",
233
+ "1039960.jpg\n",
234
+ "1040960.jpg\n",
235
+ "1017952.jpg\n",
236
+ "1011962.png\n",
237
+ "1041960.jpg\n",
238
+ "1042960.jpg\n",
239
+ "1018952.jpg\n",
240
+ "1026954.jpg\n",
241
+ "1028950.gif\n",
242
+ "102950.jpg\n",
243
+ "1029950.jpg\n",
244
+ "1043960.jpg\n",
245
+ "1024956.jpg\n",
246
+ "1030950.swf\n",
247
+ "1007964.jpg\n",
248
+ "1025956.jpg\n",
249
+ "1012962.jpg\n",
250
+ "101952.jpg\n",
251
+ "1044960.jpg\n",
252
+ "1013962.jpg\n",
253
+ "1019952.jpg\n",
254
+ "1024958.jpg\n",
255
+ "1020952.png\n",
256
+ "1026956.png\n",
257
+ "1027954.jpg\n",
258
+ "1025958.jpg\n",
259
+ "1008964.jpg\n",
260
+ "1045960.jpg\n",
261
+ "1028954.jpg\n",
262
+ "1029954.jpg\n",
263
+ "1021952.jpg\n",
264
+ "1046960.png\n",
265
+ "1014962.jpg\n",
266
+ "1030954.jpg\n",
267
+ "1022952.jpg\n",
268
+ "1031954.jpg\n",
269
+ "1027956.jpg\n",
270
+ "1024968.jpg\n",
271
+ "1026958.png\n",
272
+ "1032954.jpg\n",
273
+ "1033954.jpg\n",
274
+ "1015962.jpg\n",
275
+ "1028956.jpg\n",
276
+ "1016962.jpg\n",
277
+ "1034954.jpg\n",
278
+ "1027958.gif\n",
279
+ "100964.jpg\n",
280
+ "1025968.jpg\n",
281
+ "1009964.jpg\n",
282
+ "1035954.png\n",
283
+ "1028958.jpg\n",
284
+ "1010964.jpg\n",
285
+ "1036954.jpg\n",
286
+ "1037954.jpg\n",
287
+ "1017962.jpg\n",
288
+ "102958.jpg\n",
289
+ "1029958.gif\n",
290
+ "1026968.png\n",
291
+ "102956.jpg\n",
292
+ "1029956.jpg\n",
293
+ "1023952.jpg\n",
294
+ "1024952.jpg\n",
295
+ "1018962.jpg\n",
296
+ "101962.jpg\n",
297
+ "1047960.jpg\n",
298
+ "1019962.jpg\n",
299
+ "1011964.jpg\n",
300
+ "1012964.jpg\n",
301
+ "1048960.jpg\n",
302
+ "1013964.jpg\n",
303
+ "1025952.jpg\n",
304
+ "1014964.jpg\n",
305
+ "104960.jpg\n",
306
+ "1038954.jpg\n",
307
+ "103954.jpg\n",
308
+ "1026952.png\n",
309
+ "1039954.jpg\n",
310
+ "1030958.jpg\n",
311
+ "1031958.jpg\n",
312
+ "1030956.png\n",
313
+ "1049960.jpg\n",
314
+ "1050960.jpg\n",
315
+ "1027952.jpg\n",
316
+ "1028952.jpg\n",
317
+ "1040954.jpg\n",
318
+ "1027968.png\n",
319
+ "1020962.jpg\n",
320
+ "1015964.png\n",
321
+ "1032958.jpg\n",
322
+ "1021962.jpg\n",
323
+ "1051960.jpg\n",
324
+ "1022962.png\n",
325
+ "1041954.jpg\n",
326
+ "1031956.jpg\n",
327
+ "1028968.jpg\n",
328
+ "1033958.png\n",
329
+ "1016964.jpg\n",
330
+ "1032956.jpg\n",
331
+ "1034958.jpg\n",
332
+ "1035958.jpg\n",
333
+ "1008966.jpg\n",
334
+ "1033956.png\n",
335
+ "1042954.jpg\n",
336
+ "1029968.jpg\n",
337
+ "1043954.jpg\n",
338
+ "1017964.jpg\n",
339
+ "1036958.jpg\n",
340
+ "1044954.jpg\n",
341
+ "1018964.jpg\n",
342
+ "1030968.jpg\n",
343
+ "1019964.jpg\n",
344
+ "1031968.jpg\n",
345
+ "100966.jpg\n",
346
+ "1031950.png\n",
347
+ "1037958.jpg\n",
348
+ "1032968.png\n",
349
+ "1009966.jpg\n",
350
+ "1020964.png\n",
351
+ "1038958.jpg\n",
352
+ "1039958.jpg\n",
353
+ "1040958.jpg\n",
354
+ "1033968.jpg\n",
355
+ "1052960.jpg\n",
356
+ "1032950.jpg\n",
357
+ "1010966.jpg\n",
358
+ "1041958.jpg\n",
359
+ "1034968.jpg\n",
360
+ "1053960.jpg\n",
361
+ "1042958.jpg\n",
362
+ "1043958.jpg\n",
363
+ "1021964.jpg\n",
364
+ "1035968.jpg\n",
365
+ "1011966.jpg\n",
366
+ "1033950.jpg\n",
367
+ "1044958.jpg\n",
368
+ "1022964.jpg\n",
369
+ "1036968.jpg\n",
370
+ "1012966.jpg\n",
371
+ "1045958.jpg\n",
372
+ "1045954.jpg\n",
373
+ "1034950.jpg\n",
374
+ "1037968.jpg\n",
375
+ "1046954.jpg\n",
376
+ "1023964.jpg\n",
377
+ "1038968.jpg\n",
378
+ "102952.jpg\n",
379
+ "1046958.jpg\n",
380
+ "1047954.jpg\n",
381
+ "1035950.jpg\n",
382
+ "1047958.jpg\n",
383
+ "1034956.jpg\n",
384
+ "1048958.jpg\n",
385
+ "1036950.jpg\n",
386
+ "1024964.png\n",
387
+ "1037950.jpg\n",
388
+ "1038950.jpg\n",
389
+ "1049958.jpg\n",
390
+ "103968.jpg\n",
391
+ "1039950.jpg\n",
392
+ "1023962.jpg\n",
393
+ "1024962.jpg\n",
394
+ "1039968.png\n",
395
+ "1050958.png\n",
396
+ "1035956.jpg\n",
397
+ "1025962.jpg\n",
398
+ "1051958.jpg\n",
399
+ "1040968.jpg\n",
400
+ "1048954.jpg\n",
401
+ "1040950.jpg\n",
402
+ "1041968.jpg\n",
403
+ "1026962.jpg\n",
404
+ "1036956.jpg\n",
405
+ "1041950.jpg\n",
406
+ "1042968.jpg\n",
407
+ "1042950.jpg\n",
408
+ "1027962.jpg\n",
409
+ "1052958.jpg\n",
410
+ "104954.jpg\n",
411
+ "1049954.jpg\n",
412
+ "1029952.jpg\n",
413
+ "1043968.jpg\n",
414
+ "1053958.jpg\n",
415
+ "1054960.jpg\n",
416
+ "1028962.png\n",
417
+ "1050954.jpg\n",
418
+ "1044968.png\n",
419
+ "1051954.png\n",
420
+ "1043950.jpg\n",
421
+ "1055960.jpg\n",
422
+ "1056960.png\n",
423
+ "1054958.jpg\n",
424
+ "1029962.jpg\n",
425
+ "1045968.jpg\n",
426
+ "1030952.png\n",
427
+ "1055958.jpg\n",
428
+ "1030962.png\n",
429
+ "1052954.jpg\n",
430
+ "1046968.png\n",
431
+ "1056958.jpg\n",
432
+ "1044950.jpg\n",
433
+ "1045950.jpg\n",
434
+ "1031962.png\n",
435
+ "1057960.jpg\n",
436
+ "1031952.png\n",
437
+ "1046950.jpg\n",
438
+ "1047968.jpg\n",
439
+ "1037956.jpg\n",
440
+ "1048968.jpg\n",
441
+ "1038956.jpg\n",
442
+ "103956.jpg\n",
443
+ "1039956.jpg\n",
444
+ "1058960.jpg\n",
445
+ "1053954.jpg\n",
446
+ "104968.jpg\n",
447
+ "1049968.jpg\n",
448
+ "1040956.jpg\n",
449
+ "1041956.png\n",
450
+ "105960.jpg\n",
451
+ "1059960.jpg\n",
452
+ "1057958.png\n",
453
+ "1050968.jpg\n",
454
+ "1042956.jpg\n",
455
+ "1060960.jpg\n",
456
+ "1047950.jpg\n",
457
+ "1013966.jpg\n",
458
+ "1061960.jpg\n",
459
+ "1054954.jpg\n",
460
+ "1014966.jpg\n",
461
+ "1048950.jpg\n",
462
+ "1043956.png\n",
463
+ "1062960.png\n",
464
+ "1058958.jpg\n",
465
+ "1032952.jpg\n",
466
+ "1033952.jpg\n",
467
+ "1044956.jpg\n",
468
+ "1055954.jpg\n",
469
+ "1015966.jpg\n",
470
+ "104950.jpg\n",
471
+ "1034952.jpg\n",
472
+ "1045956.jpg\n",
473
+ "105958.jpg\n",
474
+ "1051968.png\n",
475
+ "1056954.png\n",
476
+ "1016966.jpg\n",
477
+ "1059958.jpg\n",
478
+ "1049950.jpg\n",
479
+ "1060958.png\n",
480
+ "1025964.jpg\n",
481
+ "1035952.jpg\n",
482
+ "1046956.jpg\n",
483
+ "1057954.jpg\n",
484
+ "1017966.jpg\n",
485
+ "1063960.jpg\n",
486
+ "1026964.jpg\n",
487
+ "1058954.jpg\n",
488
+ "1018966.jpg\n",
489
+ "1050950.jpg\n",
490
+ "1052968.jpg\n",
491
+ "1064960.jpg\n",
492
+ "105954.jpg\n",
493
+ "1059954.jpg\n",
494
+ "1060954.png\n",
495
+ "101966.jpg\n",
496
+ "1019966.png\n",
497
+ "1027964.jpg\n",
498
+ "1028964.png\n",
499
+ "1036952.jpg\n",
500
+ "1047956.jpg\n",
501
+ "1020966.jpg\n",
502
+ "1051950.jpg\n",
503
+ "1065960.png\n",
504
+ "1037952.jpg\n",
505
+ "1061954.jpg\n",
506
+ "1062954.jpg\n",
507
+ "1061958.jpg\n",
508
+ "1048956.jpg\n",
509
+ "1053968.png\n",
510
+ "102964.jpg\n",
511
+ "1029964.jpg\n",
512
+ "1038952.jpg\n",
513
+ "103952.jpg\n",
514
+ "1063954.jpg\n",
515
+ "1052950.png\n",
516
+ "1054968.jpg\n",
517
+ "1066960.jpg\n",
518
+ "1039952.jpg\n",
519
+ "1040952.jpg\n",
520
+ "1055968.jpg\n",
521
+ "1041952.png\n",
522
+ "1030964.jpg\n",
523
+ "1056968.jpg\n",
524
+ "1067960.jpg\n",
525
+ "1031964.jpg\n",
526
+ "1062958.jpg\n",
527
+ "1057968.jpg\n",
528
+ "1032964.png\n",
529
+ "1042952.jpg\n",
530
+ "1043952.png\n",
531
+ "104956.jpg\n",
532
+ "1063958.jpg\n",
533
+ "1053950.jpg\n",
534
+ "1033964.jpg\n",
535
+ "1049956.jpg\n",
536
+ "1064958.jpg\n",
537
+ "1068960.jpg\n",
538
+ "1034964.jpg\n",
539
+ "1058968.jpg\n",
540
+ "1021966.jpg\n",
541
+ "1050956.jpg\n",
542
+ "1054950.jpg\n",
543
+ "105968.jpg\n",
544
+ "106960.jpg\n",
545
+ "1069960.png\n",
546
+ "1065958.png\n",
547
+ "1051956.jpg\n",
548
+ "1022966.jpg\n",
549
+ "1059968.png\n",
550
+ "1055950.jpg\n",
551
+ "1056950.jpg\n",
552
+ "1052956.jpg\n",
553
+ "1023966.jpg\n",
554
+ "1044952.png\n",
555
+ "1066958.jpg\n",
556
+ "1024966.jpg\n",
557
+ "1070960.jpg\n",
558
+ "1057950.jpg\n",
559
+ "1045952.jpg\n",
560
+ "1032962.jpg\n",
561
+ "1033962.jpg\n",
562
+ "1058950.jpg\n",
563
+ "1046952.png\n",
564
+ "1067958.jpg\n",
565
+ "1025966.jpg\n",
566
+ "1034962.jpg\n",
567
+ "1035962.jpg\n",
568
+ "1026966.jpg\n",
569
+ "1047952.jpg\n",
570
+ "1048952.jpg\n",
571
+ "1036962.jpg\n",
572
+ "1035964.jpg\n",
573
+ "1064954.jpg\n",
574
+ "1037962.jpg\n",
575
+ "1065954.jpg\n",
576
+ "1060968.png\n",
577
+ "1038962.jpg\n",
578
+ "103962.jpg\n",
579
+ "1039962.gif\n",
580
+ "1040962.jpg\n",
581
+ "1027966.jpg\n",
582
+ "1071960.jpg\n",
583
+ "1028966.png\n",
584
+ "1036964.jpg\n",
585
+ "1068958.jpg\n",
586
+ "105950.jpg\n",
587
+ "1041962.jpg\n",
588
+ "1059950.png\n",
589
+ "1029966.png\n",
590
+ "104952.jpg\n",
591
+ "1061968.jpg\n",
592
+ "1053956.jpg\n",
593
+ "1042962.jpg\n",
594
+ "1043962.jpg\n",
595
+ "1060950.jpg\n",
596
+ "1049952.png\n",
597
+ "1054956.jpg\n",
598
+ "1037964.jpg\n",
599
+ "106958.jpg\n",
600
+ "1044962.jpg\n",
601
+ "1062968.jpg\n",
602
+ "1045962.jpg\n",
603
+ "1069958.jpg\n",
604
+ "1038964.jpg\n",
605
+ "103964.jpg\n",
606
+ "1061950.jpg\n",
607
+ "1063968.png\n",
608
+ "1062950.jpg\n",
609
+ "1030966.png\n",
610
+ "1055956.jpg\n",
611
+ "1070958.jpg\n",
612
+ "1071958.jpg\n",
613
+ "1046962.jpg\n",
614
+ "1056956.jpg\n",
615
+ "1050952.jpg\n",
616
+ "1039964.jpg\n",
617
+ "1072958.jpg\n",
618
+ "1057956.png\n",
619
+ "1073958.jpg\n",
620
+ "1040964.jpg\n",
621
+ "1047962.jpg\n",
622
+ "1041964.jpg\n",
623
+ "1042964.jpg\n",
624
+ "1048962.jpg\n",
625
+ "1066954.jpg\n",
626
+ "1067954.jpg\n",
627
+ "1074958.jpg\n",
628
+ "1058956.jpg\n",
629
+ "1043964.jpg\n",
630
+ "1049962.jpg\n",
631
+ "105956.jpg\n",
632
+ "1059956.png\n",
633
+ "1051952.jpg\n",
634
+ "1050962.jpg\n",
635
+ "1051962.png\n",
636
+ "1044964.jpg\n",
637
+ "1072960.jpg\n",
638
+ "1064968.jpg\n",
639
+ "1052962.jpg\n",
640
+ "1045964.jpg\n",
641
+ "1052952.jpg\n",
642
+ "1075958.jpg\n",
643
+ "1046964.jpg\n",
644
+ "1068954.jpg\n",
645
+ "106954.jpg\n",
646
+ "1065968.jpg\n",
647
+ "1076958.jpg\n",
648
+ "1053952.jpg\n",
649
+ "1066968.jpg\n",
650
+ "1031966.jpg\n",
651
+ "1054952.jpg\n",
652
+ "1047964.jpg\n",
653
+ "1067968.jpg\n",
654
+ "1055952.jpg\n",
655
+ "1032966.jpg\n",
656
+ "1033966.jpg\n",
657
+ "1077958.gif\n",
658
+ "1069954.jpg\n",
659
+ "1070954.jpg\n",
660
+ "1073960.jpg\n",
661
+ "1048964.jpg\n",
662
+ "104964.jpg\n",
663
+ "1056952.jpg\n",
664
+ "1078958.jpg\n",
665
+ "1074960.jpg\n",
666
+ "107958.png\n",
667
+ "1071954.jpg\n",
668
+ "1072954.jpg\n",
669
+ "1049964.jpg\n",
670
+ "1050964.jpg\n",
671
+ "1079958.jpg\n",
672
+ "1034966.jpg\n",
673
+ "1080958.jpg\n",
674
+ "1068968.jpg\n",
675
+ "1073954.jpg\n",
676
+ "1057952.jpg\n",
677
+ "1053962.jpg\n",
678
+ "1081958.jpg\n",
679
+ "106968.jpg\n",
680
+ "1074954.jpg\n",
681
+ "1058952.png\n",
682
+ "1069968.jpg\n",
683
+ "1070968.jpg\n",
684
+ "1082958.jpg\n",
685
+ "1054962.jpg\n",
686
+ "1063950.jpg\n",
687
+ "1051964.jpg\n",
688
+ "1071968.png\n",
689
+ "1055962.jpg\n",
690
+ "1072968.jpg\n",
691
+ "1056962.jpg\n",
692
+ "105952.jpg\n",
693
+ "1059952.jpg\n",
694
+ "1075954.jpg\n",
695
+ "1076954.jpg\n",
696
+ "1035966.jpg\n",
697
+ "1083958.png\n",
698
+ "1036966.jpg\n",
699
+ "1037966.jpg\n",
700
+ "1052964.jpg\n",
701
+ "1060952.jpg\n",
702
+ "1077954.jpg\n",
703
+ "1078954.jpg\n",
704
+ "1073968.jpg\n",
705
+ "1053964.jpg\n",
706
+ "1060956.jpg\n",
707
+ "107954.jpg\n",
708
+ "1038966.jpg\n",
709
+ "1057962.png\n",
710
+ "1074968.gif\n",
711
+ "1075968.jpg\n",
712
+ "1061956.jpg\n",
713
+ "103966.jpg\n",
714
+ "1084958.jpg\n",
715
+ "1076968.png\n",
716
+ "1079954.jpg\n",
717
+ "1062956.jpg\n",
718
+ "1039966.png\n",
719
+ "1058962.jpg\n",
720
+ "1085958.jpg\n",
721
+ "1080954.jpg\n",
722
+ "1081954.jpg\n",
723
+ "1040966.jpg\n",
724
+ "1063956.jpg\n",
725
+ "1082954.jpg\n",
726
+ "105962.jpg\n",
727
+ "1061952.jpg\n",
728
+ "1086958.png\n",
729
+ "1059962.jpg\n",
730
+ "1062952.jpg\n",
731
+ "1060962.png\n",
732
+ "1077968.jpg\n",
733
+ "1041966.jpg\n",
734
+ "1063952.jpg\n",
735
+ "1078968.jpg\n",
736
+ "1087958.jpg\n",
737
+ "1061962.jpg\n",
738
+ "1083954.jpg\n",
739
+ "1084954.jpg\n",
740
+ "1042966.jpg\n",
741
+ "1062962.jpg\n",
742
+ "107968.jpg\n",
743
+ "1079968.jpg\n",
744
+ "1088958.png\n",
745
+ "1064950.jpg\n",
746
+ "1085954.jpg\n",
747
+ "1089958.png\n",
748
+ "1063962.jpg\n",
749
+ "1065950.jpg\n",
750
+ "1086954.png\n",
751
+ "1080968.png\n",
752
+ "1081968.jpg\n",
753
+ "1043966.jpg\n",
754
+ "1090958.jpg\n",
755
+ "1064962.jpg\n",
756
+ "1064952.jpg\n",
757
+ "1044966.jpg\n",
758
+ "1082968.jpg\n",
759
+ "1045966.jpg\n",
760
+ "1065952.png\n",
761
+ "1087954.jpg\n",
762
+ "1091958.jpg\n",
763
+ "1092958.jpg\n",
764
+ "1066952.jpg\n",
765
+ "1088954.jpg\n",
766
+ "1093958.jpg\n",
767
+ "1064956.jpg\n",
768
+ "1067952.jpg\n",
769
+ "1066950.jpg\n",
770
+ "1075960.jpg\n",
771
+ "1083968.jpg\n",
772
+ "1094958.jpg\n",
773
+ "1067950.jpg\n",
774
+ "1068950.jpg\n",
775
+ "1068952.jpg\n",
776
+ "1054964.jpg\n",
777
+ "1065956.png\n",
778
+ "106950.jpg\n",
779
+ "1069950.jpg\n",
780
+ "1076960.jpg\n",
781
+ "1055964.jpg\n",
782
+ "1084968.jpg\n",
783
+ "1089954.png\n",
784
+ "10958.jpg\n",
785
+ "1095958.png\n",
786
+ "1070950.jpg\n",
787
+ "1071950.jpg\n",
788
+ "1046966.jpg\n",
789
+ "1000969.jpg\n",
790
+ "1000957.jpg\n",
791
+ "1000955.png\n",
792
+ "1000961.jpg\n",
793
+ "1000959.jpg\n",
794
+ "1001969.jpg\n",
795
+ "1000967.jpg\n",
796
+ "1000951.jpg\n",
797
+ "1000953.jpg\n",
798
+ "1000963.jpg\n",
799
+ "1000965.jpg\n",
800
+ "1001961.jpg\n",
801
+ "1001951.jpg\n",
802
+ "1001957.jpg\n",
803
+ "1002969.jpg\n",
804
+ "1003969.jpg\n",
805
+ "1002957.jpg\n",
806
+ "1001959.jpg\n",
807
+ "1001965.png\n",
808
+ "1003957.jpg\n",
809
+ "1001963.jpg\n",
810
+ "1001967.jpg\n",
811
+ "1002963.jpg\n",
812
+ "1004969.jpg\n",
813
+ "1002951.jpg\n",
814
+ "1002961.jpg\n",
815
+ "1002959.png\n",
816
+ "1001953.png\n",
817
+ "1002953.jpg\n",
818
+ "1004957.jpg\n",
819
+ "1002965.png\n",
820
+ "1005957.jpg\n",
821
+ "1006957.jpg\n",
822
+ "1002967.jpg\n",
823
+ "1003967.png\n",
824
+ "1001955.jpg\n",
825
+ "1003961.jpg\n",
826
+ "1007957.png\n",
827
+ "1002955.jpg\n",
828
+ "1004961.jpg\n",
829
+ "1005961.jpg\n",
830
+ "1003951.jpg\n",
831
+ "1005969.jpg\n",
832
+ "1004967.jpg\n",
833
+ "1003963.jpg\n",
834
+ "1006969.jpg\n",
835
+ "1007969.jpg\n",
836
+ "1003953.jpg\n",
837
+ "1004951.jpg\n",
838
+ "1006961.jpg\n",
839
+ "1004953.jpg\n",
840
+ "1005967.jpg\n",
841
+ "1006967.jpg\n",
842
+ "1007967.jpg\n",
843
+ "1003959.jpg\n",
844
+ "1005953.jpg\n",
845
+ "1004959.jpg\n",
846
+ "1003955.jpg\n",
847
+ "1007961.jpg\n",
848
+ "1006953.jpg\n",
849
+ "1008969.jpg\n",
850
+ "1008957.jpg\n",
851
+ "1004963.png\n",
852
+ "1005951.jpg\n",
853
+ "1005959.jpg\n",
854
+ "1008961.jpg\n",
855
+ "1006951.jpg\n",
856
+ "1004955.png\n",
857
+ "100969.jpg\n",
858
+ "1009969.jpg\n",
859
+ "1005963.jpg\n",
860
+ "1007953.jpg\n",
861
+ "100961.jpg\n",
862
+ "100957.jpg\n",
863
+ "1010969.jpg\n",
864
+ "1009957.jpg\n",
865
+ "1010957.jpg\n",
866
+ "1008967.jpg\n",
867
+ "1006959.jpg\n",
868
+ "1007959.jpg\n",
869
+ "1008953.jpg\n",
870
+ "1007951.jpg\n",
871
+ "1006963.jpg\n",
872
+ "1007963.jpg\n",
873
+ "1009961.jpg\n",
874
+ "1008963.jpg\n",
875
+ "100967.jpg\n",
876
+ "1009967.jpg\n",
877
+ "1011957.jpg\n",
878
+ "1010961.jpg\n",
879
+ "1008959.png\n",
880
+ "1010967.jpg\n",
881
+ "1012957.jpg\n",
882
+ "100963.jpg\n",
883
+ "1009963.jpg\n",
884
+ "100959.jpg\n",
885
+ "1009959.jpg\n",
886
+ "1011961.jpg\n",
887
+ "100953.jpg\n",
888
+ "1011967.jpg\n",
889
+ "1009953.jpg\n",
890
+ "1012961.jpg\n",
891
+ "1008951.jpg\n",
892
+ "1011969.jpg\n",
893
+ "1010953.jpg\n",
894
+ "1010959.jpg\n",
895
+ "1012967.jpg\n",
896
+ "1010963.jpg\n",
897
+ "1013961.jpg\n",
898
+ "1013967.jpg\n",
899
+ "100951.jpg\n",
900
+ "1013957.jpg\n",
901
+ "1014957.jpg\n",
902
+ "1011959.jpg\n",
903
+ "1009951.jpg\n",
904
+ "1012959.jpg\n",
905
+ "1014961.jpg\n",
906
+ "1010951.jpg\n",
907
+ "1003965.jpg\n",
908
+ "1004965.jpg\n",
909
+ "1013959.jpg\n",
910
+ "1012969.jpg\n",
911
+ "1013969.jpg\n",
912
+ "1015957.jpg\n",
913
+ "1016957.jpg\n",
914
+ "1017957.jpg\n"
915
+ ]
916
+ },
917
+ {
918
+ "ename": "KeyboardInterrupt",
919
+ "evalue": "",
920
+ "output_type": "error",
921
+ "traceback": [
922
+ "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
923
+ "\u001b[0;31mKeyboardInterrupt\u001b[0m Traceback (most recent call last)",
924
+ "Cell \u001b[0;32mIn[1], line 17\u001b[0m\n\u001b[1;32m 15\u001b[0m \u001b[38;5;66;03m# Multithreaded extraction using ThreadPool\u001b[39;00m\n\u001b[1;32m 16\u001b[0m pool \u001b[38;5;241m=\u001b[39m ThreadPool(processes\u001b[38;5;241m=\u001b[39m\u001b[38;5;241m10\u001b[39m)\n\u001b[0;32m---> 17\u001b[0m \u001b[43mpool\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mmap\u001b[49m\u001b[43m(\u001b[49m\u001b[43mparallel_extract\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mtar_file_list\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 18\u001b[0m pool\u001b[38;5;241m.\u001b[39mclose()\n\u001b[1;32m 19\u001b[0m pool\u001b[38;5;241m.\u001b[39mjoin()\n",
925
+ "File \u001b[0;32m/usr/lib/python3.8/multiprocessing/pool.py:364\u001b[0m, in \u001b[0;36mPool.map\u001b[0;34m(self, func, iterable, chunksize)\u001b[0m\n\u001b[1;32m 359\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mmap\u001b[39m(\u001b[38;5;28mself\u001b[39m, func, iterable, chunksize\u001b[38;5;241m=\u001b[39m\u001b[38;5;28;01mNone\u001b[39;00m):\n\u001b[1;32m 360\u001b[0m \u001b[38;5;250m \u001b[39m\u001b[38;5;124;03m'''\u001b[39;00m\n\u001b[1;32m 361\u001b[0m \u001b[38;5;124;03m Apply `func` to each element in `iterable`, collecting the results\u001b[39;00m\n\u001b[1;32m 362\u001b[0m \u001b[38;5;124;03m in a list that is returned.\u001b[39;00m\n\u001b[1;32m 363\u001b[0m \u001b[38;5;124;03m '''\u001b[39;00m\n\u001b[0;32m--> 364\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_map_async\u001b[49m\u001b[43m(\u001b[49m\u001b[43mfunc\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43miterable\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mmapstar\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mchunksize\u001b[49m\u001b[43m)\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mget\u001b[49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\n",
926
+ "File \u001b[0;32m/usr/lib/python3.8/multiprocessing/pool.py:765\u001b[0m, in \u001b[0;36mApplyResult.get\u001b[0;34m(self, timeout)\u001b[0m\n\u001b[1;32m 764\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mget\u001b[39m(\u001b[38;5;28mself\u001b[39m, timeout\u001b[38;5;241m=\u001b[39m\u001b[38;5;28;01mNone\u001b[39;00m):\n\u001b[0;32m--> 765\u001b[0m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mwait\u001b[49m\u001b[43m(\u001b[49m\u001b[43mtimeout\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 766\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mready():\n\u001b[1;32m 767\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m \u001b[38;5;167;01mTimeoutError\u001b[39;00m\n",
927
+ "File \u001b[0;32m/usr/lib/python3.8/multiprocessing/pool.py:762\u001b[0m, in \u001b[0;36mApplyResult.wait\u001b[0;34m(self, timeout)\u001b[0m\n\u001b[1;32m 761\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mwait\u001b[39m(\u001b[38;5;28mself\u001b[39m, timeout\u001b[38;5;241m=\u001b[39m\u001b[38;5;28;01mNone\u001b[39;00m):\n\u001b[0;32m--> 762\u001b[0m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_event\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mwait\u001b[49m\u001b[43m(\u001b[49m\u001b[43mtimeout\u001b[49m\u001b[43m)\u001b[49m\n",
928
+ "File \u001b[0;32m/usr/lib/python3.8/threading.py:558\u001b[0m, in \u001b[0;36mEvent.wait\u001b[0;34m(self, timeout)\u001b[0m\n\u001b[1;32m 556\u001b[0m signaled \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_flag\n\u001b[1;32m 557\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m signaled:\n\u001b[0;32m--> 558\u001b[0m signaled \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_cond\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mwait\u001b[49m\u001b[43m(\u001b[49m\u001b[43mtimeout\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 559\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m signaled\n",
929
+ "File \u001b[0;32m/usr/lib/python3.8/threading.py:302\u001b[0m, in \u001b[0;36mCondition.wait\u001b[0;34m(self, timeout)\u001b[0m\n\u001b[1;32m 300\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m: \u001b[38;5;66;03m# restore state no matter what (e.g., KeyboardInterrupt)\u001b[39;00m\n\u001b[1;32m 301\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m timeout \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m:\n\u001b[0;32m--> 302\u001b[0m \u001b[43mwaiter\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43macquire\u001b[49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 303\u001b[0m gotit \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;01mTrue\u001b[39;00m\n\u001b[1;32m 304\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n",
930
+ "\u001b[0;31mKeyboardInterrupt\u001b[0m: "
931
+ ]
932
+ },
933
+ {
934
+ "name": "stdout",
935
+ "output_type": "stream",
936
+ "text": [
937
+ "1011963.jpg\n",
938
+ "1018957.png\n",
939
+ "1014959.jpg\n",
940
+ "1012963.jpg\n",
941
+ "1005965.png\n",
942
+ "1014969.png\n",
943
+ "1019957.jpg\n",
944
+ "1015969.jpg\n",
945
+ "1020957.jpg\n",
946
+ "1021957.jpg\n",
947
+ "1006965.jpg\n",
948
+ "1016969.png\n",
949
+ "1013963.jpg\n",
950
+ "1011951.jpg\n",
951
+ "1022957.jpg\n",
952
+ "1007965.jpg\n",
953
+ "1008965.jpg\n",
954
+ "1014963.jpg\n",
955
+ "1015959.jpg\n",
956
+ "1023957.jpg\n",
957
+ "1015963.jpg\n",
958
+ "1012951.png\n",
959
+ "1015961.jpg\n",
960
+ "1024957.jpg\n",
961
+ "1011953.jpg\n",
962
+ "100965.jpg\n",
963
+ "1016959.jpg\n",
964
+ "1016963.gif\n",
965
+ "1017963.jpg\n",
966
+ "1014967.jpg\n",
967
+ "1025957.jpg\n",
968
+ "1009965.jpg\n",
969
+ "1012953.jpg\n",
970
+ "1018963.jpg\n",
971
+ "1017959.jpg\n",
972
+ "1010965.png\n",
973
+ "1013953.jpg\n",
974
+ "1013951.jpg\n",
975
+ "1014951.jpg\n",
976
+ "1015967.jpg\n",
977
+ "101963.jpg\n",
978
+ "1019963.jpg\n",
979
+ "1018959.png\n",
980
+ "1014953.png\n",
981
+ "1005955.jpg\n",
982
+ "1015951.jpg\n",
983
+ "1017969.jpg\n",
984
+ "1020963.jpg\n",
985
+ "1026957.jpg\n",
986
+ "1015953.png\n",
987
+ "1016951.jpg\n",
988
+ "101959.jpg\n",
989
+ "1019959.jpg\n",
990
+ "1006955.jpg\n",
991
+ "1020959.jpg\n",
992
+ "1016961.jpg\n",
993
+ "1017951.jpg\n",
994
+ "1018969.jpg\n",
995
+ "1007955.jpg\n",
996
+ "1027957.png\n",
997
+ "1021959.jpg\n",
998
+ "1008955.jpg\n",
999
+ "1028957.jpg\n",
1000
+ "1011965.jpg\n",
1001
+ "1019969.jpg\n",
1002
+ "1021963.png\n",
1003
+ "1016967.jpg\n",
1004
+ "1029957.jpg\n",
1005
+ "1018951.jpg\n",
1006
+ "1020969.jpg\n",
1007
+ "101951.jpg\n",
1008
+ "1030957.jpg\n",
1009
+ "1012965.jpg\n",
1010
+ "1019951.jpg\n",
1011
+ "1021969.jpg\n",
1012
+ "100955.jpg\n",
1013
+ "1009955.jpg\n",
1014
+ "1017961.jpg\n",
1015
+ "1031957.jpg\n",
1016
+ "1020951.png\n",
1017
+ "1022969.jpg\n",
1018
+ "1016953.jpg\n",
1019
+ "1013965.jpg\n",
1020
+ "1017967.jpg\n",
1021
+ "1018961.png\n",
1022
+ "1023969.jpg\n",
1023
+ "1024969.jpg\n",
1024
+ "1018967.jpg\n",
1025
+ "1032957.jpg\n",
1026
+ "1010955.jpg\n",
1027
+ "101967.jpg\n",
1028
+ "1022959.jpg\n",
1029
+ "1021951.jpg\n",
1030
+ "1019967.jpg\n",
1031
+ "1025969.jpg\n",
1032
+ "1026969.jpg\n",
1033
+ "1017953.jpg\n",
1034
+ "1022951.jpg\n",
1035
+ "1023959.jpg\n",
1036
+ "101961.jpg\n",
1037
+ "1019961.jpg\n",
1038
+ "1024959.png\n",
1039
+ "1022963.jpg\n",
1040
+ "1025959.jpg\n",
1041
+ "1027969.jpg\n",
1042
+ "1023951.jpg\n",
1043
+ "1020961.jpg\n",
1044
+ "1026959.png\n",
1045
+ "1027959.jpg\n",
1046
+ "1018953.jpg\n",
1047
+ "1021961.jpg\n",
1048
+ "1022961.jpg\n",
1049
+ "1028959.jpg\n",
1050
+ "1023963.jpg\n",
1051
+ "1014965.jpg\n",
1052
+ "1011955.jpg\n",
1053
+ "102959.jpg\n",
1054
+ "1023961.jpg\n",
1055
+ "1024951.jpg\n",
1056
+ "1019953.png\n",
1057
+ "1029959.jpg\n",
1058
+ "1012955.png\n",
1059
+ "1020967.png\n",
1060
+ "1024963.jpg\n",
1061
+ "1015965.jpg\n",
1062
+ "1025951.jpg\n",
1063
+ "1013955.jpg\n",
1064
+ "1025963.jpg\n",
1065
+ "1030959.jpg\n",
1066
+ "1020953.jpg\n",
1067
+ "1016965.jpg\n",
1068
+ "1028969.jpg\n",
1069
+ "1014955.png\n",
1070
+ "1021953.jpg\n",
1071
+ "1029969.jpg\n",
1072
+ "1031959.jpg\n",
1073
+ "1026963.jpg\n",
1074
+ "1026951.jpg\n",
1075
+ "1017965.jpg\n",
1076
+ "1022953.png\n",
1077
+ "1033957.jpg\n",
1078
+ "1027951.jpg\n",
1079
+ "1018965.jpg\n",
1080
+ "1032959.jpg\n",
1081
+ "1034957.jpg\n",
1082
+ "1027963.jpg\n",
1083
+ "1021967.jpg\n",
1084
+ "101965.jpg\n",
1085
+ "1028963.jpg\n",
1086
+ "1028951.jpg\n",
1087
+ "1033959.jpg\n",
1088
+ "1030969.jpg\n",
1089
+ "1019965.jpg\n",
1090
+ "1035957.jpg\n",
1091
+ "102951.jpg\n",
1092
+ "1034959.jpg\n",
1093
+ "1031969.jpg\n",
1094
+ "1020965.png\n",
1095
+ "1015955.gif\n",
1096
+ "1022967.jpg\n",
1097
+ "1029951.jpg\n",
1098
+ "1023953.jpg\n",
1099
+ "1024953.jpg\n",
1100
+ "1029963.jpg\n",
1101
+ "1032969.jpg\n",
1102
+ "1030963.jpg\n",
1103
+ "1023967.jpg\n",
1104
+ "1030951.jpg\n",
1105
+ "1035959.jpg\n",
1106
+ "1016955.jpg\n",
1107
+ "1036959.jpg\n",
1108
+ "1025953.png\n",
1109
+ "1024967.jpg\n",
1110
+ "1033969.jpg\n",
1111
+ "1031951.jpg\n",
1112
+ "1036957.png\n",
1113
+ "1037959.jpg\n",
1114
+ "1026953.jpg\n",
1115
+ "1034969.jpg\n",
1116
+ "1017955.jpg\n",
1117
+ "1025967.jpg\n",
1118
+ "1038959.jpg\n",
1119
+ "103959.jpg\n",
1120
+ "1039959.jpg\n",
1121
+ "1018955.jpg\n",
1122
+ "1035969.jpg\n",
1123
+ "1019955.jpg\n",
1124
+ "1026967.jpg\n",
1125
+ "1032951.jpg\n",
1126
+ "1027953.jpg\n",
1127
+ "1024961.jpg\n",
1128
+ "1020955.png\n",
1129
+ "1021965.png\n",
1130
+ "1027967.jpg\n",
1131
+ "1036969.jpg\n",
1132
+ "1037957.jpg\n",
1133
+ "1031963.jpg\n",
1134
+ "1021955.jpg\n",
1135
+ "1037969.jpg\n",
1136
+ "1022955.jpg\n",
1137
+ "1025961.png\n",
1138
+ "1022965.jpg\n",
1139
+ "1032963.jpg\n",
1140
+ "1040959.png\n",
1141
+ "1023965.jpg\n",
1142
+ "1038969.jpg\n",
1143
+ "1023955.jpg\n",
1144
+ "1028953.jpg\n",
1145
+ "1026961.jpg\n",
1146
+ "1024965.jpg\n",
1147
+ "1033963.jpg\n",
1148
+ "1038957.jpg\n",
1149
+ "103957.jpg\n",
1150
+ "1039957.jpg\n",
1151
+ "1024955.jpg\n",
1152
+ "1040957.jpg\n",
1153
+ "1027961.jpg\n",
1154
+ "1025965.jpg\n",
1155
+ "103969.jpg\n",
1156
+ "1039969.png\n",
1157
+ "1041959.jpg\n",
1158
+ "1042959.jpg\n",
1159
+ "1041957.jpg\n",
1160
+ "1040969.jpg\n",
1161
+ "1026965.jpg\n",
1162
+ "1042957.jpg\n",
1163
+ "1041969.jpg\n",
1164
+ "1025955.jpg\n",
1165
+ "1043959.jpg\n",
1166
+ "1033951.jpg\n",
1167
+ "1034951.png\n",
1168
+ "1043957.jpg\n",
1169
+ "1026955.jpg\n",
1170
+ "1027965.jpg\n",
1171
+ "1028967.jpg\n",
1172
+ "1034963.jpg\n",
1173
+ "1044957.jpg\n",
1174
+ "1044959.png\n",
1175
+ "1027955.jpg\n",
1176
+ "1028965.jpg\n",
1177
+ "1045957.jpg\n",
1178
+ "102967.jpg\n",
1179
+ "1029965.png\n",
1180
+ "1035963.jpg\n",
1181
+ "1045959.jpg\n",
1182
+ "1029967.jpg\n",
1183
+ "1046957.jpg\n",
1184
+ "1046959.png\n",
1185
+ "1035951.jpg\n",
1186
+ "1028955.jpg\n",
1187
+ "1036951.jpg\n",
1188
+ "1030967.png\n",
1189
+ "1031967.jpg\n",
1190
+ "1047957.jpg\n",
1191
+ "1048957.jpg\n",
1192
+ "1030965.jpg\n",
1193
+ "1031965.jpg\n",
1194
+ "1032967.jpg\n",
1195
+ "1049957.jpg\n",
1196
+ "1050957.jpg\n",
1197
+ "1037951.jpg\n",
1198
+ "1029955.gif\n",
1199
+ "1038951.jpg\n",
1200
+ "1032965.jpg\n",
1201
+ "1028961.jpg\n",
1202
+ "1042969.jpg\n",
1203
+ "1043969.jpg\n",
1204
+ "1047959.jpg\n",
1205
+ "1048959.png\n",
1206
+ "1033967.jpg\n",
1207
+ "1044969.jpg\n",
1208
+ "1030955.png\n",
1209
+ "102953.jpg\n",
1210
+ "1036963.jpg\n",
1211
+ "1034967.jpg\n",
1212
+ "1039951.jpg\n",
1213
+ "1029953.gif\n",
1214
+ "1051957.jpg\n",
1215
+ "1029961.jpg\n",
1216
+ "1045969.jpg\n",
1217
+ "1040951.jpg\n",
1218
+ "1030953.jpg\n",
1219
+ "1037963.jpg\n",
1220
+ "1030961.jpg\n",
1221
+ "1038963.jpg\n",
1222
+ "1046969.jpg\n",
1223
+ "1041951.jpg\n",
1224
+ "103963.jpg\n",
1225
+ "1031953.png\n",
1226
+ "1039963.jpg\n",
1227
+ "1033965.png\n",
1228
+ "1047969.gif\n",
1229
+ "1042951.png\n",
1230
+ "1040963.jpg\n",
1231
+ "1035967.jpg\n",
1232
+ "1049959.jpg\n",
1233
+ "1041963.jpg\n",
1234
+ "1052957.jpg\n",
1235
+ "1031955.png\n",
1236
+ "1034965.jpg\n",
1237
+ "1053957.jpg\n",
1238
+ "1042963.jpg\n",
1239
+ "1031961.jpg\n",
1240
+ "1036967.swf\n",
1241
+ "1050959.jpg\n",
1242
+ "1043963.jpg\n",
1243
+ "1035965.jpg\n",
1244
+ "1036965.jpg\n",
1245
+ "1048969.jpg\n",
1246
+ "1043951.jpg\n",
1247
+ "1032961.jpg\n",
1248
+ "1054957.jpg\n",
1249
+ "1051959.jpg\n",
1250
+ "1037965.jpg\n",
1251
+ "1055957.jpg\n",
1252
+ "1044963.jpg\n",
1253
+ "1032953.jpg\n",
1254
+ "1033953.jpg\n",
1255
+ "1044951.png\n",
1256
+ "1056957.jpg\n",
1257
+ "1038965.jpg\n",
1258
+ "1045963.jpg\n",
1259
+ "1032955.jpg\n",
1260
+ "1057957.jpg\n",
1261
+ "1033961.jpg\n",
1262
+ "1045951.jpg\n",
1263
+ "1046963.jpg\n",
1264
+ "1052959.jpg\n",
1265
+ "1037967.jpg\n",
1266
+ "1034953.gif\n",
1267
+ "1034961.jpg\n",
1268
+ "1046951.jpg\n",
1269
+ "1038967.jpg\n",
1270
+ "1035961.png\n",
1271
+ "1053959.jpg\n",
1272
+ "103965.gif\n",
1273
+ "1047951.png\n",
1274
+ "1036961.jpg\n",
1275
+ "1058957.jpg\n",
1276
+ "1037961.jpg\n",
1277
+ "1054959.jpg\n",
1278
+ "1039965.jpg\n",
1279
+ "1040965.jpg\n",
1280
+ "1041965.jpg\n",
1281
+ "1055959.jpg\n",
1282
+ "1038961.jpg\n",
1283
+ "103961.jpg\n",
1284
+ "1042965.jpg\n",
1285
+ "1043965.jpg\n",
1286
+ "1039961.png\n",
1287
+ "1056959.jpg\n",
1288
+ "103967.jpg\n",
1289
+ "1057959.jpg\n",
1290
+ "1047963.jpg\n",
1291
+ "1048963.jpg\n",
1292
+ "104969.jpg\n",
1293
+ "1058959.jpg\n",
1294
+ "1044965.jpg\n",
1295
+ "104963.jpg\n",
1296
+ "1049963.jpg\n",
1297
+ "1050963.jpg\n",
1298
+ "105959.jpg\n",
1299
+ "1059959.jpg\n",
1300
+ "1039967.jpg\n",
1301
+ "1049969.jpg\n",
1302
+ "1051963.png\n",
1303
+ "1033955.jpg\n",
1304
+ "1040967.jpg\n",
1305
+ "1052963.jpg\n",
1306
+ "1040961.jpg\n",
1307
+ "1045965.png\n",
1308
+ "1034955.jpg\n",
1309
+ "1041961.jpg\n",
1310
+ "1042961.jpg\n",
1311
+ "1046965.jpg\n",
1312
+ "1035955.jpg\n",
1313
+ "1053963.jpg\n",
1314
+ "1047965.jpg\n",
1315
+ "1043961.jpg\n",
1316
+ "1048965.jpg\n",
1317
+ "1048951.jpg\n",
1318
+ "1036955.jpg\n",
1319
+ "1041967.jpg\n",
1320
+ "1050969.jpg\n",
1321
+ "1037955.jpg\n",
1322
+ "1060959.jpg\n",
1323
+ "1042967.jpg\n",
1324
+ "104951.jpg\n",
1325
+ "1044961.jpg\n",
1326
+ "1045961.jpg\n",
1327
+ "104965.jpg\n",
1328
+ "1038955.jpg\n",
1329
+ "103955.jpg\n",
1330
+ "1046961.png\n",
1331
+ "1061959.jpg\n",
1332
+ "1062959.jpg\n",
1333
+ "1039955.jpg\n",
1334
+ "1040955.jpg\n",
1335
+ "1043967.jpg\n",
1336
+ "1049951.jpg\n",
1337
+ "105957.jpg\n",
1338
+ "1049965.jpg\n",
1339
+ "1050965.jpg\n",
1340
+ "1050951.png\n",
1341
+ "1051969.jpg\n",
1342
+ "1059957.jpg\n",
1343
+ "1060957.jpg\n",
1344
+ "1052969.jpg\n",
1345
+ "1044967.jpg\n",
1346
+ "1063959.png\n",
1347
+ "1041955.jpg\n",
1348
+ "1061957.jpg\n",
1349
+ "1053969.jpg\n",
1350
+ "1062957.jpg\n",
1351
+ "1045967.jpg\n",
1352
+ "1035953.jpg\n",
1353
+ "1042955.jpg\n",
1354
+ "1047961.jpg\n",
1355
+ "1048961.jpg\n",
1356
+ "1046967.jpg\n",
1357
+ "1043955.jpg\n",
1358
+ "1036953.jpg\n",
1359
+ "104961.jpg\n",
1360
+ "1063957.jpg\n",
1361
+ "1064959.jpg\n",
1362
+ "1051951.png\n",
1363
+ "1054969.jpg\n",
1364
+ "1049961.jpg\n",
1365
+ "1044955.jpg\n",
1366
+ "1065959.png\n",
1367
+ "1051965.jpg\n",
1368
+ "1066959.png\n",
1369
+ "1052951.jpg\n",
1370
+ "1047967.jpg\n",
1371
+ "1054963.jpg\n",
1372
+ "1037953.jpg\n",
1373
+ "1055963.png\n",
1374
+ "1045955.png\n",
1375
+ "1052965.jpg\n",
1376
+ "1067959.jpg\n",
1377
+ "1048967.jpg\n",
1378
+ "1046955.jpg\n",
1379
+ "1053951.gif\n",
1380
+ "1054951.jpg\n",
1381
+ "1055951.jpg\n",
1382
+ "1050961.jpg\n",
1383
+ "1051961.jpg\n",
1384
+ "1055969.jpg\n",
1385
+ "1056969.jpg\n",
1386
+ "1056951.jpg\n",
1387
+ "1052961.jpg\n",
1388
+ "1056963.jpg\n",
1389
+ "1038953.jpg\n",
1390
+ "103953.jpg\n",
1391
+ "1039953.jpg\n",
1392
+ "1057963.jpg\n",
1393
+ "1068959.jpg\n",
1394
+ "1057951.jpg\n",
1395
+ "1058951.jpg\n",
1396
+ "1047955.jpg\n",
1397
+ "1064957.jpg\n",
1398
+ "106959.jpg\n",
1399
+ "1053961.jpg\n",
1400
+ "104967.jpg\n",
1401
+ "1057969.jpg\n",
1402
+ "1069959.png\n",
1403
+ "105951.jpg\n",
1404
+ "1054961.jpg\n",
1405
+ "1049967.jpg\n",
1406
+ "1059951.png\n",
1407
+ "1065957.jpg\n",
1408
+ "1040953.jpg\n",
1409
+ "1041953.jpg\n",
1410
+ "1066957.jpg\n",
1411
+ "1058969.jpg\n",
1412
+ "1058963.jpg\n",
1413
+ "1067957.jpg\n",
1414
+ "1068957.jpg\n",
1415
+ "1055961.jpg\n",
1416
+ "1056961.jpg\n",
1417
+ "1060951.jpg\n",
1418
+ "1042953.jpg\n",
1419
+ "1043953.jpg\n",
1420
+ "1050967.jpg\n",
1421
+ "1057961.jpg\n",
1422
+ "105963.jpg\n",
1423
+ "106957.jpg\n",
1424
+ "1069957.jpg\n",
1425
+ "1061951.jpg\n",
1426
+ "1051967.jpg\n",
1427
+ "1052967.jpg\n",
1428
+ "1058961.jpg\n",
1429
+ "1059963.jpg\n",
1430
+ "1070957.jpg\n",
1431
+ "1053967.jpg\n",
1432
+ "1044953.png\n",
1433
+ "1062951.jpg\n",
1434
+ "105961.jpg\n",
1435
+ "1059961.jpg\n",
1436
+ "105969.jpg\n",
1437
+ "1060963.jpg\n",
1438
+ "1070959.jpg\n",
1439
+ "1048955.jpg\n",
1440
+ "1059969.jpg\n",
1441
+ "1071957.jpg\n",
1442
+ "1054967.jpg\n",
1443
+ "104955.jpg\n",
1444
+ "1049955.jpg\n",
1445
+ "1050955.jpg\n",
1446
+ "1072957.jpg\n",
1447
+ "1061963.jpg\n",
1448
+ "1063951.jpg\n",
1449
+ "1073957.jpg\n",
1450
+ "1055967.jpg\n",
1451
+ "1045953.jpg\n",
1452
+ "1056967.jpg\n",
1453
+ "1060961.jpg\n",
1454
+ "1062963.jpg\n",
1455
+ "1063963.jpg\n",
1456
+ "1074957.jpg\n",
1457
+ "1051955.jpg\n",
1458
+ "1071959.jpg\n",
1459
+ "1072959.jpg\n",
1460
+ "1053965.jpg\n",
1461
+ "1064951.jpg\n",
1462
+ "1057967.png\n",
1463
+ "1061961.jpg\n",
1464
+ "1064963.jpg\n",
1465
+ "1062961.jpg\n",
1466
+ "1046953.jpg\n",
1467
+ "1073959.jpg\n",
1468
+ "1065963.jpg\n",
1469
+ "1066963.jpg\n",
1470
+ "1065951.jpg\n",
1471
+ "1066951.jpg\n",
1472
+ "1052955.jpg\n",
1473
+ "1063961.png\n",
1474
+ "1067963.jpg\n",
1475
+ "1060969.jpg\n",
1476
+ "1064961.jpg\n",
1477
+ "1074959.jpg\n",
1478
+ "1047953.png\n",
1479
+ "1068963.jpg\n",
1480
+ "1058967.jpg\n",
1481
+ "1061969.jpg\n",
1482
+ "105967.jpg\n",
1483
+ "1075959.jpg\n",
1484
+ "1076959.png\n",
1485
+ "1059967.jpg\n",
1486
+ "1075957.jpg\n",
1487
+ "1076957.jpg\n",
1488
+ "1067951.jpg\n",
1489
+ "1062969.jpg\n",
1490
+ "1063969.jpg\n",
1491
+ "1060967.jpg\n",
1492
+ "1068951.jpg\n",
1493
+ "1065961.jpg\n",
1494
+ "1077959.jpg\n",
1495
+ "1064969.jpg\n",
1496
+ "106951.jpg\n",
1497
+ "1069951.jpg\n",
1498
+ "1066961.jpg\n",
1499
+ "1065969.jpg\n",
1500
+ "1078959.jpg\n",
1501
+ "106963.png\n",
1502
+ "1069963.jpg\n",
1503
+ "1066969.png\n",
1504
+ "1077957.gif\n",
1505
+ "1048953.jpg\n",
1506
+ "1078957.jpg\n",
1507
+ "107957.jpg\n",
1508
+ "1070951.jpg\n",
1509
+ "1067961.jpg\n",
1510
+ "107959.png\n",
1511
+ "1079959.jpg\n",
1512
+ "1061967.jpg\n",
1513
+ "1071951.jpg\n",
1514
+ "1080959.png\n",
1515
+ "1079957.jpg\n",
1516
+ "1067969.jpg\n",
1517
+ "1081959.jpg\n",
1518
+ "1082959.png\n",
1519
+ "1080957.jpg\n",
1520
+ "1072951.jpg\n",
1521
+ "1081957.jpg\n",
1522
+ "1073951.jpg\n",
1523
+ "1068961.jpg\n",
1524
+ "104953.gif\n",
1525
+ "1054965.jpg\n",
1526
+ "1055965.png\n",
1527
+ "1083959.jpg\n",
1528
+ "1062967.jpg\n",
1529
+ "1070963.jpg\n",
1530
+ "106961.png\n",
1531
+ "1049953.jpg\n",
1532
+ "1069961.jpg\n",
1533
+ "1050953.jpg\n",
1534
+ "1074951.png\n",
1535
+ "1063967.jpg\n",
1536
+ "1082957.jpg\n",
1537
+ "1084959.jpg\n",
1538
+ "1068969.png\n",
1539
+ "1070961.jpg\n",
1540
+ "1056965.png\n",
1541
+ "1071963.jpg\n",
1542
+ "1085959.jpg\n",
1543
+ "106969.jpg\n",
1544
+ "1083957.jpg\n",
1545
+ "1069969.jpg\n",
1546
+ "1072963.jpg\n",
1547
+ "1086959.png\n",
1548
+ "1070969.jpg\n",
1549
+ "1057965.jpg\n",
1550
+ "1084957.jpg\n",
1551
+ "1073963.jpg\n",
1552
+ "1058965.jpg\n",
1553
+ "1071969.jpg\n",
1554
+ "1072969.jpg\n",
1555
+ "1074963.png\n",
1556
+ "1085957.jpg\n",
1557
+ "1073969.png\n",
1558
+ "1071961.jpg\n",
1559
+ "1086957.png\n",
1560
+ "105965.jpg\n",
1561
+ "1087959.jpg\n",
1562
+ "1072961.jpg\n",
1563
+ "1059965.jpg\n",
1564
+ "1087957.jpg\n",
1565
+ "1074969.jpg\n",
1566
+ "1088959.png\n",
1567
+ "1089959.png\n",
1568
+ "1075969.jpg\n",
1569
+ "1088957.png\n",
1570
+ "1089957.png\n",
1571
+ "1076969.jpg\n",
1572
+ "1073961.jpg\n",
1573
+ "1075951.jpg\n",
1574
+ "1090959.jpg\n",
1575
+ "1090957.jpg\n",
1576
+ "1076951.jpg\n",
1577
+ "1091959.jpg\n",
1578
+ "1091957.jpg\n",
1579
+ "1075963.jpg\n",
1580
+ "1077951.jpg\n",
1581
+ "1074961.jpg\n",
1582
+ "1060965.png\n",
1583
+ "1077969.jpg\n",
1584
+ "1078951.jpg\n",
1585
+ "1061965.jpg\n",
1586
+ "1075961.jpg\n",
1587
+ "1053955.jpg\n",
1588
+ "1092957.jpg\n",
1589
+ "1092959.jpg\n",
1590
+ "1078969.jpg\n",
1591
+ "107951.jpg\n",
1592
+ "1079951.jpg\n",
1593
+ "1062965.jpg\n",
1594
+ "1093959.png\n",
1595
+ "1076961.jpg\n",
1596
+ "1051953.png\n",
1597
+ "1054955.jpg\n",
1598
+ "1093957.jpg\n",
1599
+ "1094957.png\n",
1600
+ "1080951.jpg\n",
1601
+ "1063965.jpg\n",
1602
+ "1094959.jpg\n",
1603
+ "1077961.jpg\n",
1604
+ "1052953.jpg\n",
1605
+ "10957.jpg\n",
1606
+ "107969.jpg\n",
1607
+ "1079969.jpg\n",
1608
+ "1095957.jpg\n",
1609
+ "1080969.jpg\n",
1610
+ "10959.png\n",
1611
+ "1095959.jpg\n",
1612
+ "1053953.jpg\n",
1613
+ "1055955.png\n",
1614
+ "1081969.png\n",
1615
+ "1082969.jpg\n",
1616
+ "1081951.jpg\n",
1617
+ "1096957.jpg\n",
1618
+ "1064965.jpg\n",
1619
+ "1078961.png\n",
1620
+ "1065965.jpg\n",
1621
+ "1066965.jpg\n",
1622
+ "1083969.jpg\n",
1623
+ "1097957.jpg\n",
1624
+ "1098957.jpg\n",
1625
+ "1096959.jpg\n",
1626
+ "107961.png\n",
1627
+ "1064967.jpg\n",
1628
+ "1097959.jpg\n",
1629
+ "1054953.jpg\n",
1630
+ "1065967.jpg\n",
1631
+ "1056955.png\n",
1632
+ "1082951.jpg\n",
1633
+ "1079961.jpg\n",
1634
+ "1067965.jpg\n",
1635
+ "1084969.jpg\n",
1636
+ "1098959.jpg\n",
1637
+ "1080961.jpg\n",
1638
+ "1068965.jpg\n",
1639
+ "1081961.jpg\n",
1640
+ "1082961.jpg\n",
1641
+ "1066967.jpg\n",
1642
+ "1057955.jpg\n",
1643
+ "1085969.jpg\n",
1644
+ "1055953.jpg\n",
1645
+ "1067967.jpg\n",
1646
+ "1086969.jpg\n",
1647
+ "106965.jpg\n",
1648
+ "109959.jpg\n",
1649
+ "1083961.jpg\n",
1650
+ "109957.jpg\n",
1651
+ "1099959.png\n",
1652
+ "1099957.png\n",
1653
+ "1056953.png\n",
1654
+ "1069965.jpg\n",
1655
+ "1058955.jpg\n",
1656
+ "1070965.jpg\n",
1657
+ "1087969.jpg\n",
1658
+ "1068967.jpg\n",
1659
+ "1100959.jpg\n",
1660
+ "1057953.png\n",
1661
+ "1071965.jpg\n",
1662
+ "1101959.jpg\n",
1663
+ "1084961.jpg\n",
1664
+ "106967.jpg\n",
1665
+ "1069967.png\n",
1666
+ "1085961.jpg\n",
1667
+ "105955.jpg\n",
1668
+ "1059955.png\n",
1669
+ "1086961.jpg\n",
1670
+ "1072965.jpg\n",
1671
+ "1087961.jpg\n",
1672
+ "1088969.png\n",
1673
+ "108969.jpg\n",
1674
+ "1089969.png\n",
1675
+ "1070967.png\n",
1676
+ "1073965.jpg\n",
1677
+ "1088961.jpg\n",
1678
+ "1083951.png\n",
1679
+ "1090969.png\n",
1680
+ "1100957.png\n",
1681
+ "1074965.png\n",
1682
+ "1060955.jpg\n",
1683
+ "1061955.jpg\n",
1684
+ "1071967.png\n",
1685
+ "1075965.jpg\n",
1686
+ "1101957.jpg\n",
1687
+ "108961.jpg\n",
1688
+ "1091969.jpg\n",
1689
+ "1084951.jpg\n",
1690
+ "1092969.jpg\n",
1691
+ "1085951.jpg\n",
1692
+ "1062955.jpg\n",
1693
+ "1093969.jpg\n",
1694
+ "1102957.jpg\n",
1695
+ "1102959.jpg\n",
1696
+ "1094969.jpg\n",
1697
+ "1063955.jpg\n",
1698
+ "1095969.jpg\n",
1699
+ "1072967.jpg\n",
1700
+ "10969.jpg\n",
1701
+ "1089961.jpg\n",
1702
+ "1103959.jpg\n",
1703
+ "1086951.png\n",
1704
+ "1096969.jpg\n",
1705
+ "1073967.png\n",
1706
+ "1087951.png\n",
1707
+ "1097969.jpg\n",
1708
+ "1103957.jpg\n",
1709
+ "1090961.jpg\n",
1710
+ "1104959.jpg\n",
1711
+ "1105959.jpg\n",
1712
+ "1058953.jpg\n",
1713
+ "1104957.jpg\n",
1714
+ "1105957.jpg\n",
1715
+ "1076965.jpg\n",
1716
+ "105953.jpg\n",
1717
+ "1091961.jpg\n",
1718
+ "1076963.jpg\n",
1719
+ "1059953.jpg\n",
1720
+ "1106957.jpg\n",
1721
+ "1106959.gif\n",
1722
+ "1107959.png\n",
1723
+ "1074967.jpg\n",
1724
+ "1107957.png\n",
1725
+ "1092961.jpg\n",
1726
+ "1077963.jpg\n",
1727
+ "1093961.jpg\n",
1728
+ "1075967.jpg\n",
1729
+ "1077965.jpg\n",
1730
+ "1078963.jpg\n",
1731
+ "1076967.jpg\n",
1732
+ "1078965.jpg\n",
1733
+ "1088951.jpg\n",
1734
+ "1060953.png\n",
1735
+ "1077967.jpg\n",
1736
+ "1094961.jpg\n",
1737
+ "107963.jpg\n",
1738
+ "1079963.jpg\n",
1739
+ "1095961.jpg\n",
1740
+ "1108959.jpg\n",
1741
+ "1078967.jpg\n",
1742
+ "107967.jpg\n",
1743
+ "1079967.jpg\n",
1744
+ "1064955.jpg\n",
1745
+ "110959.jpg\n",
1746
+ "1089951.jpg\n",
1747
+ "1090951.jpg\n",
1748
+ "107965.jpg\n",
1749
+ "1080963.jpg\n",
1750
+ "1065955.jpg\n",
1751
+ "1109959.swf\n",
1752
+ "1081963.jpg\n",
1753
+ "1061953.jpg\n",
1754
+ "10961.jpg\n",
1755
+ "1098969.jpg\n"
1756
+ ]
1757
+ }
1758
+ ],
1759
+ "source": [
1760
+ "import subprocess\n",
1761
+ "from concurrent.futures import ThreadPoolExecutor\n",
1762
+ "import os\n",
1763
+ "import time\n",
1764
+ "!mkdir -p /train3/1_data\n",
1765
+ "# 定义解压函数,带重试机制\n",
1766
+ "def download_file(output, retries=1):\n",
1767
+ " for attempt in range(retries):\n",
1768
+ " try:\n",
1769
+ " if os.path.exists(f'/root/tmp/{output}'):\n",
1770
+ " command = f'tar -xvf /root/tmp/{output} -C /train3/1_data'\n",
1771
+ " print(f\"解压 {output}\")\n",
1772
+ " subprocess.run(command, shell=True)\n",
1773
+ " break\n",
1774
+ " else:\n",
1775
+ " raise FileNotFoundError(f'文件 {output} 未找到')\n",
1776
+ " except FileNotFoundError as e:\n",
1777
+ " print(e)\n",
1778
+ " if attempt < retries - 1:\n",
1779
+ " print(f\"重试 {output} (尝试 {attempt + 1}/{retries})\")\n",
1780
+ " time.sleep(0) # 等待一段时间后重试\n",
1781
+ " else:\n",
1782
+ " print(f\"文件 {output} 解压失败,重试次数已用完\")\n",
1783
+ "\n",
1784
+ "# 定义文件名\n",
1785
+ "outputs = [f\"data-{i:04d}.tar\" for i in range(0, 1999, 1)]\n",
1786
+ "\n",
1787
+ "# 使用ThreadPoolExecutor并行执行解压\n",
1788
+ "with ThreadPoolExecutor(max_workers=16) as executor:\n",
1789
+ " for output in outputs:\n",
1790
+ " executor.submit(download_file, output)\n"
1791
+ ]
1792
+ }
1793
+ ],
1794
+ "metadata": {
1795
+ "kernelspec": {
1796
+ "display_name": "Python 3 (ipykernel)",
1797
+ "language": "python",
1798
+ "name": "python3"
1799
+ },
1800
+ "language_info": {
1801
+ "codemirror_mode": {
1802
+ "name": "ipython",
1803
+ "version": 3
1804
+ },
1805
+ "file_extension": ".py",
1806
+ "mimetype": "text/x-python",
1807
+ "name": "python",
1808
+ "nbconvert_exporter": "python",
1809
+ "pygments_lexer": "ipython3",
1810
+ "version": "3.8.10"
1811
+ }
1812
+ },
1813
+ "nbformat": 4,
1814
+ "nbformat_minor": 5
1815
+ }