Skip to content

Commit

Permalink
Update download image function.
Browse files Browse the repository at this point in the history
  • Loading branch information
agibbons27 committed Apr 26, 2024
1 parent d5db3f7 commit f8e03b9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/download-test-images.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import os
import shutil
import sys
import time

from urllib.parse import urlparse
from zipfile import ZipFile
Expand Down Expand Up @@ -67,9 +68,9 @@ def download_dftt_images():
"http://prdownloads.sourceforge.net/dftt/3-kwsrch-ntfs.zip?download",
"http://prdownloads.sourceforge.net/dftt/4-kwsrch-ext3.zip?download",
"http://prdownloads.sourceforge.net/dftt/5-fat-daylight.zip?download",
#"http://prdownloads.sourceforge.net/dftt/6-undel-fat.zip?download",
"http://prdownloads.sourceforge.net/dftt/6-undel-fat.zip?download",
"http://prdownloads.sourceforge.net/dftt/7-undel-ntfs.zip?download",
#"http://prdownloads.sourceforge.net/dftt/8-jpeg-search.zip?download",
"http://prdownloads.sourceforge.net/dftt/8-jpeg-search.zip?download",
"http://prdownloads.sourceforge.net/dftt/9-fat-label.zip?download",
"http://prdownloads.sourceforge.net/dftt/10b-ntfs-autodetect.zip?download",
"http://prdownloads.sourceforge.net/dftt/11-carve-fat.zip?download",
Expand All @@ -87,6 +88,8 @@ def download_dftt_images():
for url in dftt_urls:
download(url)

time.sleep(15)

for filename in os.listdir("."):
_, ext = os.path.splitext(filename)
if ext == ".zip":
Expand Down

0 comments on commit f8e03b9

Please sign in to comment.