Skip to content

Commit

Permalink
add patch to find files only
Browse files Browse the repository at this point in the history
  • Loading branch information
friedrichknuth committed Feb 3, 2025
1 parent d8ee444 commit 90d2c56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gtsa/dataquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def download_historical_data(
for link in soup.find_all("a"):
url = link.get("href")
if url:
if product_key in url and site in url:
if product_key in url and site in url and 'files' in url:
urls.append(base + url[1:])
urls = sorted(set(urls))
outputs = [
Expand Down

0 comments on commit 90d2c56

Please sign in to comment.