Spaces:
Sleeping
Sleeping
Update scrape_3gpp.py
Browse files- scrape_3gpp.py +2 -1
scrape_3gpp.py
CHANGED
@@ -174,7 +174,8 @@ def scrape(url, excel_file, folder_name, status_list, progress=gr.Progress()):
|
|
174 |
for file_url in filenames:
|
175 |
filename = os.path.basename(file_url)
|
176 |
save_path = os.path.join(download_directory, filename)
|
177 |
-
|
|
|
178 |
try:
|
179 |
with requests.get(file_url, stream=True) as r:
|
180 |
r.raise_for_status()
|
|
|
174 |
for file_url in filenames:
|
175 |
filename = os.path.basename(file_url)
|
176 |
save_path = os.path.join(download_directory, filename)
|
177 |
+
progress(pourcentss,desc='Downloading')
|
178 |
+
pourcentss+=0.4/len(df)
|
179 |
try:
|
180 |
with requests.get(file_url, stream=True) as r:
|
181 |
r.raise_for_status()
|