Last change
on this file since 34365 was 34365, checked in by davidb, 4 years ago |
New location for the code to page-scrape/download AMC content. Previously in its own 'other projects' mars-music-recommender project on SVN
|
-
Property svn:executable
set to
*
|
File size:
445 bytes
|
Rev | Line | |
---|
[34365] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
| 3 | cygpath -h >/dev/null 2>&1
|
---|
| 4 | if [ $? = "0" ] ; then
|
---|
| 5 | is_cygwin=1
|
---|
| 6 | else
|
---|
| 7 | is_cygwin=0
|
---|
| 8 | fi
|
---|
| 9 |
|
---|
| 10 | if [ ! -d audio ] ; then
|
---|
| 11 | echo "Creating directory 'audio' for downloaded audio files and JSON metadata"
|
---|
| 12 | mkdir audio
|
---|
| 13 | fi
|
---|
| 14 |
|
---|
| 15 |
|
---|
| 16 | if [ $is_cygwin = "1" ] ; then
|
---|
| 17 | java -cp jars\\jsoup-1.8.3.jar\;jars\\json-simple-1.1.1.jar\;bin AMCArtistScrape
|
---|
| 18 | else
|
---|
| 19 | java -cp jars/jsoup-1.8.3.jar:jars/json-simple-1.1.1.jar:bin AMCArtistScrape
|
---|
| 20 | fi
|
---|
| 21 |
|
---|
| 22 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.