Skip to content

Commit

Permalink
wip: add email remove debug param
Browse files Browse the repository at this point in the history
  • Loading branch information
borsna committed Sep 14, 2023
1 parent e472712 commit 0c9d296
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion daget/daget.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ def show_progress(block_num, block_size, total_size):
print(bcolors.OKGREEN, round(block_num * block_size / total_size *100, 1), "%", bcolors.ENDC, end="\r")

def download_file(url, target):
url = url + "&noLog=true" # for test only, disable logging when dowloading from SND
opener = urllib.request.build_opener()
opener.addheaders = [('User-agent', 'Mozilla/5.0'), ('Accept', '*/*')]
urllib.request.install_opener(opener)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
url='https://github.com/borsna/daget',
license='MIT',
author='Olof Olsson',
author_email='your-email@example.com',
author_email='borsna@gmail.com',
python_requires='>=3.6',
description='Download dataset via DOI or landing page url',
install_requires=[
Expand Down

0 comments on commit 0c9d296

Please sign in to comment.