aws-samples / aws-samples/amazon-personalize-samples
wget ml-100k.zip is failing using HTTP protocol
- Dominant language
- Jupyter Notebook
- Stars
- 602
- Forks
- 338
- PR merge metrics
- No merged PRs in 30d
Description
In the section titled **Download and Explore the Dataset** , the wget command below is failing.
```
!wget -N http://files.grouplens.org/datasets/movielens/ml-100k.zip
```
The result of executing the cell is:
```
--2022-03-18 23:45:36-- http://files.grouplens.org/datasets/movielens/ml-100k.zip
Resolving files.grouplens.org (files.grouplens.org)... 128.101.65.152
Connecting to files.grouplens.org (files.grouplens.org)|128.101.65.152|:80... failed: No route to host.
unzip: cannot find or open ml-100k.zip, ml-100k.zip.zip or ml-100k.zip.ZIP.
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
in
1 get_ipython().system('wget -N http://files.grouplens.org/datasets/movielens/ml-100k.zip')
2 get_ipython().system('unzip -o ml-100k.zip')
----> 3 data = pd.read_csv('./ml-100k/u.data', sep='\t', names=['USER_ID', 'ITEM_ID', 'RATING', 'TIMESTAMP'])
4 pd.set_option('display.max_rows', 5)
5 data
```
The problem is resolved if I change the protocol to HTTPS for the wget command.
I plan to run through this sample completely. I will create a PR to fix this and any other occurrences as part of my testing, if this is indeed the correct way to fix this. Please let me know.
Contributor guide
Assessment
This issue has not been assessed yet.