Unable to open Malware Calls Dataset

30 views
Skip to first unread message

Jorick van Bon

unread,
Apr 9, 2024, 10:33:31 PM4/9/24
to NCCU DS4CS
Dear Mr. Hsiao,

I am currently working on the midterm, but I am having some difficulty accessing the contents of the Malware Calls Dataset, as I am unsure how to access it, since it only makes folders for me without any content. Meanwhile, when clicking the GitHub link, the file is not found, which might be the cause. Is there any way to solve this issue?

Thank you in advance,

Kind regards,

Jorick van Bon

Mike Hsiao

unread,
Apr 9, 2024, 11:34:42 PM4/9/24
to NCCU DS4CS
Hi,

The  github file is at
You can manually download it from your browser.
截圖 2024-04-10 11.33.08.png


For some reason, you cannot download it directly from your colab.
That is the reason why I show you some codes in the colab file to simulate the downloading.
I have tested the codes, and it works as it expected.
And you can see the url is different.

# get data from github

import requests


response = requests.get(url)

if response.status_code == 200:
# Open the file for writing
with open('F14S1940_callonly_tfds.zip', 'wb') as f:
# Write the response content to the file
f.write(response.content)
else:
print('Error: Failed to download the file')


HSIAO

jorick...@gmail.com 在 2024年4月10日 星期三上午10:33:31 [UTC+8] 的信中寫道:
Reply all
Reply to author
Forward
0 new messages