Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stopped working #2

Open
Bobpick opened this issue Sep 18, 2020 · 2 comments
Open

Stopped working #2

Bobpick opened this issue Sep 18, 2020 · 2 comments

Comments

@Bobpick
Copy link

Bobpick commented Sep 18, 2020

I was able to get it to work very well earlier today, but now I run into this:

bob@bob:~$ ./instagrab.sh -u instagram -f
jq - commandline JSON processor [version 1.5-1-a5b5cbe]
Usage: /usr/bin/jq [options] [file...]

jq is a tool for processing JSON inputs, applying the
given filter to its JSON text inputs and producing the
filter's results as JSON on standard output.
The simplest filter is ., which is the identity filter,
copying jq's input to its output unmodified (except for
formatting).
For more advanced filters see the jq(1) manpage ("man jq")
and/or https://stedolan.github.io/jq

Some of the options include:
 -c		compact instead of pretty-printed output;
 -n		use `null` as the single input value;
 -e		set the exit status code based on the output;
 -s		read (slurp) all inputs into an array; apply filter to it;
 -r		output raw strings, not JSON texts;
 -R		read raw strings, not JSON texts;
 -C		colorize JSON;
 -M		monochrome (don't colorize JSON);
 -S		sort keys of objects on output;
 --tab	use tabs for indentation;
 --arg a v	set variable $a to value <v>;
 --argjson a v	set variable $a to JSON value <v>;
 --slurpfile a f	set variable $a to an array of JSON texts read from <f>;
See the manpage for more options.

gq and curl are installed.

@KevCui
Copy link
Owner

KevCui commented Sep 19, 2020

jq version 1.5 is a bit too old (5 years ago). Please check out the latest release version 1.6, https://github.com/stedolan/jq/releases/tag/jq-1.6, give it a try.

@KevCui
Copy link
Owner

KevCui commented Sep 19, 2020

Ok, I found the reason why jq 1.5 is not working. I updated the script, it should now support jq 1.5 db7b47b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants