|
|
@@ -60,7 +60,8 @@ $ ./in-ws-predb.ovh.sh | ./parse-rls.fish | search-discogs-api.fish > out.api.js |
|
|
|
|
|
|
|
parse rls name, search local ElasticSearch, write json, filter empty results and convert json to tsv, fallback search with Discogs API, write json |
|
|
|
```sh |
|
|
|
$ echo 'Band_Of_Horses-Things_Are_Great-CD-2022-FATHEAD' | ./parse-rls.fish | ./search-discogs-elastic.fish | tee out.es.json | ./out-fallback.jq | ./search-discogs-api.fish > out.api.json |
|
|
|
$ echo 'Band_Of_Horses-Things_Are_Great-CD-2022-FATHEAD' | ./parse-rls.fish | ./search-discogs-elastic.fish | \ |
|
|
|
tee out.es.json | ./out-fallback.jq | ./search-discogs-api.fish > out.api.json |
|
|
|
$ jq ._search_result_count out.es.json out.api.json |
|
|
|
0 |
|
|
|
1 |
|
|
|