You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
373 B
18 lines
373 B
#!/usr/bin/env bash |
|
|
|
PATH="$PATH:$HOME/src/garbit/lib/facebook-event-scraper/bin" |
|
|
|
if [ "$1" == "" ]; then |
|
echo "This script takes in a path to a JSON file containing an Array."; |
|
exit 0; |
|
fi |
|
|
|
cat $1 \ |
|
| get-hosts-from-event-nodes \ |
|
| flatten-array \ |
|
| get-pages-from-hosts \ |
|
| unique-by-id \ |
|
| remove-profile-picture \ |
|
| remove-pageID \ |
|
| remove-typename |
|
|
|
|