heymenn commited on
Commit
e9690d3
1 Parent(s): 561f923

Update scrape_3gpp.py

Browse files
Files changed (1) hide show
  1. scrape_3gpp.py +2 -2
scrape_3gpp.py CHANGED
@@ -105,9 +105,9 @@ def scrape(url, excel_file, folder_name, status_list, sorted_files, progress=gr.
105
  # Select all zip files
106
  zip_links = [a['href'] for a in soup.find_all('a', href=True) if a['href'].endswith('.zip') ]
107
 
108
- # If the user selected
 
109
  if len(sorted_files) != 0:
110
- sorted_files_tab = []
111
  for link in zip_links:
112
  for file in sorted_files:
113
  if file in link:
 
105
  # Select all zip files
106
  zip_links = [a['href'] for a in soup.find_all('a', href=True) if a['href'].endswith('.zip') ]
107
 
108
+ sorted_files_tab = []
109
+ # Check if the user selected some filters
110
  if len(sorted_files) != 0:
 
111
  for link in zip_links:
112
  for file in sorted_files:
113
  if file in link: