Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
afshinsadeghi committed Mar 26, 2018
1 parent 5080365 commit bfe57eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ This code downloads and extracts and merges all ttl files of the current version

## Please make sure first

1. You at least have > 30 GB of free disk space on your disk
1. Make > 30 GB of free disk space on your disk

2. You have bzip2 installed on your system
2. Install bzip2 on your system

3. Your python has the packages: "mechanize" "subprocess" ,"time"
3. Install these python packages: "requests" "mechanize" "subprocess" ,"time"


## Questions? find me @:
Expand Down
2 changes: 1 addition & 1 deletion dbpediaDown.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

def download_big_file(l):
local_filename = l.text
r = requests.get(str(l), stream=True)
r = requests.get(str(l.base_url)+str(l.url), stream=True)
with open(local_filename, 'wb') as f:
for chunk in r.iter_content(chunk_size=1024):
if chunk: # filter out keep-alive new chunks
Expand Down

0 comments on commit bfe57eb

Please sign in to comment.