Skip to content

Commit

Permalink
Merge pull request #9 from StefanVukovic99/fix-url
Browse files Browse the repository at this point in the history
fix url file format
  • Loading branch information
MarvNC authored Jun 28, 2024
2 parents 53d1924 + 2b4348e commit d607cf6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
*.ttl
*.bzip2
*.bz2
*.zip

# Created by https://www.toptal.com/developers/gitignore/api/node
Expand Down
4 changes: 2 additions & 2 deletions src/downloadDump.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ if [ $# -ne 2 ]; then
exit 1
fi

URL="https://databus.dbpedia.org/dbpedia/text/short-abstracts/$2/short-abstracts_lang=$1.ttl.bzip2"
ARCHIVE="short-abstracts_lang=$1.ttl.bzip2"
ARCHIVE="short-abstracts_lang=$1.ttl.bz2"
URL="https://databus.dbpedia.org/dbpedia/text/short-abstracts/$2/$ARCHIVE"
FILE="short-abstracts_lang=$1.ttl"

# Download the archive if neither the file nor archive exists
Expand Down

0 comments on commit d607cf6

Please sign in to comment.