Skip to content

Commit

Permalink
added note regarding expiration time of the token in the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
nschmidtg committed Oct 24, 2021
1 parent 846eae5 commit 5ce3510
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
podcasts/*
__MACOSX
podcastmix/*
PodcastMix.zip
OpenUnmix_model/exp/*
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,18 @@ We provide a script to download each of the files quickly, but it requires that
- In the “Select the Scope” box, scroll down, expand “Drive API v3”, and select https://www.googleapis.com/auth/drive.readonly
- Click “Authorize APIs” and then “Exchange authorization code for tokens”. Copy the “Access token”.
- Run the following script using the "Access token" as a parameter:


```
/bin/bash download_podcastmix_synth_set.sh <Access token>
```

---
> **NOTE:**
> The Access Token has an expiration time (1 hour), so if your connection is not fast enough to download all the compressed files within one hour, you will have to refresh the Access Token and re-run the script using the new Access Token. The script will only download the remaining files and not all of them again.
---

## Install
Create a conda environment:

Expand Down

0 comments on commit 5ce3510

Please sign in to comment.